Home
last modified time | relevance | path

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

12345

/Linux-v4.19/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);
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);
/Linux-v4.19/include/rdma/
Drw.h62 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num,
65 void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num,
69 int rdma_rw_ctx_signature_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
74 void rdma_rw_ctx_destroy_signature(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
79 struct ib_send_wr *rdma_rw_ctx_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
81 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num,
87 int rdma_rw_init_mrs(struct ib_qp *qp, struct ib_qp_init_attr *attr);
88 void rdma_rw_cleanup_mrs(struct ib_qp *qp);
Dmr_pool.h18 struct ib_mr *ib_mr_pool_get(struct ib_qp *qp, struct list_head *list);
19 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr);
21 int ib_mr_pool_init(struct ib_qp *qp, struct list_head *list, int nr,
23 void ib_mr_pool_destroy(struct ib_qp *qp, struct list_head *list);
Diw_cm.h109 void (*add_ref)(struct ib_qp *qp);
111 void (*rem_ref)(struct ib_qp *qp);
113 struct ib_qp * (*get_qp)(struct ib_device *device,
164 void iw_cm_unbind_qp(struct iw_cm_id *cm_id, struct ib_qp *qp);
172 struct ib_qp *iw_cm_get_qp(struct ib_device *device, int qpn);
Dib_verbs.h651 struct ib_qp *qp;
994 struct ib_qp *qp;
1725 struct ib_qp *qp;
1745 struct ib_qp { struct
1761 struct ib_qp *real_qp; argument
2089 struct ib_qp *qp;
2382 struct ib_qp * (*create_qp)(struct ib_pd *pd,
2385 int (*modify_qp)(struct ib_qp *qp,
2389 int (*query_qp)(struct ib_qp *qp,
2393 int (*destroy_qp)(struct ib_qp *qp);
[all …]
/Linux-v4.19/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 *,
84 struct ib_qp *ocrdma_create_qp(struct ib_pd *,
87 int _ocrdma_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
89 int ocrdma_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
91 int ocrdma_query_qp(struct ib_qp *,
94 int ocrdma_destroy_qp(struct ib_qp *);
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h46 int usnic_ib_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
58 struct ib_qp *usnic_ib_create_qp(struct ib_pd *pd,
61 int usnic_ib_destroy_qp(struct ib_qp *qp);
62 int usnic_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
83 int usnic_ib_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
85 int usnic_ib_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
Dusnic_ib_qp_grp.h49 struct ib_qp ibqp;
105 struct usnic_ib_qp_grp *to_uqp_grp(struct ib_qp *ibqp) in to_uqp_grp()
/Linux-v4.19/drivers/infiniband/hw/qedr/
Dverbs.h61 struct ib_qp *qedr_create_qp(struct ib_pd *, struct ib_qp_init_attr *attrs,
63 int qedr_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
65 int qedr_query_qp(struct ib_qp *, struct ib_qp_attr *qp_attr,
67 int qedr_destroy_qp(struct ib_qp *ibqp);
94 int qedr_post_send(struct ib_qp *, const struct ib_send_wr *,
96 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,
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dgsi.c43 struct ib_qp ibqp;
44 struct ib_qp *rx_qp;
59 struct ib_qp **tx_qps;
62 static struct mlx5_ib_gsi_qp *gsi_qp(struct ib_qp *qp) in gsi_qp()
115 struct ib_qp *mlx5_ib_gsi_create_qp(struct ib_pd *pd, in mlx5_ib_gsi_create_qp()
213 int mlx5_ib_gsi_destroy_qp(struct ib_qp *qp) in mlx5_ib_gsi_destroy_qp()
251 static struct ib_qp *create_gsi_ud_qp(struct mlx5_ib_gsi_qp *gsi) in create_gsi_ud_qp()
272 static int modify_to_rts(struct mlx5_ib_gsi_qp *gsi, struct ib_qp *qp, in modify_to_rts()
316 struct ib_qp *qp; in setup_qp()
373 int mlx5_ib_gsi_modify_qp(struct ib_qp *qp, struct ib_qp_attr *attr, in mlx5_ib_gsi_modify_qp()
[all …]
Dmlx5_ib.h388 struct ib_qp ibqp;
600 struct ib_qp *qp;
956 static inline struct mlx5_ib_qp *to_mqp(struct ib_qp *ibqp) in to_mqp()
1019 struct ib_qp *mlx5_ib_create_qp(struct ib_pd *pd,
1022 int mlx5_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
1024 int mlx5_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
1026 int mlx5_ib_destroy_qp(struct ib_qp *qp);
1027 void mlx5_ib_drain_sq(struct ib_qp *qp);
1028 void mlx5_ib_drain_rq(struct ib_qp *qp);
1029 int mlx5_ib_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
[all …]
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h83 struct ib_qp ib_qp; member
186 struct ib_qp *bnxt_re_create_qp(struct ib_pd *pd,
189 int bnxt_re_modify_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
191 int bnxt_re_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
193 int bnxt_re_destroy_qp(struct ib_qp *qp);
194 int bnxt_re_post_send(struct ib_qp *qp, const struct ib_send_wr *send_wr,
196 int bnxt_re_post_recv(struct ib_qp *qp, const struct ib_recv_wr *recv_wr,
/Linux-v4.19/drivers/infiniband/core/
Dcore_priv.h215 int ib_security_modify_qp(struct ib_qp *qp,
220 int ib_create_qp_security(struct ib_qp *qp, struct ib_device *dev);
224 int ib_open_shared_qp_security(struct ib_qp *qp, struct ib_device *dev);
241 static inline int ib_security_modify_qp(struct ib_qp *qp, in ib_security_modify_qp()
252 static inline int ib_create_qp_security(struct ib_qp *qp, in ib_create_qp_security()
270 static inline int ib_open_shared_qp_security(struct ib_qp *qp, in ib_open_shared_qp_security()
302 static inline struct ib_qp *_ib_create_qp(struct ib_device *dev, in _ib_create_qp()
308 struct ib_qp *qp; in _ib_create_qp()
Dmr_pool.c16 struct ib_mr *ib_mr_pool_get(struct ib_qp *qp, struct list_head *list) in ib_mr_pool_get()
33 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr) in ib_mr_pool_put()
44 int ib_mr_pool_init(struct ib_qp *qp, struct list_head *list, int nr, in ib_mr_pool_init()
70 void ib_mr_pool_destroy(struct ib_qp *qp, struct list_head *list) in ib_mr_pool_destroy()
Dverbs.c1017 struct ib_qp *qp = context; in __ib_shared_qp_event_handler()
1027 static void __ib_insert_xrcd_qp(struct ib_xrcd *xrcd, struct ib_qp *qp) in __ib_insert_xrcd_qp()
1034 static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, in __ib_open_qp()
1038 struct ib_qp *qp; in __ib_open_qp()
1068 struct ib_qp *ib_open_qp(struct ib_xrcd *xrcd, in ib_open_qp()
1071 struct ib_qp *qp, *real_qp; in ib_open_qp()
1090 static struct ib_qp *ib_create_xrc_qp(struct ib_qp *qp, in ib_create_xrc_qp()
1093 struct ib_qp *real_qp = qp; in ib_create_xrc_qp()
1113 struct ib_qp *ib_create_qp(struct ib_pd *pd, in ib_create_qp()
1117 struct ib_qp *qp; in ib_create_qp()
[all …]
Drw.c68 static int rdma_rw_init_one_mr(struct ib_qp *qp, u8 port_num, in rdma_rw_init_one_mr()
107 static int rdma_rw_init_mr_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_mr_wrs()
177 static int rdma_rw_init_map_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_map_wrs()
234 static int rdma_rw_init_single_wr(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_single_wr()
276 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num, in rdma_rw_ctx_init()
344 int rdma_rw_ctx_signature_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_signature_init()
491 struct ib_send_wr *rdma_rw_ctx_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_wrs()
564 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num, in rdma_rw_ctx_post()
583 void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num, in rdma_rw_ctx_destroy()
621 void rdma_rw_ctx_destroy_signature(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_destroy_signature()
[all …]
Dsecurity.c180 struct ib_qp *qp = shared_qp_sec->qp; in qp_to_error()
328 static struct ib_ports_pkeys *get_new_pps(const struct ib_qp *qp, in get_new_pps()
377 int ib_open_shared_qp_security(struct ib_qp *qp, struct ib_device *dev) in ib_open_shared_qp_security()
379 struct ib_qp *real_qp = qp->real_qp; in ib_open_shared_qp_security()
410 struct ib_qp *real_qp = sec->qp->real_qp; in ib_close_shared_qp_security()
419 int ib_create_qp_security(struct ib_qp *qp, struct ib_device *dev) in ib_create_qp_security()
575 int ib_security_modify_qp(struct ib_qp *qp, in ib_security_modify_qp()
583 struct ib_qp *real_qp = qp->real_qp; in ib_security_modify_qp()
/Linux-v4.19/drivers/infiniband/hw/cxgb3/
Diwch_provider.h162 struct ib_qp ibqp;
178 static inline struct iwch_qp *to_iwch_qp(struct ib_qp *ibqp) in to_iwch_qp()
183 void iwch_qp_add_ref(struct ib_qp *qp);
184 void iwch_qp_rem_ref(struct ib_qp *qp);
329 int iwch_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
331 int iwch_post_receive(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
/Linux-v4.19/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h434 struct ib_qp *pvrdma_create_qp(struct ib_pd *pd,
437 int pvrdma_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
439 int pvrdma_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr,
441 int pvrdma_destroy_qp(struct ib_qp *qp);
442 int pvrdma_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
444 int pvrdma_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
/Linux-v4.19/drivers/infiniband/hw/nes/
Dnes_verbs.h108 struct ib_qp *ib_qp; member
139 struct ib_qp ibqp;
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_dev.h529 int mthca_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
531 int mthca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask,
533 int mthca_tavor_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
535 int mthca_tavor_post_receive(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
537 int mthca_arbel_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
539 int mthca_arbel_post_receive(struct ib_qp *ibqp, const struct ib_recv_wr *wr,
573 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
574 int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
/Linux-v4.19/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h313 struct ib_qp ibqp;
441 struct ib_qp *qp;
694 static inline struct mlx4_ib_qp *to_mqp(struct ib_qp *ibqp) in to_mqp()
780 struct ib_qp *mlx4_ib_create_qp(struct ib_pd *pd,
783 int mlx4_ib_destroy_qp(struct ib_qp *qp);
784 void mlx4_ib_drain_sq(struct ib_qp *qp);
785 void mlx4_ib_drain_rq(struct ib_qp *qp);
786 int mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
788 int mlx4_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
790 int mlx4_ib_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr,
[all …]

12345