Home
last modified time | relevance | path

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

123456

/linux-6.1.9/include/rdma/
Drw.h45 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num,
48 void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
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, u32 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;
51 int rdma_counter_bind_qp_auto(struct ib_qp *qp, u32 port);
52 int rdma_counter_unbind_qp(struct ib_qp *qp, bool force);
Dib_verbs.h753 struct ib_qp *qp;
1015 struct ib_qp *qp;
1749 struct ib_qp *qp;
1769 struct ib_qp { struct
1785 struct ib_qp *real_qp; argument
2099 struct ib_qp *qp;
2337 int (*post_send)(struct ib_qp *qp, const struct ib_send_wr *send_wr,
2339 int (*post_recv)(struct ib_qp *qp, const struct ib_recv_wr *recv_wr,
2341 void (*drain_rq)(struct ib_qp *qp);
2342 void (*drain_sq)(struct ib_qp *qp);
[all …]
/linux-6.1.9/drivers/infiniband/sw/rdmavt/
Dqp.h13 int rvt_create_qp(struct ib_qp *ibqp, struct ib_qp_init_attr *init_attr,
15 int rvt_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
17 int rvt_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata);
18 int rvt_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
20 int rvt_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
22 int rvt_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
Dmcast.h12 int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
13 int rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
/linux-6.1.9/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 int ocrdma_create_qp(struct ib_qp *qp, struct ib_qp_init_attr *attrs,
79 int _ocrdma_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
81 int ocrdma_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
83 int ocrdma_query_qp(struct ib_qp *,
86 int ocrdma_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata);
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dwr.h104 int mlx5_ib_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
106 int mlx5_ib_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
109 static inline int mlx5_ib_post_send_nodrain(struct ib_qp *ibqp, in mlx5_ib_post_send_nodrain()
116 static inline int mlx5_ib_post_send_drain(struct ib_qp *ibqp, in mlx5_ib_post_send_drain()
123 static inline int mlx5_ib_post_recv_nodrain(struct ib_qp *ibqp, in mlx5_ib_post_recv_nodrain()
130 static inline int mlx5_ib_post_recv_drain(struct ib_qp *ibqp, in mlx5_ib_post_recv_drain()
Dgsi.c199 static struct ib_qp *create_gsi_ud_qp(struct mlx5_ib_gsi_qp *gsi) in create_gsi_ud_qp()
219 static int modify_to_rts(struct mlx5_ib_gsi_qp *gsi, struct ib_qp *qp, in modify_to_rts()
265 struct ib_qp *qp; in setup_qp()
320 int mlx5_ib_gsi_modify_qp(struct ib_qp *qp, struct ib_qp_attr *attr, in mlx5_ib_gsi_modify_qp()
345 int mlx5_ib_gsi_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr, in mlx5_ib_gsi_query_qp()
411 static struct ib_qp *get_tx_qp(struct mlx5_ib_gsi_qp *gsi, struct ib_ud_wr *wr) in get_tx_qp()
429 int mlx5_ib_gsi_post_send(struct ib_qp *qp, const struct ib_send_wr *wr, in mlx5_ib_gsi_post_send()
434 struct ib_qp *tx_qp; in mlx5_ib_gsi_post_send()
474 int mlx5_ib_gsi_post_recv(struct ib_qp *qp, const struct ib_recv_wr *wr, in mlx5_ib_gsi_post_recv()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_verbs.h191 struct ib_qp ibqp;
275 static inline struct erdma_qp *to_eqp(struct ib_qp *qp) in to_eqp()
305 int erdma_create_qp(struct ib_qp *ibqp, struct ib_qp_init_attr *attr,
307 int erdma_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int mask,
309 int erdma_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int mask,
311 int erdma_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata);
320 void erdma_qp_get_ref(struct ib_qp *ibqp);
321 void erdma_qp_put_ref(struct ib_qp *ibqp);
322 struct ib_qp *erdma_get_ibqp(struct ib_device *dev, int id);
323 int erdma_post_send(struct ib_qp *ibqp, const struct ib_send_wr *send_wr,
[all …]
/linux-6.1.9/drivers/infiniband/hw/qedr/
Dverbs.h58 int qedr_create_qp(struct ib_qp *qp, 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,
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h81 struct ib_qp ib_qp; member
181 int bnxt_re_create_qp(struct ib_qp *qp, struct ib_qp_init_attr *qp_init_attr,
183 int bnxt_re_modify_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
185 int bnxt_re_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
187 int bnxt_re_destroy_qp(struct ib_qp *qp, struct ib_udata *udata);
188 int bnxt_re_post_send(struct ib_qp *qp, const struct ib_send_wr *send_wr,
190 int bnxt_re_post_recv(struct ib_qp *qp, const struct ib_recv_wr *recv_wr,
/linux-6.1.9/drivers/infiniband/sw/siw/
Dsiw_verbs.h53 int siw_create_qp(struct ib_qp *qp, struct ib_qp_init_attr *attr,
55 int siw_query_qp(struct ib_qp *base_qp, struct ib_qp_attr *qp_attr,
57 int siw_verbs_modify_qp(struct ib_qp *base_qp, struct ib_qp_attr *attr,
59 int siw_destroy_qp(struct ib_qp *base_qp, struct ib_udata *udata);
60 int siw_post_send(struct ib_qp *base_qp, const struct ib_send_wr *wr,
62 int siw_post_receive(struct ib_qp *base_qp, const struct ib_recv_wr *wr,
/linux-6.1.9/drivers/infiniband/core/
Dcore_priv.h226 int ib_security_modify_qp(struct ib_qp *qp,
231 int ib_create_qp_security(struct ib_qp *qp, struct ib_device *dev);
235 int ib_open_shared_qp_security(struct ib_qp *qp, struct ib_device *dev);
253 static inline int ib_security_modify_qp(struct ib_qp *qp, in ib_security_modify_qp()
264 static inline int ib_create_qp_security(struct ib_qp *qp, in ib_create_qp_security()
282 static inline int ib_open_shared_qp_security(struct ib_qp *qp, in ib_open_shared_qp_security()
319 struct ib_qp *ib_create_qp_user(struct ib_device *dev, struct ib_pd *pd,
324 void ib_qp_usecnt_inc(struct ib_qp *qp);
325 void ib_qp_usecnt_dec(struct ib_qp *qp);
Dcounters.c79 const struct ib_qp *qp, in auto_mode_init_counter()
92 struct ib_qp *qp) in __rdma_counter_bind_qp()
142 struct ib_qp *qp, in alloc_and_bind()
225 static bool auto_mode_match(struct ib_qp *qp, struct rdma_counter *counter, in auto_mode_match()
241 static int __rdma_counter_unbind_qp(struct ib_qp *qp) in __rdma_counter_unbind_qp()
278 static struct rdma_counter *rdma_get_counter_auto_mode(struct ib_qp *qp, in rdma_get_counter_auto_mode()
323 int rdma_counter_bind_qp_auto(struct ib_qp *qp, u32 port) in rdma_counter_bind_qp_auto()
361 int rdma_counter_unbind_qp(struct ib_qp *qp, bool force) in rdma_counter_unbind_qp()
444 static struct ib_qp *rdma_counter_get_qp(struct ib_device *dev, u32 qp_num) in rdma_counter_get_qp()
447 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()
Dverbs.c1101 struct ib_qp *qp = context; in __ib_shared_qp_event_handler()
1111 static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, in __ib_open_qp()
1115 struct ib_qp *qp; in __ib_open_qp()
1145 struct ib_qp *ib_open_qp(struct ib_xrcd *xrcd, in ib_open_qp()
1148 struct ib_qp *qp, *real_qp; in ib_open_qp()
1166 static struct ib_qp *create_xrc_qp_user(struct ib_qp *qp, in create_xrc_qp_user()
1169 struct ib_qp *real_qp = qp; in create_xrc_qp_user()
1195 static struct ib_qp *create_qp(struct ib_device *dev, struct ib_pd *pd, in create_qp()
1201 struct ib_qp *qp; in create_qp()
1207 qp = rdma_zalloc_drv_obj_numa(dev, ib_qp); in create_qp()
[all …]
Drw.c91 static int rdma_rw_init_one_mr(struct ib_qp *qp, u32 port_num, in rdma_rw_init_one_mr()
124 static int rdma_rw_init_mr_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_mr_wrs()
195 static int rdma_rw_init_map_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_map_wrs()
251 static int rdma_rw_init_single_wr(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_single_wr()
292 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, in rdma_rw_ctx_init()
364 int rdma_rw_ctx_signature_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_signature_init()
497 struct ib_send_wr *rdma_rw_ctx_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_wrs()
555 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, in rdma_rw_ctx_post()
574 void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_destroy()
613 void rdma_rw_ctx_destroy_signature(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_destroy_signature()
[all …]
/linux-6.1.9/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h46 int usnic_ib_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
53 int usnic_ib_create_qp(struct ib_qp *qp, struct ib_qp_init_attr *init_attr,
55 int usnic_ib_destroy_qp(struct ib_qp *qp, struct ib_udata *udata);
56 int usnic_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
/linux-6.1.9/drivers/infiniband/hw/efa/
Defa.h102 struct ib_qp ibqp;
139 int efa_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr,
148 int efa_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata);
149 int efa_create_qp(struct ib_qp *ibqp, struct ib_qp_init_attr *init_attr,
173 int efa_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr,
/linux-6.1.9/drivers/infiniband/hw/hns/
Dhns_roce_restrack.c82 int hns_roce_fill_res_qp_entry(struct sk_buff *msg, struct ib_qp *ib_qp) in hns_roce_fill_res_qp_entry() argument
84 struct hns_roce_qp *hr_qp = to_hr_qp(ib_qp); in hns_roce_fill_res_qp_entry()
116 int hns_roce_fill_res_qp_entry_raw(struct sk_buff *msg, struct ib_qp *ib_qp) in hns_roce_fill_res_qp_entry_raw() argument
118 struct hns_roce_dev *hr_dev = to_hr_dev(ib_qp->device); in hns_roce_fill_res_qp_entry_raw()
119 struct hns_roce_qp *hr_qp = to_hr_qp(ib_qp); in hns_roce_fill_res_qp_entry_raw()
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h393 int pvrdma_create_qp(struct ib_qp *qp, struct ib_qp_init_attr *init_attr,
395 int pvrdma_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
397 int pvrdma_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr,
399 int pvrdma_destroy_qp(struct ib_qp *qp, struct ib_udata *udata);
400 int pvrdma_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
402 int pvrdma_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h479 struct ib_qp ibqp;
496 static inline struct c4iw_qp *to_c4iw_qp(struct ib_qp *ibqp) in to_c4iw_qp()
959 int c4iw_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
961 int c4iw_post_receive(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
968 void c4iw_qp_add_ref(struct ib_qp *qp);
969 void c4iw_qp_rem_ref(struct ib_qp *qp);
991 int c4iw_destroy_qp(struct ib_qp *ib_qp, struct ib_udata *udata);
992 int c4iw_create_qp(struct ib_qp *qp, struct ib_qp_init_attr *attrs,
994 int c4iw_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
996 int c4iw_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
[all …]

123456