diff options
author | Joachim Fenkes <fenkes@de.ibm.com> | 2008-01-25 15:12:39 -0500 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-02-04 23:20:42 -0500 |
commit | 528b03f73247c30750b740dcad16ad1914e56e89 (patch) | |
tree | 414d7724b9f111fc80909975f53f65f675b431c4 /drivers | |
parent | 2b7274c39228d7a8c81a411dc3969763e9069c56 (diff) |
IB/ehca: Update sma_attr also in case of disruptive config change
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_irq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_irq.c b/drivers/infiniband/hw/ehca/ehca_irq.c index 863b34fa9ff9..b5ca94c6b8d9 100644 --- a/drivers/infiniband/hw/ehca/ehca_irq.c +++ b/drivers/infiniband/hw/ehca/ehca_irq.c | |||
@@ -403,6 +403,8 @@ static void parse_ec(struct ehca_shca *shca, u64 eqe) | |||
403 | sport->port_state = IB_PORT_ACTIVE; | 403 | sport->port_state = IB_PORT_ACTIVE; |
404 | dispatch_port_event(shca, port, IB_EVENT_PORT_ACTIVE, | 404 | dispatch_port_event(shca, port, IB_EVENT_PORT_ACTIVE, |
405 | "is active"); | 405 | "is active"); |
406 | ehca_query_sma_attr(shca, port, | ||
407 | &sport->saved_attr); | ||
406 | } else | 408 | } else |
407 | notify_port_conf_change(shca, port); | 409 | notify_port_conf_change(shca, port); |
408 | break; | 410 | break; |