Home
last modified time | relevance | path

Searched refs:ib_qp (Results 1 – 25 of 116) sorted by relevance

12345

/kernel/linux/linux-5.10/include/rdma/
Drw.h45 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num,
48 void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num,
52 int rdma_rw_ctx_signature_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
57 void rdma_rw_ctx_destroy_signature(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
62 struct ib_send_wr *rdma_rw_ctx_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
64 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num,
70 int rdma_rw_init_mrs(struct ib_qp *qp, struct ib_qp_init_attr *attr);
71 void rdma_rw_cleanup_mrs(struct ib_qp *qp);
Dmr_pool.h10 struct ib_mr *ib_mr_pool_get(struct ib_qp *qp, struct list_head *list);
11 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr);
13 int ib_mr_pool_init(struct ib_qp *qp, struct list_head *list, int nr,
15 void ib_mr_pool_destroy(struct ib_qp *qp, struct list_head *list);
Drdma_counter.h16 struct ib_qp;
50 int rdma_counter_bind_qp_auto(struct ib_qp *qp, u8 port);
51 int rdma_counter_unbind_qp(struct ib_qp *qp, bool force);
Dib_verbs.h735 struct ib_qp *qp;
997 struct ib_qp *qp;
1720 struct ib_qp *qp;
1740 struct ib_qp { struct
1756 struct ib_qp *real_qp; argument
2070 struct ib_qp *qp;
2292 int (*post_send)(struct ib_qp *qp, const struct ib_send_wr *send_wr,
2294 int (*post_recv)(struct ib_qp *qp, const struct ib_recv_wr *recv_wr,
2296 void (*drain_rq)(struct ib_qp *qp);
2297 void (*drain_sq)(struct ib_qp *qp);
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dqp.h55 struct ib_qp *rvt_create_qp(struct ib_pd *ibpd,
58 int rvt_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
60 int rvt_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata);
61 int rvt_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
63 int rvt_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
65 int rvt_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
Dmcast.h54 int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
55 int rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dwr.h44 int mlx5_ib_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
46 int mlx5_ib_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
49 static inline int mlx5_ib_post_send_nodrain(struct ib_qp *ibqp, in mlx5_ib_post_send_nodrain()
56 static inline int mlx5_ib_post_send_drain(struct ib_qp *ibqp, in mlx5_ib_post_send_drain()
63 static inline int mlx5_ib_post_recv_nodrain(struct ib_qp *ibqp, in mlx5_ib_post_recv_nodrain()
70 static inline int mlx5_ib_post_recv_drain(struct ib_qp *ibqp, in mlx5_ib_post_recv_drain()
Dgsi.c221 static struct ib_qp *create_gsi_ud_qp(struct mlx5_ib_gsi_qp *gsi) in create_gsi_ud_qp()
241 static int modify_to_rts(struct mlx5_ib_gsi_qp *gsi, struct ib_qp *qp, in modify_to_rts()
287 struct ib_qp *qp; in setup_qp()
353 int mlx5_ib_gsi_modify_qp(struct ib_qp *qp, struct ib_qp_attr *attr, in mlx5_ib_gsi_modify_qp()
374 int mlx5_ib_gsi_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr, in mlx5_ib_gsi_query_qp()
440 static struct ib_qp *get_tx_qp(struct mlx5_ib_gsi_qp *gsi, struct ib_ud_wr *wr) in get_tx_qp()
458 int mlx5_ib_gsi_post_send(struct ib_qp *qp, const struct ib_send_wr *wr, in mlx5_ib_gsi_post_send()
463 struct ib_qp *tx_qp; in mlx5_ib_gsi_post_send()
503 int mlx5_ib_gsi_post_recv(struct ib_qp *qp, const struct ib_recv_wr *wr, in mlx5_ib_gsi_post_recv()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.h46 int ocrdma_post_send(struct ib_qp *, const struct ib_send_wr *,
48 int ocrdma_post_recv(struct ib_qp *, const struct ib_recv_wr *,
77 struct ib_qp *ocrdma_create_qp(struct ib_pd *,
80 int _ocrdma_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
82 int ocrdma_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
84 int ocrdma_query_qp(struct ib_qp *,
87 int ocrdma_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata);
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h83 struct ib_qp ib_qp; member
182 struct ib_qp *bnxt_re_create_qp(struct ib_pd *pd,
185 int bnxt_re_modify_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
187 int bnxt_re_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
189 int bnxt_re_destroy_qp(struct ib_qp *qp, struct ib_udata *udata);
190 int bnxt_re_post_send(struct ib_qp *qp, const struct ib_send_wr *send_wr,
192 int bnxt_re_post_recv(struct ib_qp *qp, const struct ib_recv_wr *recv_wr,
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_verbs.h53 struct ib_qp *siw_create_qp(struct ib_pd *base_pd,
56 int siw_query_qp(struct ib_qp *base_qp, struct ib_qp_attr *qp_attr,
58 int siw_verbs_modify_qp(struct ib_qp *base_qp, struct ib_qp_attr *attr,
60 int siw_destroy_qp(struct ib_qp *base_qp, struct ib_udata *udata);
61 int siw_post_send(struct ib_qp *base_qp, const struct ib_send_wr *wr,
63 int siw_post_receive(struct ib_qp *base_qp, const struct ib_recv_wr *wr,
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
Dverbs.h58 struct ib_qp *qedr_create_qp(struct ib_pd *, struct ib_qp_init_attr *attrs,
60 int qedr_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
62 int qedr_query_qp(struct ib_qp *, struct ib_qp_attr *qp_attr,
64 int qedr_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata);
90 int qedr_post_send(struct ib_qp *, const struct ib_send_wr *,
92 int qedr_post_recv(struct ib_qp *, const struct ib_recv_wr *,
Dqedr_iw_cm.h45 void qedr_iw_qp_add_ref(struct ib_qp *qp);
47 void qedr_iw_qp_rem_ref(struct ib_qp *qp);
49 struct ib_qp *qedr_iw_get_qp(struct ib_device *dev, int qpn);
Dqedr_roce_cm.h49 int qedr_gsi_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
51 int qedr_gsi_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
53 struct ib_qp *qedr_create_gsi_qp(struct qedr_dev *dev,
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h46 int usnic_ib_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
53 struct ib_qp *usnic_ib_create_qp(struct ib_pd *pd,
56 int usnic_ib_destroy_qp(struct ib_qp *qp, struct ib_udata *udata);
57 int usnic_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcounters.c136 const struct ib_qp *qp, in auto_mode_init_counter()
148 static bool auto_mode_match(struct ib_qp *qp, struct rdma_counter *counter, in auto_mode_match()
165 struct ib_qp *qp) in __rdma_counter_bind_qp()
182 static int __rdma_counter_unbind_qp(struct ib_qp *qp) in __rdma_counter_unbind_qp()
219 static struct rdma_counter *rdma_get_counter_auto_mode(struct ib_qp *qp, in rdma_get_counter_auto_mode()
251 struct ib_qp *qp) in rdma_counter_res_add()
271 int rdma_counter_bind_qp_auto(struct ib_qp *qp, u8 port) in rdma_counter_bind_qp_auto()
319 int rdma_counter_unbind_qp(struct ib_qp *qp, bool force) in rdma_counter_unbind_qp()
402 static struct ib_qp *rdma_counter_get_qp(struct ib_device *dev, u32 qp_num) in rdma_counter_get_qp()
405 struct ib_qp *qp = NULL; in rdma_counter_get_qp()
[all …]
Dmr_pool.c8 struct ib_mr *ib_mr_pool_get(struct ib_qp *qp, struct list_head *list) in ib_mr_pool_get()
25 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr) in ib_mr_pool_put()
36 int ib_mr_pool_init(struct ib_qp *qp, struct list_head *list, int nr, in ib_mr_pool_init()
66 void ib_mr_pool_destroy(struct ib_qp *qp, struct list_head *list) in ib_mr_pool_destroy()
Dcore_priv.h228 int ib_security_modify_qp(struct ib_qp *qp,
233 int ib_create_qp_security(struct ib_qp *qp, struct ib_device *dev);
237 int ib_open_shared_qp_security(struct ib_qp *qp, struct ib_device *dev);
255 static inline int ib_security_modify_qp(struct ib_qp *qp, in ib_security_modify_qp()
266 static inline int ib_create_qp_security(struct ib_qp *qp, in ib_create_qp_security()
284 static inline int ib_open_shared_qp_security(struct ib_qp *qp, in ib_open_shared_qp_security()
321 static inline struct ib_qp *_ib_create_qp(struct ib_device *dev, in _ib_create_qp()
328 struct ib_qp *qp; in _ib_create_qp()
Drw.c90 static int rdma_rw_init_one_mr(struct ib_qp *qp, u8 port_num, in rdma_rw_init_one_mr()
123 static int rdma_rw_init_mr_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_mr_wrs()
194 static int rdma_rw_init_map_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_map_wrs()
250 static int rdma_rw_init_single_wr(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_single_wr()
311 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num, in rdma_rw_ctx_init()
379 int rdma_rw_ctx_signature_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_signature_init()
507 struct ib_send_wr *rdma_rw_ctx_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_wrs()
565 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num, in rdma_rw_ctx_post()
584 void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num, in rdma_rw_ctx_destroy()
622 void rdma_rw_ctx_destroy_signature(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_destroy_signature()
[all …]
Dverbs.c1096 struct ib_qp *qp = context; in __ib_shared_qp_event_handler()
1106 static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, in __ib_open_qp()
1110 struct ib_qp *qp; in __ib_open_qp()
1140 struct ib_qp *ib_open_qp(struct ib_xrcd *xrcd, in ib_open_qp()
1143 struct ib_qp *qp, *real_qp; in ib_open_qp()
1161 static struct ib_qp *create_xrc_qp_user(struct ib_qp *qp, in create_xrc_qp_user()
1164 struct ib_qp *real_qp = qp; in create_xrc_qp_user()
1200 struct ib_qp *ib_create_qp(struct ib_pd *pd, in ib_create_qp()
1204 struct ib_qp *qp; in ib_create_qp()
1235 struct ib_qp *xrc_qp = in ib_create_qp()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa.h93 struct ib_qp ibqp;
125 int efa_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr,
134 int efa_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata);
135 struct ib_qp *efa_create_qp(struct ib_pd *ibpd,
156 int efa_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr,
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h428 struct ib_qp *pvrdma_create_qp(struct ib_pd *pd,
431 int pvrdma_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
433 int pvrdma_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr,
435 int pvrdma_destroy_qp(struct ib_qp *qp, struct ib_udata *udata);
436 int pvrdma_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
438 int pvrdma_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h319 struct ib_qp *roce_v2_gsi;
324 struct ib_qp ibqp;
459 struct ib_qp *qp;
713 static inline struct mlx4_ib_qp *to_mqp(struct ib_qp *ibqp) in to_mqp()
795 struct ib_qp *mlx4_ib_create_qp(struct ib_pd *pd,
798 int mlx4_ib_destroy_qp(struct ib_qp *qp, struct ib_udata *udata);
799 void mlx4_ib_drain_sq(struct ib_qp *qp);
800 void mlx4_ib_drain_rq(struct ib_qp *qp);
801 int mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
803 int mlx4_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h485 struct ib_qp ibqp;
502 static inline struct c4iw_qp *to_c4iw_qp(struct ib_qp *ibqp) in to_c4iw_qp()
971 int c4iw_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
973 int c4iw_post_receive(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
980 void c4iw_qp_add_ref(struct ib_qp *qp);
981 void c4iw_qp_rem_ref(struct ib_qp *qp);
1004 int c4iw_destroy_qp(struct ib_qp *ib_qp, struct ib_udata *udata);
1005 struct ib_qp *c4iw_create_qp(struct ib_pd *pd,
1008 int c4iw_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
1010 int c4iw_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/
Dmthca_dev.h519 int mthca_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
521 int mthca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask,
523 int mthca_tavor_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
525 int mthca_tavor_post_receive(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
527 int mthca_arbel_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
529 int mthca_arbel_post_receive(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
565 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
566 int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);

12345