OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b7274c
)
IB/ehca: Update sma_attr also in case of disruptive config change
author
Joachim Fenkes
<fenkes@de.ibm.com>
Fri, 25 Jan 2008 20:12:39 +0000
(21:12 +0100)
committer
Roland Dreier
<rolandd@cisco.com>
Tue, 5 Feb 2008 04:20:42 +0000
(20:20 -0800)
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ehca/ehca_irq.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/ehca/ehca_irq.c
b/drivers/infiniband/hw/ehca/ehca_irq.c
index
863b34f
..
b5ca94c
100644
(file)
--- 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)
sport->port_state = IB_PORT_ACTIVE;
dispatch_port_event(shca, port, IB_EVENT_PORT_ACTIVE,
"is active");
+ ehca_query_sma_attr(shca, port,
+ &sport->saved_attr);
} else
notify_port_conf_change(shca, port);
break;