mirror of
https://github.com/ipxe/ipxe
synced 2025-12-09 10:50:28 +03:00
[infiniband] Poll event queues only for devices that are open
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user