Home
last modified time | relevance | path

Searched refs:ibv_qp (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/ofed/libirdma/
H A Dirdma_umain.h129 struct ibv_qp ibv_qp; member
163 int irdma_ubind_mw(struct ibv_qp *qp, struct ibv_mw *mw,
178 struct ibv_qp *irdma_ucreate_qp(struct ibv_pd *pd,
180 int irdma_uquery_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask,
182 int irdma_umodify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
184 int irdma_udestroy_qp(struct ibv_qp *qp);
185 int irdma_upost_send(struct ibv_qp *ib_qp, struct ibv_send_wr *ib_wr,
187 int irdma_upost_recv(struct ibv_qp *ib_qp, struct ibv_recv_wr *ib_wr,
191 int irdma_uattach_mcast(struct ibv_qp *qp, const union ibv_gid *gid,
193 int irdma_udetach_mcast(struct ibv_qp *qp, const union ibv_gid *gid,
H A Dirdma_uverbs.c288 irdma_ubind_mw(struct ibv_qp *qp, struct ibv_mw *mw, in irdma_ubind_mw()
752 struct ibv_qp *ib_qp; in irdma_process_cqe()
1051 struct ibv_qp *ib_qp; in irdma_wc_read_wc_flags()
1108 struct ibv_qp *ib_qp; in irdma_wc_read_src_qp()
1255 ret = ibv_cmd_destroy_qp(&iwuqp->ibv_qp); in irdma_destroy_vmapped_qp()
1334 iwuqp->ibv_qp.qp_num = resp.qp_id; in irdma_vmapped_qp()
1357 struct ibv_qp *
1462 return &iwuqp->ibv_qp; in irdma_ucreate_qp()
1513 iwuqp = container_of(qp, struct irdma_uqp, ibv_qp); in irdma_umodify_qp()
1602 irdma_udestroy_qp(struct ibv_qp *qp) in irdma_udestroy_qp()
[all …]
/freebsd/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h115 struct ibv_qp ibv_qp; member
146 static inline struct c4iw_qp *to_c4iw_qp(struct ibv_qp *ibqp) in to_c4iw_qp()
206 struct ibv_qp *c4iw_create_qp(struct ibv_pd *pd,
208 int c4iw_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
210 int c4iw_destroy_qp(struct ibv_qp *qp);
211 int c4iw_query_qp(struct ibv_qp *qp,
217 int c4iw_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr,
219 int c4iw_post_receive(struct ibv_qp *ibqp, struct ibv_recv_wr *wr,
224 int c4iw_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid,
226 int c4iw_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid,
H A Dverbs.c309 static struct ibv_qp *create_qp_v0(struct ibv_pd *pd, in create_qp_v0()
324 ret = ibv_cmd_create_qp(pd, &qhp->ibv_qp, attr, &cmd, in create_qp_v0()
395 return &qhp->ibv_qp; in create_qp_v0()
409 (void)ibv_cmd_destroy_qp(&qhp->ibv_qp); in create_qp_v0()
416 static struct ibv_qp *create_qp(struct ibv_pd *pd, in create_qp()
432 ret = ibv_cmd_create_qp(pd, &qhp->ibv_qp, attr, &cmd, in create_qp()
548 return &qhp->ibv_qp; in create_qp()
564 (void)ibv_cmd_destroy_qp(&qhp->ibv_qp); in create_qp()
571 struct ibv_qp *c4iw_create_qp(struct ibv_pd *pd, in c4iw_create_qp()
612 int c4iw_destroy_qp(struct ibv_qp *ibqp) in c4iw_destroy_qp()
[all …]
H A Dqp.c305 ret = ibv_cmd_modify_qp(&qhp->ibv_qp, &attr, mask, &cmd, sizeof cmd); in ring_kernel_db()
309 int c4iw_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, in c4iw_post_send()
417 int c4iw_post_receive(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, in c4iw_post_receive()
492 ret = ibv_cmd_query_qp(&qhp->ibv_qp, &attr, IBV_QP_STATE, &iattr, in update_qp_state()
496 qhp->ibv_qp.state = attr.qp_state; in update_qp_state()
512 rchp = to_c4iw_cq(qhp->ibv_qp.recv_cq); in c4iw_flush_qp()
513 schp = to_c4iw_cq(qhp->ibv_qp.send_cq); in c4iw_flush_qp()
H A Dcq.c99 struct c4iw_cq *chp = to_c4iw_cq(qhp->ibv_qp.send_cq); in c4iw_flush_sq()
/freebsd/contrib/ofed/libibverbs/
H A Ddriver.h97 struct ibv_qp qp;
229 struct ibv_qp *qp, struct ibv_qp_init_attr *attr,
251 int ibv_cmd_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *qp_attr,
255 int ibv_cmd_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
258 int ibv_cmd_modify_qp_ex(struct ibv_qp *qp, struct ibv_qp_attr *attr,
263 int ibv_cmd_destroy_qp(struct ibv_qp *qp);
264 int ibv_cmd_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr,
266 int ibv_cmd_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr,
275 int ibv_cmd_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid);
276 int ibv_cmd_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid);
[all …]
H A Dverbs.h375 struct ibv_qp *qp;
1038 struct ibv_qp { struct
1420 int (*bind_mw)(struct ibv_qp *qp, struct ibv_mw *mw,
1448 int (*destroy_qp)(struct ibv_qp *qp);
1546 struct ibv_flow * (*ibv_create_flow) (struct ibv_qp *qp,
1549 struct ibv_qp *(*open_qp)(struct ibv_context *context,
1551 struct ibv_qp *(*create_qp_ex)(struct ibv_context *context,
2029 struct ibv_qp *ibv_create_qp(struct ibv_pd *pd,
2032 static inline struct ibv_qp *
2102 static inline struct ibv_qp *
[all …]
H A Dverbs.c89 struct ibv_qp *__ibv_create_qp(struct ibv_pd *pd,
91 int __ibv_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask,
93 int __ibv_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, int attr_mask);
94 int __ibv_destroy_qp(struct ibv_qp *qp);
97 int __ibv_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid,
99 int __ibv_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid,
587 struct ibv_qp *__ibv_create_qp(struct ibv_pd *pd, in __ibv_create_qp()
590 struct ibv_qp *qp = pd->context->ops.create_qp(pd, qp_init_attr); in __ibv_create_qp()
610 int __ibv_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, in __ibv_query_qp()
627 int __ibv_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, in __ibv_modify_qp()
[all …]
H A Dcompat-1_0.c133 struct ibv_qp *real_qp;
196 struct ibv_qp * (*create_qp)(struct ibv_pd *pd, struct ibv_qp_init_attr *attr);
197 int (*query_qp)(struct ibv_qp *qp, struct ibv_qp_attr *attr,
200 int (*modify_qp)(struct ibv_qp *qp, struct ibv_qp_attr *attr,
202 int (*destroy_qp)(struct ibv_qp *qp);
211 int (*attach_mcast)(struct ibv_qp *qp, union ibv_gid *gid,
213 int (*detach_mcast)(struct ibv_qp *qp, union ibv_gid *gid,
869 struct ibv_qp *real_qp; in __ibv_create_qp_1_0()
H A Dcmd.c1101 struct ibv_qp *qp, struct ibv_qp_init_attr *attr, in ibv_cmd_create_qp()
1224 int ibv_cmd_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, in ibv_cmd_query_qp()
1313 static void copy_modify_qp_fields(struct ibv_qp *qp, struct ibv_qp_attr *attr, in copy_modify_qp_fields()
1397 int ibv_cmd_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, in ibv_cmd_modify_qp()
1418 int ibv_cmd_modify_qp_ex(struct ibv_qp *qp, struct ibv_qp_attr *attr, in ibv_cmd_modify_qp_ex()
1449 int ibv_cmd_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, in ibv_cmd_post_send()
1539 int ibv_cmd_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, in ibv_cmd_post_recv()
1707 int ibv_cmd_destroy_qp(struct ibv_qp *qp) in ibv_cmd_destroy_qp()
1732 int ibv_cmd_attach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid) in ibv_cmd_attach_mcast()
1748 int ibv_cmd_detach_mcast(struct ibv_qp *qp, const union ibv_gid *gid, uint16_t lid) in ibv_cmd_detach_mcast()
[all …]
H A Ddevice.c395 struct ibv_qp *qp = event->element.qp; in __ibv_ack_async_event()
/freebsd/contrib/ofed/libmlx4/
H A Dmlx4.h335 static inline struct mlx4_qp *to_mqp(struct ibv_qp *ibqp) in to_mqp()
381 int mlx4_bind_mw(struct ibv_qp *qp, struct ibv_mw *mw,
428 struct ibv_qp *mlx4_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr);
429 struct ibv_qp *mlx4_create_qp_ex(struct ibv_context *context,
431 struct ibv_qp *mlx4_open_qp(struct ibv_context *context, struct ibv_qp_open_attr *attr);
432 int mlx4_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
435 int mlx4_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
437 int mlx4_destroy_qp(struct ibv_qp *qp);
440 int mlx4_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr,
442 int mlx4_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr,
H A Dverbs.c351 int mlx4_bind_mw(struct ibv_qp *qp, struct ibv_mw *mw, in mlx4_bind_mw()
792 struct ibv_qp *mlx4_create_qp_ex(struct ibv_context *context, in mlx4_create_qp_ex()
932 struct ibv_qp *mlx4_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr) in mlx4_create_qp()
935 struct ibv_qp *qp; in mlx4_create_qp()
946 struct ibv_qp *mlx4_open_qp(struct ibv_context *context, struct ibv_qp_open_attr *attr) in mlx4_open_qp()
969 int mlx4_query_qp(struct ibv_qp *ibqp, struct ibv_qp_attr *attr, in mlx4_query_qp()
990 int mlx4_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr, in mlx4_modify_qp()
1055 static void mlx4_lock_cqs(struct ibv_qp *qp) in mlx4_lock_cqs()
1076 static void mlx4_unlock_cqs(struct ibv_qp *qp) in mlx4_unlock_cqs()
1098 int mlx4_destroy_qp(struct ibv_qp *ibqp) in mlx4_destroy_qp()
H A Dqp.c213 int mlx4_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, in mlx4_post_send()
512 int mlx4_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, in mlx4_post_recv()
/freebsd/contrib/ofed/libmlx5/
H A Dmlx5.h400 struct ibv_qp *ibv_qp; member
507 static inline struct mlx5_qp *to_mqp(struct ibv_qp *ibqp) in to_mqp()
576 struct ibv_qp *mlx5_create_qp_ex(struct ibv_context *context,
591 int mlx5_bind_mw(struct ibv_qp *qp, struct ibv_mw *mw,
626 struct ibv_qp *mlx5_create_qp(struct ibv_pd *pd, struct ibv_qp_init_attr *attr);
627 int mlx5_query_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
630 int mlx5_modify_qp(struct ibv_qp *qp, struct ibv_qp_attr *attr,
632 int mlx5_destroy_qp(struct ibv_qp *qp);
635 int mlx5_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr,
637 int mlx5_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr,
[all …]
H A Dverbs.c1092 qp_huge_key = qptype2key(qp->ibv_qp->qp_type); in mlx5_alloc_qp_buf()
1150 struct mlx5_context *ctx = to_mctx(qp->ibv_qp->context); in mlx5_free_qp_buf()
1245 static struct ibv_qp *create_qp(struct ibv_context *context, in create_qp()
1254 struct ibv_qp *ibqp; in create_qp()
1271 ibqp = (struct ibv_qp *)&qp->verbs_qp; in create_qp()
1272 qp->ibv_qp = ibqp; in create_qp()
1434 struct ibv_qp *mlx5_create_qp(struct ibv_pd *pd, in mlx5_create_qp()
1437 struct ibv_qp *qp; in mlx5_create_qp()
1451 static void mlx5_lock_cqs(struct ibv_qp *qp) in mlx5_lock_cqs()
1473 static void mlx5_unlock_cqs(struct ibv_qp *qp) in mlx5_unlock_cqs()
[all …]
H A Dqp.c114 if (qp->ibv_qp->qp_type != IBV_QPT_RC) { in mlx5_copy_to_send_wqe()
358 static inline int copy_eth_inline_headers(struct ibv_qp *ibqp, in copy_eth_inline_headers()
569 FILE *fp = to_mctx(qp->ibv_qp->context)->dbg_fp; in set_tso_eth_seg()
612 static inline int _mlx5_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, in _mlx5_post_send()
652 to_mcq(qp->ibv_qp->send_cq)))) { in _mlx5_post_send()
969 int mlx5_post_send(struct ibv_qp *ibqp, struct ibv_send_wr *wr, in mlx5_post_send()
990 int mlx5_bind_mw(struct ibv_qp *qp, struct ibv_mw *mw, in mlx5_bind_mw()
1041 uint32_t qpn = qp->ibv_qp->qp_num; in set_sig_seg()
1134 int mlx5_post_recv(struct ibv_qp *ibqp, struct ibv_recv_wr *wr, in mlx5_post_recv()
1151 to_mcq(qp->ibv_qp->recv_cq)))) { in mlx5_post_recv()
H A Dmlx5dv.h157 struct ibv_qp *in;
/freebsd/contrib/ofed/librdmacm/
H A Drdma_cma.h126 struct ibv_qp *qp;
H A Dcma.c1107 static int ucma_init_conn_qp3(struct cma_id_private *id_priv, struct ibv_qp *qp) in ucma_init_conn_qp3()
1127 static int ucma_init_conn_qp(struct cma_id_private *id_priv, struct ibv_qp *qp) in ucma_init_conn_qp()
1143 static int ucma_init_ud_qp3(struct cma_id_private *id_priv, struct ibv_qp *qp) in ucma_init_ud_qp3()
1174 static int ucma_init_ud_qp(struct cma_id_private *id_priv, struct ibv_qp *qp) in ucma_init_ud_qp()
1331 struct ibv_qp *qp; in rdma_create_qp_ex()
/freebsd/contrib/ofed/libibverbs/examples/
H A Dxsrq_pingpong.c84 struct ibv_qp **recv_qp;
85 struct ibv_qp **send_qp;
H A Duc_pingpong.c63 struct ibv_qp *qp;
H A Dud_pingpong.c63 struct ibv_qp *qp;
/freebsd/contrib/libpcap/
H A Dpcap-rdmasniff.c57 struct ibv_qp * qp;

12