Home
last modified time | relevance | path

Searched refs:ibv_pd (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/ofed/libirdma/
H A Dirdma_umain.h77 struct ibv_pd ibv_pd; member
152 struct ibv_pd *irdma_ualloc_pd(struct ibv_context *context);
153 int irdma_ufree_pd(struct ibv_pd *pd);
155 struct ibv_mr *irdma_ureg_mr(struct ibv_pd *pd, void *addr, size_t length,
159 int irdma_urereg_mr(struct verbs_mr *mr, int flags, struct ibv_pd *pd, void *addr,
162 struct ibv_mw *irdma_ualloc_mw(struct ibv_pd *pd, enum ibv_mw_type type);
178 struct ibv_qp *irdma_ucreate_qp(struct ibv_pd *pd,
189 struct ibv_ah *irdma_ucreate_ah(struct ibv_pd *ibpd, struct ibv_ah_attr *attr);
H A Dirdma_umain.c150 struct ibv_pd *ibv_pd; in irdma_init_context() local
183 ibv_pd = irdma_ualloc_pd(&iwvctx->ibv_ctx); in irdma_init_context()
184 if (!ibv_pd) { in irdma_init_context()
189 ibv_pd->context = &iwvctx->ibv_ctx; in irdma_init_context()
190 iwvctx->iwupd = container_of(ibv_pd, struct irdma_upd, ibv_pd); in irdma_init_context()
207 irdma_ufree_pd(&iwvctx->iwupd->ibv_pd); in irdma_cleanup_context()
H A Dirdma_uverbs.c132 struct ibv_pd *
151 return &iwupd->ibv_pd; in irdma_ualloc_pd()
165 irdma_ufree_pd(struct ibv_pd *pd) in irdma_ufree_pd()
170 iwupd = container_of(pd, struct irdma_upd, ibv_pd); in irdma_ufree_pd()
189 irdma_ureg_mr(struct ibv_pd *pd, void *addr, size_t length, in irdma_ureg_mr()
257 irdma_ualloc_mw(struct ibv_pd *pd, enum ibv_mw_type type) in irdma_ualloc_mw()
473 ret = ibv_cmd_reg_mr(&iwvctx->iwupd->ibv_pd, info.cq_base, in ucreate_cq()
481 iwucq->vmr.ibv_mr.pd = &iwvctx->iwupd->ibv_pd; in ucreate_cq()
504 iwucq->vmr_shadow_area.ibv_mr.pd = &iwvctx->iwupd->ibv_pd; in ucreate_cq()
1279 irdma_vmapped_qp(struct irdma_uqp *iwuqp, struct ibv_pd *pd, in irdma_vmapped_qp()
[all …]
/freebsd/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h89 struct ibv_pd ibv_pd; member
136 static inline struct c4iw_pd *to_c4iw_pd(struct ibv_pd *ibpd) in to_c4iw_pd()
179 struct ibv_pd *c4iw_alloc_pd(struct ibv_context *context);
180 int c4iw_free_pd(struct ibv_pd *pd);
182 struct ibv_mr *c4iw_reg_mr(struct ibv_pd *pd, void *addr,
196 struct ibv_srq *c4iw_create_srq(struct ibv_pd *pd,
206 struct ibv_qp *c4iw_create_qp(struct ibv_pd *pd,
221 struct ibv_ah *c4iw_create_ah(struct ibv_pd *pd,
H A Dverbs.c79 struct ibv_pd *c4iw_alloc_pd(struct ibv_context *context) in c4iw_alloc_pd()
89 if (ibv_cmd_alloc_pd(context, &pd->ibv_pd, &cmd, sizeof cmd, in c4iw_alloc_pd()
95 return &pd->ibv_pd; in c4iw_alloc_pd()
98 int c4iw_free_pd(struct ibv_pd *pd) in c4iw_free_pd()
110 static struct ibv_mr *__c4iw_reg_mr(struct ibv_pd *pd, void *addr, in __c4iw_reg_mr()
143 struct ibv_mr *c4iw_reg_mr(struct ibv_pd *pd, void *addr, in c4iw_reg_mr()
286 struct ibv_srq *c4iw_create_srq(struct ibv_pd *pd, in c4iw_create_srq()
309 static struct ibv_qp *create_qp_v0(struct ibv_pd *pd, in create_qp_v0()
416 static struct ibv_qp *create_qp(struct ibv_pd *pd, in create_qp()
571 struct ibv_qp *c4iw_create_qp(struct ibv_pd *pd, in c4iw_create_qp()
[all …]
/freebsd/contrib/ofed/libmlx4/
H A Dmlx4.h167 struct ibv_pd ibv_pd; member
319 static inline struct mlx4_pd *to_mpd(struct ibv_pd *ibpd) in to_mpd()
367 struct ibv_pd *mlx4_alloc_pd(struct ibv_context *context);
368 int mlx4_free_pd(struct ibv_pd *pd);
373 struct ibv_mr *mlx4_reg_mr(struct ibv_pd *pd, void *addr,
375 int mlx4_rereg_mr(struct ibv_mr *mr, int flags, struct ibv_pd *pd,
379 struct ibv_mw *mlx4_alloc_mw(struct ibv_pd *pd, enum ibv_mw_type type);
402 struct ibv_srq *mlx4_create_srq(struct ibv_pd *pd,
415 int mlx4_alloc_srq_buf(struct ibv_pd *pd, struct ibv_srq_attr *attr,
428 struct ibv_qp *mlx4_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr);
[all …]
H A Dverbs.c194 struct ibv_pd *mlx4_alloc_pd(struct ibv_context *context) in mlx4_alloc_pd()
204 if (ibv_cmd_alloc_pd(context, &pd->ibv_pd, &cmd, sizeof cmd, in mlx4_alloc_pd()
212 return &pd->ibv_pd; in mlx4_alloc_pd()
215 int mlx4_free_pd(struct ibv_pd *pd) in mlx4_free_pd()
263 struct ibv_mr *mlx4_reg_mr(struct ibv_pd *pd, void *addr, size_t length, in mlx4_reg_mr()
288 struct ibv_pd *pd, void *addr, in mlx4_rereg_mr()
316 struct ibv_mw *mlx4_alloc_mw(struct ibv_pd *pd, enum ibv_mw_type type) in mlx4_alloc_mw()
646 struct ibv_srq *mlx4_create_srq(struct ibv_pd *pd, in mlx4_create_srq()
932 struct ibv_qp *mlx4_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr) in mlx4_create_qp()
1163 static int mlx4_resolve_grh_to_l2(struct ibv_pd *pd, struct mlx4_ah *ah, in mlx4_resolve_grh_to_l2()
[all …]
H A Dsrq.c125 int mlx4_alloc_srq_buf(struct ibv_pd *pd, struct ibv_srq_attr *attr, in mlx4_alloc_srq_buf()
/freebsd/contrib/ofed/libibverbs/
H A Dverbs.h506 struct ibv_pd { struct
537 struct ibv_pd *pd;
552 struct ibv_pd *pd;
672 struct ibv_pd *pd;
697 struct ibv_pd *pd;
818 struct ibv_pd *pd;
1001 struct ibv_pd *pd;
1023 struct ibv_pd *pd;
1041 struct ibv_pd *pd;
1207 struct ibv_pd *pd;
[all …]
H A Ddriver.h160 int ibv_cmd_alloc_pd(struct ibv_context *context, struct ibv_pd *pd,
163 int ibv_cmd_dealloc_pd(struct ibv_pd *pd);
171 int ibv_cmd_reg_mr(struct ibv_pd *pd, void *addr, size_t length,
178 struct ibv_pd *pd, struct ibv_rereg_mr *cmd,
182 int ibv_cmd_alloc_mw(struct ibv_pd *pd, enum ibv_mw_type type,
210 int ibv_cmd_create_srq(struct ibv_pd *pd,
228 int ibv_cmd_create_qp(struct ibv_pd *pd,
270 int ibv_cmd_create_ah(struct ibv_pd *pd, struct ibv_ah *ah,
H A Dverbs.c67 struct ibv_pd *__ibv_alloc_pd(struct ibv_context *context);
68 int __ibv_dealloc_pd(struct ibv_pd *pd);
83 struct ibv_srq *__ibv_create_srq(struct ibv_pd *pd,
89 struct ibv_qp *__ibv_create_qp(struct ibv_pd *pd,
258 struct ibv_pd *__ibv_alloc_pd(struct ibv_context *context) in __ibv_alloc_pd()
260 struct ibv_pd *pd; in __ibv_alloc_pd()
270 int __ibv_dealloc_pd(struct ibv_pd *pd) in __ibv_dealloc_pd()
276 struct ibv_mr *__ibv_reg_mr(struct ibv_pd *pd, void *addr, in __ibv_reg_mr()
298 struct ibv_pd *pd, void *addr, in __ibv_rereg_mr()
533 struct ibv_srq *__ibv_create_srq(struct ibv_pd *pd, in __ibv_create_srq()
[all …]
H A Dcompat-1_0.c47 struct ibv_pd *real_pd;
170 struct ibv_pd * (*alloc_pd)(struct ibv_context *context);
171 int (*dealloc_pd)(struct ibv_pd *pd);
172 struct ibv_mr * (*reg_mr)(struct ibv_pd *pd, void *addr, size_t length,
185 struct ibv_srq * (*create_srq)(struct ibv_pd *pd,
196 struct ibv_qp * (*create_qp)(struct ibv_pd *pd, struct ibv_qp_init_attr *attr);
209 struct ibv_ah * (*create_ah)(struct ibv_pd *pd, struct ibv_ah_attr *attr);
667 struct ibv_pd *real_pd; in __ibv_alloc_pd_1_0()
H A Dcmd.c283 int ibv_cmd_alloc_pd(struct ibv_context *context, struct ibv_pd *pd, in ibv_cmd_alloc_pd()
300 int ibv_cmd_dealloc_pd(struct ibv_pd *pd) in ibv_cmd_dealloc_pd()
358 int ibv_cmd_reg_mr(struct ibv_pd *pd, void *addr, size_t length, in ibv_cmd_reg_mr()
388 struct ibv_pd *pd, struct ibv_rereg_mr *cmd, in ibv_cmd_rereg_mr()
428 int ibv_cmd_alloc_mw(struct ibv_pd *pd, enum ibv_mw_type type, in ibv_cmd_alloc_mw()
640 int ibv_cmd_create_srq(struct ibv_pd *pd, in ibv_cmd_create_srq()
1100 int ibv_cmd_create_qp(struct ibv_pd *pd, in ibv_cmd_create_qp()
1661 int ibv_cmd_create_ah(struct ibv_pd *pd, struct ibv_ah *ah, in ibv_cmd_create_ah()
/freebsd/contrib/ofed/libmlx5/
H A Dmlx5.h298 struct ibv_pd ibv_pd; member
490 static inline struct mlx5_pd *to_mpd(struct ibv_pd *ibpd) in to_mpd()
581 struct ibv_pd *mlx5_alloc_pd(struct ibv_context *context);
582 int mlx5_free_pd(struct ibv_pd *pd);
584 struct ibv_mr *mlx5_reg_mr(struct ibv_pd *pd, void *addr,
586 int mlx5_rereg_mr(struct ibv_mr *mr, int flags, struct ibv_pd *pd, void *addr,
589 struct ibv_mw *mlx5_alloc_mw(struct ibv_pd *pd, enum ibv_mw_type);
613 struct ibv_srq *mlx5_create_srq(struct ibv_pd *pd,
626 struct ibv_qp *mlx5_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr);
654 struct ibv_ah *mlx5_create_ah(struct ibv_pd *pd, struct ibv_ah_attr *attr);
H A Dverbs.c133 struct ibv_pd *mlx5_alloc_pd(struct ibv_context *context) in mlx5_alloc_pd()
143 if (ibv_cmd_alloc_pd(context, &pd->ibv_pd, &cmd, sizeof cmd, in mlx5_alloc_pd()
151 return &pd->ibv_pd; in mlx5_alloc_pd()
154 int mlx5_free_pd(struct ibv_pd *pd) in mlx5_free_pd()
166 struct ibv_mr *mlx5_reg_mr(struct ibv_pd *pd, void *addr, size_t length, in mlx5_reg_mr()
192 int mlx5_rereg_mr(struct ibv_mr *ibmr, int flags, struct ibv_pd *pd, void *addr, in mlx5_rereg_mr()
219 struct ibv_mw *mlx5_alloc_mw(struct ibv_pd *pd, enum ibv_mw_type type) in mlx5_alloc_mw()
625 struct ibv_srq *mlx5_create_srq(struct ibv_pd *pd, in mlx5_create_srq()
1434 struct ibv_qp *mlx5_create_qp(struct ibv_pd *pd, in mlx5_create_qp()
1659 struct ibv_ah *mlx5_create_ah(struct ibv_pd *pd, struct ibv_ah_attr *attr) in mlx5_create_ah()
/freebsd/contrib/ofed/librdmacm/
H A Drdma_cma.h136 struct ibv_pd *pd;
277 struct ibv_pd *pd, struct ibv_qp_init_attr *qp_init_attr);
385 int rdma_create_qp(struct rdma_cm_id *id, struct ibv_pd *pd,
H A Drdma_verbs.h57 int rdma_create_srq(struct rdma_cm_id *id, struct ibv_pd *pd,
H A Dcma.c80 struct ibv_pd *pd;
1301 int rdma_create_srq(struct rdma_cm_id *id, struct ibv_pd *pd, in rdma_create_srq()
1391 int rdma_create_qp(struct rdma_cm_id *id, struct ibv_pd *pd, in rdma_create_qp()
2311 struct ibv_pd *pd, struct ibv_qp_init_attr *qp_init_attr) in ucma_passive_ep()
2340 struct ibv_pd *pd, struct ibv_qp_init_attr *qp_init_attr) in rdma_create_ep()
/freebsd/contrib/libpcap/
H A Dpcap-rdmasniff.c55 struct ibv_pd * pd;
/freebsd/contrib/ofed/librdmacm/examples/
H A Dmckey.c53 struct ibv_pd *pd;
H A Dcmatose.c51 struct ibv_pd *pd;
H A Dudaddy.c51 struct ibv_pd *pd;
/freebsd/contrib/ofed/libibverbs/examples/
H A Duc_pingpong.c60 struct ibv_pd *pd;
H A Dud_pingpong.c60 struct ibv_pd *pd;
H A Drc_pingpong.c65 struct ibv_pd *pd;

12