Home
last modified time | relevance | path

Searched refs:ibv_pd (Results 1 – 25 of 30) 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.c162 struct ibv_pd *ibv_pd; in irdma_init_context() local
195 ibv_pd = irdma_ualloc_pd(&iwvctx->ibv_ctx); in irdma_init_context()
196 if (!ibv_pd) { in irdma_init_context()
201 ibv_pd->context = &iwvctx->ibv_ctx; in irdma_init_context()
202 iwvctx->iwupd = container_of(ibv_pd, struct irdma_upd, ibv_pd); in irdma_init_context()
219 irdma_ufree_pd(&iwvctx->iwupd->ibv_pd); in irdma_cleanup_context()
H A Dirdma_uverbs.c132 struct ibv_pd *
144 err = ibv_cmd_alloc_pd(context, &iwupd->ibv_pd, &cmd, sizeof(cmd), in irdma_ualloc_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()
220 irdma_urereg_mr(struct verbs_mr *vmr, int flags, struct ibv_pd *pd, in irdma_urereg_mr()
257 irdma_ualloc_mw(struct ibv_pd *pd, enum ibv_mw_type type) in irdma_ualloc_mw()
482 ret = ibv_cmd_reg_mr(&iwvctx->iwupd->ibv_pd, info.cq_base, in ucreate_cq()
490 iwucq->vmr.ibv_mr.pd = &iwvctx->iwupd->ibv_pd; in ucreate_cq()
[all …]
/freebsd/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h94 struct ibv_pd ibv_pd;
141 static inline struct c4iw_pd *to_c4iw_pd(struct ibv_pd *ibpd) in to_c4iw_cq()
184 struct ibv_pd *c4iw_alloc_pd(struct ibv_context *context);
185 int c4iw_free_pd(struct ibv_pd *pd);
187 struct ibv_mr *c4iw_reg_mr(struct ibv_pd *pd, void *addr,
201 struct ibv_srq *c4iw_create_srq(struct ibv_pd *pd,
211 struct ibv_qp *c4iw_create_qp(struct ibv_pd *pd,
226 struct ibv_ah *c4iw_create_ah(struct ibv_pd *pd,
89 struct ibv_pd ibv_pd; global() member
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;
674 struct ibv_pd *pd;
699 struct ibv_pd *pd;
820 struct ibv_pd *pd;
1003 struct ibv_pd *pd;
1025 struct ibv_pd *pd;
1043 struct ibv_pd *pd;
1209 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);
69 struct ibv_mr *__ibv_reg_mr(struct ibv_pd *pd, void *addr, size_t length,
71 int __ibv_rereg_mr(struct ibv_mr *mr, int flags, struct ibv_pd *pd, void *addr,
83 struct ibv_srq *__ibv_create_srq(struct ibv_pd *pd,
89 struct ibv_qp *__ibv_create_qp(struct ibv_pd *pd,
95 struct ibv_ah *__ibv_create_ah(struct ibv_pd *pd, struct ibv_ah_attr *attr);
266 struct ibv_pd *__ibv_alloc_pd(struct ibv_context *context) in __ibv_alloc_pd()
268 struct ibv_pd *pd; in __ibv_alloc_pd()
278 int __ibv_dealloc_pd(struct ibv_pd *pd) in __ibv_dealloc_pd()
[all …]
H A Dcompat-1_0.c46 struct ibv_pd *real_pd;
169 struct ibv_pd * (*alloc_pd)(struct ibv_context *context);
170 int (*dealloc_pd)(struct ibv_pd *pd);
171 struct ibv_mr * (*reg_mr)(struct ibv_pd *pd, void *addr, size_t length,
184 struct ibv_srq * (*create_srq)(struct ibv_pd *pd,
195 struct ibv_qp * (*create_qp)(struct ibv_pd *pd, struct ibv_qp_init_attr *attr);
208 struct ibv_ah * (*create_ah)(struct ibv_pd *pd, struct ibv_ah_attr *attr);
666 struct ibv_pd *real_pd; in __ibv_alloc_pd_1_0()
H A Dcmd.c282 int ibv_cmd_alloc_pd(struct ibv_context *context, struct ibv_pd *pd, in ibv_cmd_alloc_pd()
299 int ibv_cmd_dealloc_pd(struct ibv_pd *pd) in ibv_cmd_dealloc_pd()
357 int ibv_cmd_reg_mr(struct ibv_pd *pd, void *addr, size_t length, in ibv_cmd_reg_mr()
387 struct ibv_pd *pd, struct ibv_rereg_mr *cmd, in ibv_cmd_rereg_mr()
427 int ibv_cmd_alloc_mw(struct ibv_pd *pd, enum ibv_mw_type type, in ibv_cmd_alloc_mw()
639 int ibv_cmd_create_srq(struct ibv_pd *pd, in ibv_cmd_create_srq()
1099 int ibv_cmd_create_qp(struct ibv_pd *pd, in ibv_cmd_create_qp()
1660 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 *p
[all...]
/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/ofed/libbnxtre/
H A Dmain.h99 struct ibv_pd ibvpd;
349 static inline struct bnxt_re_pd *to_bnxt_re_pd(struct ibv_pd *ibvpd) in to_bnxt_re_pd()
H A Dverbs.c170 struct ibv_pd *bnxt_re_alloc_pd(struct ibv_context *ibvctx) in bnxt_re_alloc_pd()
215 int bnxt_re_free_pd(struct ibv_pd *ibvpd) in bnxt_re_free_pd()
234 struct ibv_mr *bnxt_re_reg_mr(struct ibv_pd *ibvpd, void *sva, size_t len, in bnxt_re_reg_mr()
1551 struct ibv_qp *bnxt_re_create_qp(struct ibv_pd *ibvpd, in bnxt_re_create_qp()
2332 struct ibv_srq *bnxt_re_create_srq(struct ibv_pd *ibvpd, in bnxt_re_create_srq()
2533 struct ibv_ah *bnxt_re_create_ah(struct ibv_pd *ibvpd, struct ibv_ah_attr *attr) in bnxt_re_create_ah()
/freebsd/contrib/libpcap/
H A Dpcap-rdmasniff.c53 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;

12