diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-13 17:38:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-13 17:38:31 -0500 |
commit | 122ce878dc189860a380539bde19498bf93443a7 (patch) | |
tree | 8414acd7b686ad4af6b16d0952823f07a12f2522 /drivers/infiniband/core | |
parent | daf9fe2ee9a203c4fc555cfe5c5f3d9f660e743c (diff) | |
parent | 0636b33c5f2fac4e274464ae6867805f080fc433 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
RDMA/nes: Fix CX4 link problem in back-to-back configuration
RDMA/nes: Clear stall bit before destroying NIC QP
RDMA/nes: Set assume_aligned_header bit
RDMA/cxgb3: Wait at least one schedule cycle during device removal
IB/mad: Ignore iWARP devices on device removal
IPoIB: Include return code in trace message for ib_post_send() failures
IPoIB: Fix TX queue lockup with mixed UD/CM traffic
Diffstat (limited to 'drivers/infiniband/core')
-rw-r--r-- | drivers/infiniband/core/mad.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/infiniband/core/mad.c b/drivers/infiniband/core/mad.c index 58463da814d..e351b154853 100644 --- a/drivers/infiniband/core/mad.c +++ b/drivers/infiniband/core/mad.c | |||
@@ -2953,6 +2953,9 @@ static void ib_mad_remove_device(struct ib_device *device) | |||
2953 | { | 2953 | { |
2954 | int i, num_ports, cur_port; | 2954 | int i, num_ports, cur_port; |
2955 | 2955 | ||
2956 | if (rdma_node_get_transport(device->node_type) != RDMA_TRANSPORT_IB) | ||
2957 | return; | ||
2958 | |||
2956 | if (device->node_type == RDMA_NODE_IB_SWITCH) { | 2959 | if (device->node_type == RDMA_NODE_IB_SWITCH) { |
2957 | num_ports = 1; | 2960 | num_ports = 1; |
2958 | cur_port = 0; | 2961 | cur_port = 0; |