Home
last modified time | relevance | path

Searched refs:rvt_dev_info (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.1.9/include/rdma/
Drdma_vt.h195 struct rvt_dev_info;
237 struct pci_dev * (*get_pci_dev)(struct rvt_dev_info *rdi);
245 void * (*qp_priv_alloc)(struct rvt_dev_info *rdi, struct rvt_qp *qp);
251 int (*qp_priv_init)(struct rvt_dev_info *rdi, struct rvt_qp *qp,
257 void (*qp_priv_free)(struct rvt_dev_info *rdi, struct rvt_qp *qp);
268 int (*get_pmtu_from_attr)(struct rvt_dev_info *rdi, struct rvt_qp *qp,
296 u32 (*mtu_from_qp)(struct rvt_dev_info *rdi, struct rvt_qp *qp,
306 int (*get_guid_be)(struct rvt_dev_info *rdi, struct rvt_ibport *rvp,
312 int (*query_port_state)(struct rvt_dev_info *rdi, u32 port_num,
318 int (*shut_down_port)(struct rvt_dev_info *rdi, u32 port_num);
[all …]
Drdmavt_qp.h698 static inline struct rvt_qp *rvt_lookup_qpn(struct rvt_dev_info *rdi, in rvt_lookup_qpn()
726 struct rvt_dev_info *rdi = ib_to_rvt(ibqp->device); in rvt_mod_retry_timer_ext()
869 struct rvt_dev_info;
902 struct rvt_dev_info *rdi;
968 struct rvt_dev_info *rdi = ib_to_rvt(qp->ibqp.device); in rvt_to_iport()
995 struct rvt_qp_iter *rvt_qp_iter_init(struct rvt_dev_info *rdi,
999 void rvt_qp_iter(struct rvt_dev_info *rdi,
Drdmavt_cq.h54 struct rvt_dev_info *rdi;
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dvt.c48 struct rvt_dev_info *rvt_alloc_device(size_t size, int nports) in rvt_alloc_device()
50 struct rvt_dev_info *rdi; in rvt_alloc_device()
52 rdi = container_of(_ib_alloc_device(size), struct rvt_dev_info, ibdev); in rvt_alloc_device()
70 void rvt_dealloc_device(struct rvt_dev_info *rdi) in rvt_dealloc_device()
81 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_query_device()
94 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_get_numa_node()
122 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_query_port()
154 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_modify_port()
196 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_query_pkey()
220 struct rvt_dev_info *rdi; in rvt_query_gid()
[all …]
Dqp.h11 int rvt_driver_qp_init(struct rvt_dev_info *rdi);
12 void rvt_qp_exit(struct rvt_dev_info *rdi);
26 int rvt_wss_init(struct rvt_dev_info *rdi);
27 void rvt_wss_exit(struct rvt_dev_info *rdi);
Dmmap.h11 void rvt_mmap_init(struct rvt_dev_info *rdi);
14 struct rvt_mmap_info *rvt_create_mmap_info(struct rvt_dev_info *rdi, u32 size,
16 void rvt_update_mmap_info(struct rvt_dev_info *rdi, struct rvt_mmap_info *ip,
Dmmap.c16 void rvt_mmap_init(struct rvt_dev_info *rdi) in rvt_mmap_init()
32 struct rvt_dev_info *rdi = ib_to_rvt(ip->context->device); in rvt_release_mmap_info()
70 struct rvt_dev_info *rdi = ib_to_rvt(context->device); in rvt_mmap()
116 struct rvt_mmap_info *rvt_create_mmap_info(struct rvt_dev_info *rdi, u32 size, in rvt_create_mmap_info()
155 void rvt_update_mmap_info(struct rvt_dev_info *rdi, struct rvt_mmap_info *ip, in rvt_update_mmap_info()
Dmcast.h11 void rvt_driver_mcast_init(struct rvt_dev_info *rdi);
14 int rvt_mcast_tree_empty(struct rvt_dev_info *rdi);
Dmad.h16 int rvt_create_mad_agents(struct rvt_dev_info *rdi);
17 void rvt_free_mad_agents(struct rvt_dev_info *rdi);
Dah.c26 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_check_ah()
62 struct rvt_dev_info *dev = ib_to_rvt(ibah->device); in rvt_create_ah()
94 struct rvt_dev_info *dev = ib_to_rvt(ibah->device); in rvt_destroy_ah()
Dmr.h22 int rvt_driver_mr_init(struct rvt_dev_info *rdi);
23 void rvt_mr_exit(struct rvt_dev_info *rdi);
Dpd.c21 struct rvt_dev_info *dev = ib_to_rvt(ibdev); in rvt_alloc_pd()
58 struct rvt_dev_info *dev = ib_to_rvt(ibpd->device); in rvt_dealloc_pd()
Dmcast.c20 void rvt_driver_mcast_init(struct rvt_dev_info *rdi) in rvt_driver_mcast_init()
151 static int rvt_mcast_add(struct rvt_dev_info *rdi, struct rvt_ibport *ibp, in rvt_mcast_add()
241 struct rvt_dev_info *rdi = ib_to_rvt(ibqp->device); in rvt_attach_mcast()
304 struct rvt_dev_info *rdi = ib_to_rvt(ibqp->device); in rvt_detach_mcast()
392 int rvt_mcast_tree_empty(struct rvt_dev_info *rdi) in rvt_mcast_tree_empty()
Dmr.c22 int rvt_driver_mr_init(struct rvt_dev_info *rdi) in rvt_driver_mr_init()
67 void rvt_mr_exit(struct rvt_dev_info *rdi) in rvt_mr_exit()
97 struct rvt_dev_info *dev = ib_to_rvt(pd->device); in rvt_init_mregion()
141 struct rvt_dev_info *dev = ib_to_rvt(mr->pd->device); in rvt_alloc_lkey()
210 struct rvt_dev_info *dev = ib_to_rvt(mr->pd->device); in rvt_free_lkey()
426 struct rvt_dev_info *rdi = ib_to_rvt(mr->pd->device); in rvt_dereg_clean_qps()
445 struct rvt_dev_info *rdi = ib_to_rvt(mr->pd->device); in rvt_check_refs()
649 struct rvt_dev_info *dev = ib_to_rvt(qp->ibqp.device); in rvt_invalidate_rkey()
729 struct rvt_dev_info *dev = ib_to_rvt(pd->ibpd.device); in rvt_lkey_ok()
829 struct rvt_dev_info *dev = ib_to_rvt(qp->ibqp.device); in rvt_rkey_ok()
[all …]
Dsrq.c20 void rvt_driver_srq_init(struct rvt_dev_info *rdi) in rvt_driver_srq_init()
37 struct rvt_dev_info *dev = ib_to_rvt(ibsrq->device); in rvt_create_srq()
129 struct rvt_dev_info *dev = ib_to_rvt(ibsrq->device); in rvt_modify_srq()
229 struct rvt_dev_info *dev = ib_to_rvt(srq->ibsrq.device); in rvt_modify_srq()
297 struct rvt_dev_info *dev = ib_to_rvt(ibsrq->device); in rvt_destroy_srq()
Dqp.c22 static void rvt_reset_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp,
103 void rvt_wss_exit(struct rvt_dev_info *rdi) in rvt_wss_exit()
122 int rvt_wss_init(struct rvt_dev_info *rdi) in rvt_wss_init()
287 static int init_qpn_table(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt) in init_qpn_table()
357 int rvt_driver_qp_init(struct rvt_dev_info *rdi) in rvt_driver_qp_init()
426 struct rvt_dev_info *rdi = ib_to_rvt(qp->ibqp.device); in rvt_free_qp_cb()
443 static unsigned rvt_free_all_qps(struct rvt_dev_info *rdi) in rvt_free_all_qps()
460 void rvt_qp_exit(struct rvt_dev_info *rdi) in rvt_qp_exit()
492 static int alloc_qpn(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt, in alloc_qpn()
584 struct rvt_dev_info *rdi = ib_to_rvt(qp->ibqp.device); in rvt_clear_mr_refs()
[all …]
Dmad.c60 int rvt_create_mad_agents(struct rvt_dev_info *rdi) in rvt_create_mad_agents()
107 void rvt_free_mad_agents(struct rvt_dev_info *rdi) in rvt_free_mad_agents()
Dsrq.h10 void rvt_driver_srq_init(struct rvt_dev_info *rdi);
Dtrace_rvt.h18 TP_PROTO(struct rvt_dev_info *rdi,
Dcq.c62 struct rvt_dev_info *rdi = cq->rdi; in rvt_cq_enter()
162 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_create_cq()
279 struct rvt_dev_info *rdi = cq->rdi; in rvt_destroy_cq()
344 struct rvt_dev_info *rdi = cq->rdi; in rvt_resize_cq()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dqp.h93 void *qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp);
94 void qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp);
95 unsigned free_all_qps(struct rvt_dev_info *rdi);
97 int get_pmtu_from_attr(struct rvt_dev_info *rdi, struct rvt_qp *qp,
103 u32 mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu);
Dverbs.h236 struct rvt_dev_info rdi; /* Must be first */
267 struct rvt_dev_info *rdi; in to_idev()
269 rdi = container_of(ibdev, struct rvt_dev_info, ibdev); in to_idev()
286 void hfi1_cap_mask_chg(struct rvt_dev_info *rdi, u32 port_num);
Daffinity.h84 int hfi1_comp_vect_mappings_lookup(struct rvt_dev_info *rdi, int comp_vect);
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_verbs.h170 struct rvt_dev_info rdi;
208 struct rvt_dev_info *rdi; in to_idev()
210 rdi = container_of(ibdev, struct rvt_dev_info, ibdev); in to_idev()
242 void qib_cap_mask_chg(struct rvt_dev_info *rdi, u32 port_num);
249 void qib_notify_create_mad_agent(struct rvt_dev_info *rdi, int port_idx);
250 void qib_notify_free_mad_agent(struct rvt_dev_info *rdi, int port_idx);
271 unsigned qib_free_all_qps(struct rvt_dev_info *rdi);
272 void *qib_qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp);
273 void qib_qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp);
275 int qib_alloc_qpn(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt,
Dqib_qp.c127 int qib_alloc_qpn(struct rvt_dev_info *rdi, struct rvt_qpn_table *qpt, in qib_alloc_qpn()
213 unsigned qib_free_all_qps(struct rvt_dev_info *rdi) in qib_free_all_qps()
291 int qib_get_pmtu_from_attr(struct rvt_dev_info *rdi, struct rvt_qp *qp, in qib_get_pmtu_from_attr()
314 u32 qib_mtu_from_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, u32 pmtu) in qib_mtu_from_qp()
319 void *qib_qp_priv_alloc(struct rvt_dev_info *rdi, struct rvt_qp *qp) in qib_qp_priv_alloc()
340 void qib_qp_priv_free(struct rvt_dev_info *rdi, struct rvt_qp *qp) in qib_qp_priv_free()

12