mirror of https://github.com/ipxe/ipxe.git
[infiniband] Poll event queues only for devices that are open
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/5/head
parent
8ccaec5adf
commit
774ea3d263
|
@ -861,7 +861,7 @@ void ib_poll_eq ( struct ib_device *ibdev ) {
|
||||||
static void ib_step ( struct process *process __unused ) {
|
static void ib_step ( struct process *process __unused ) {
|
||||||
struct ib_device *ibdev;
|
struct ib_device *ibdev;
|
||||||
|
|
||||||
for_each_ibdev ( ibdev )
|
list_for_each_entry ( ibdev, &open_ib_devices, open_list )
|
||||||
ib_poll_eq ( ibdev );
|
ib_poll_eq ( ibdev );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue