summaryrefslogtreecommitdiffstats
path: root/src/net/infiniband.c
diff options
context:
space:
mode:
authorMichael Brown2011-11-15 00:43:24 +0100
committerMichael Brown2011-11-15 04:59:09 +0100
commit774ea3d2630cf7685e81b1ea7836e6251fd4f7e5 (patch)
tree232591e93f2e60d9af05b5b6cc09028a0f0c1532 /src/net/infiniband.c
parent[ipoib] Report packets as broadcast when ambiguous (diff)
downloadipxe-774ea3d2630cf7685e81b1ea7836e6251fd4f7e5.tar.gz
ipxe-774ea3d2630cf7685e81b1ea7836e6251fd4f7e5.tar.xz
ipxe-774ea3d2630cf7685e81b1ea7836e6251fd4f7e5.zip
[infiniband] Poll event queues only for devices that are open
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/infiniband.c')
-rw-r--r--src/net/infiniband.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/infiniband.c b/src/net/infiniband.c
index c88da73e..85084b02 100644
--- a/src/net/infiniband.c
+++ b/src/net/infiniband.c
@@ -861,7 +861,7 @@ void ib_poll_eq ( struct ib_device *ibdev ) {
static void ib_step ( struct process *process __unused ) {
struct ib_device *ibdev;
- for_each_ibdev ( ibdev )
+ list_for_each_entry ( ibdev, &open_ib_devices, open_list )
ib_poll_eq ( ibdev );
}