瀏覽代碼

[infiniband] Poll event queues only for devices that are open

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 年之前
父節點
當前提交
774ea3d263
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/net/infiniband.c

+ 1
- 1
src/net/infiniband.c 查看文件

@@ -861,7 +861,7 @@ void ib_poll_eq ( struct ib_device *ibdev ) {
861 861
 static void ib_step ( struct process *process __unused ) {
862 862
 	struct ib_device *ibdev;
863 863
 
864
-	for_each_ibdev ( ibdev )
864
+	list_for_each_entry ( ibdev, &open_ib_devices, open_list )
865 865
 		ib_poll_eq ( ibdev );
866 866
 }
867 867
 

Loading…
取消
儲存