Home
last modified time | relevance | path

Searched refs:qedr_dev (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_rdma.c55 edev->rdma_info.qedr_dev = qedr_drv->add(edev->cdev, edev->pdev, 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()
133 edev->rdma_info.qedr_dev = NULL; 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()
[all …]
Dqede.h162 struct qedr_dev *qedr_dev; member
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dmain.c56 static void qedr_ib_dispatch_event(struct qedr_dev *dev, u8 port_num, in qedr_ib_dispatch_event()
76 struct qedr_dev *qedr = get_qedr_dev(ibdev); in qedr_get_dev_fw_str()
125 struct qedr_dev *dev = in hw_rev_show()
126 rdma_device_to_drv_device(device, struct qedr_dev, ibdev); in hw_rev_show()
135 struct qedr_dev *dev = in hca_type_show()
136 rdma_device_to_drv_device(device, struct qedr_dev, ibdev); in hca_type_show()
168 static int qedr_iw_register_device(struct qedr_dev *dev) in qedr_iw_register_device()
184 static void qedr_roce_register_device(struct qedr_dev *dev) in qedr_roce_register_device()
239 static int qedr_register_device(struct qedr_dev *dev) in qedr_register_device()
294 static int qedr_alloc_mem_sb(struct qedr_dev *dev, in qedr_alloc_mem_sb()
[all …]
Dqedr.h70 struct qedr_dev;
73 struct qedr_dev *dev;
126 struct qedr_dev { struct
230 struct qedr_dev *dev;
360 struct qedr_dev *dev;
382 struct qedr_dev *dev;
472 struct qedr_dev *dev;
499 static inline int qedr_get_dmac(struct qedr_dev *dev, in qedr_get_dmac()
523 struct qedr_dev *dev;
530 struct qedr_dev *dev;
[all …]
Dqedr_roce_cm.h53 struct ib_qp *qedr_create_gsi_qp(struct qedr_dev *dev,
56 void qedr_store_gsi_qp_cq(struct qedr_dev *dev,
58 int qedr_destroy_gsi_qp(struct qedr_dev *dev);
Dqedr_iw_cm.c86 struct qedr_dev *dev = listener->dev; in qedr_iw_mpa_request()
158 struct qedr_dev *dev = ep->dev; in qedr_iw_qp_event()
185 struct qedr_dev *dev = ep->dev; in qedr_iw_disconnect_worker()
226 struct qedr_dev *dev = ep->dev; in qedr_iw_disconnect_event()
247 struct qedr_dev *dev = ep->dev; in qedr_iw_passive_complete()
269 struct qedr_dev *dev = ep->dev; in qedr_iw_mpa_reply()
281 struct qedr_dev *dev = ep->dev; in qedr_iw_event_handler()
356 static u16 qedr_iw_get_vlan_ipv4(struct qedr_dev *dev, u32 *addr) in qedr_iw_get_vlan_ipv4()
401 qedr_addr4_resolve(struct qedr_dev *dev, in qedr_addr4_resolve()
437 qedr_addr6_resolve(struct qedr_dev *dev, in qedr_addr6_resolve()
[all …]
Dqedr_roce_cm.c58 void qedr_store_gsi_qp_cq(struct qedr_dev *dev, struct qedr_qp *qp, in qedr_store_gsi_qp_cq()
73 struct qedr_dev *dev = (struct qedr_dev *)cxt; in qedr_ll2_complete_tx_packet()
99 struct qedr_dev *dev = (struct qedr_dev *)cxt; in qedr_ll2_complete_rx_packet()
132 static void qedr_destroy_gsi_cq(struct qedr_dev *dev, in qedr_destroy_gsi_cq()
153 static inline int qedr_check_gsi_qp_attrs(struct qedr_dev *dev, in qedr_check_gsi_qp_attrs()
180 static int qedr_ll2_post_tx(struct qedr_dev *dev, in qedr_ll2_post_tx()
239 static int qedr_ll2_stop(struct qedr_dev *dev) in qedr_ll2_stop()
262 static int qedr_ll2_start(struct qedr_dev *dev, in qedr_ll2_start()
322 struct ib_qp *qedr_create_gsi_qp(struct qedr_dev *dev, in qedr_create_gsi_qp()
374 int qedr_destroy_gsi_qp(struct qedr_dev *dev) in qedr_destroy_gsi_qp()
[all …]
Dverbs.c81 struct qedr_dev *dev = get_qedr_dev(ibdev); in qedr_iw_query_gid()
94 struct qedr_dev *dev = get_qedr_dev(ibsrq->device); in qedr_query_srq()
108 struct qedr_dev *dev = get_qedr_dev(ibdev); in qedr_query_device()
209 struct qedr_dev *dev; in qedr_query_port()
319 struct qedr_dev *dev = get_qedr_dev(ibdev); in qedr_alloc_ucontext()
389 struct qedr_dev *dev = get_qedr_dev(context->device); in qedr_mmap()
436 struct qedr_dev *dev = get_qedr_dev(ibdev); in qedr_alloc_pd()
478 struct qedr_dev *dev = get_qedr_dev(ibpd->device); in qedr_dealloc_pd()
485 static void qedr_free_pbl(struct qedr_dev *dev, in qedr_free_pbl()
508 static struct qedr_pbl *qedr_alloc_pbl_tbl(struct qedr_dev *dev, in qedr_alloc_pbl_tbl()
[all …]
/Linux-v5.4/include/linux/qed/
Dqede_rdma.h40 struct qedr_dev;
61 struct qedr_dev* (*add)(struct qed_dev *, struct pci_dev *,
64 void (*remove)(struct qedr_dev *);
65 void (*notify)(struct qedr_dev *, enum qede_rdma_event);