Lines Matching refs:rdma_info

54 	edev->rdma_info.exp_recovery = false;  in _qede_rdma_dev_add()
55 edev->rdma_info.qedr_dev = qedr_drv->add(edev->cdev, edev->pdev, in _qede_rdma_dev_add()
61 INIT_LIST_HEAD(&edev->rdma_info.rdma_event_list); in qede_rdma_create_wq()
62 edev->rdma_info.rdma_wq = create_singlethread_workqueue("rdma_wq"); in qede_rdma_create_wq()
63 if (!edev->rdma_info.rdma_wq) { in qede_rdma_create_wq()
73 struct list_head *head = &edev->rdma_info.rdma_event_list; in qede_rdma_cleanup_event()
76 flush_workqueue(edev->rdma_info.rdma_wq); in qede_rdma_cleanup_event()
89 destroy_workqueue(edev->rdma_info.rdma_wq); in qede_rdma_destroy_wq()
107 INIT_LIST_HEAD(&edev->rdma_info.entry); in qede_rdma_dev_add()
109 list_add_tail(&edev->rdma_info.entry, &qedr_dev_list); in qede_rdma_dev_add()
118 if (qedr_drv && qedr_drv->remove && edev->rdma_info.qedr_dev) in _qede_rdma_dev_remove()
119 qedr_drv->remove(edev->rdma_info.qedr_dev); in _qede_rdma_dev_remove()
131 if (!edev->rdma_info.exp_recovery) in qede_rdma_dev_remove()
133 edev->rdma_info.qedr_dev = NULL; in qede_rdma_dev_remove()
134 list_del(&edev->rdma_info.entry); in qede_rdma_dev_remove()
137 if (!edev->rdma_info.exp_recovery) { in qede_rdma_dev_remove()
142 edev->rdma_info.exp_recovery = true; in qede_rdma_dev_remove()
148 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in _qede_rdma_dev_open()
149 qedr_drv->notify(edev->rdma_info.qedr_dev, QEDE_UP); in _qede_rdma_dev_open()
164 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in _qede_rdma_dev_close()
165 qedr_drv->notify(edev->rdma_info.qedr_dev, QEDE_DOWN); in _qede_rdma_dev_close()
184 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in qede_rdma_dev_shutdown()
185 qedr_drv->notify(edev->rdma_info.qedr_dev, QEDE_CLOSE); in qede_rdma_dev_shutdown()
201 list_for_each_entry(edev, &qedr_dev_list, rdma_info.entry) { in qede_rdma_register_driver()
224 list_for_each_entry(edev, &qedr_dev_list, rdma_info.entry) { in qede_rdma_unregister_driver()
226 if (edev->rdma_info.qedr_dev && !edev->rdma_info.exp_recovery) in qede_rdma_unregister_driver()
239 if (qedr_drv && edev->rdma_info.qedr_dev && qedr_drv->notify) in qede_rdma_changeaddr()
240 qedr_drv->notify(edev->rdma_info.qedr_dev, QEDE_CHANGE_ADDR); in qede_rdma_changeaddr()
250 list_for_each(list_node, &edev->rdma_info.rdma_event_list) { in qede_rdma_get_free_event_node()
267 &edev->rdma_info.rdma_event_list); in qede_rdma_get_free_event_node()
307 if (edev->rdma_info.exp_recovery) in qede_rdma_add_event()
310 if (!edev->rdma_info.qedr_dev) in qede_rdma_add_event()
321 queue_work(edev->rdma_info.rdma_wq, &event_node->work); in qede_rdma_add_event()