Home
last modified time | relevance | path

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

123

/linux/drivers/infiniband/sw/rdmavt/
H A 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,
H A 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/include/rdma/
H A 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);
H A Drdma_counter.h16 struct ib_qp;
53 int rdma_counter_bind_qp_auto(struct ib_qp *qp, u32 port);
54 int rdma_counter_unbind_qp(struct ib_qp *qp, u32 port, bool force);
H A Drdmavt_qp.h334 struct ib_qp ibqp;
465 static inline struct rvt_qp *ibqp_to_rvtqp(struct ib_qp *ibqp) in ibqp_to_rvtqp()
728 struct ib_qp *ibqp = &qp->ibqp; in rvt_mod_retry_timer_ext()
/linux/drivers/infiniband/hw/mlx5/
H A 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()
H A Dgsi.c200 static struct ib_qp *create_gsi_ud_qp(struct mlx5_ib_gsi_qp *gsi) in create_gsi_ud_qp()
220 static int modify_to_rts(struct mlx5_ib_gsi_qp *gsi, struct ib_qp *qp, in modify_to_rts()
266 struct ib_qp *qp; in setup_qp()
322 int mlx5_ib_gsi_modify_qp(struct ib_qp *qp, struct ib_qp_attr *attr, in mlx5_ib_gsi_modify_qp()
347 int mlx5_ib_gsi_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr, in mlx5_ib_gsi_query_qp()
413 static struct ib_qp *get_tx_qp(struct mlx5_ib_gsi_qp *gsi, struct ib_ud_wr *wr) in get_tx_qp()
431 int mlx5_ib_gsi_post_send(struct ib_qp *qp, const struct ib_send_wr *wr, in mlx5_ib_gsi_post_send()
436 struct ib_qp *tx_qp; in mlx5_ib_gsi_post_send()
476 int mlx5_ib_gsi_post_recv(struct ib_qp *qp, const struct ib_recv_wr *wr, in mlx5_ib_gsi_post_recv()
H A Dqp.h56 int mlx5_ib_qp_set_counter(struct ib_qp *qp, struct rdma_counter *counter);
/linux/drivers/infiniband/hw/qedr/
H A 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);
H A 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,
H A Dqedr_iw_cm.c188 struct ib_qp *ibqp = &ep->qp->ibqp; in qedr_iw_qp_event()
800 void qedr_iw_qp_add_ref(struct ib_qp *ibqp) in qedr_iw_qp_add_ref()
807 void qedr_iw_qp_rem_ref(struct ib_qp *ibqp) in qedr_iw_qp_rem_ref()
814 struct ib_qp *qedr_iw_get_qp(struct ib_device *ibdev, int qpn) in qedr_iw_get_qp()
/linux/drivers/infiniband/core/
H A 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()
H A Dverbs.c1170 struct ib_qp *qp = event->element.qp; in __ib_qp_event_handler()
1180 struct ib_qp *qp = context; in __ib_shared_qp_event_handler()
1190 static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, in __ib_open_qp()
1194 struct ib_qp *qp; in __ib_open_qp()
1224 struct ib_qp *ib_open_qp(struct ib_xrcd *xrcd, in ib_open_qp()
1227 struct ib_qp *qp, *real_qp; in ib_open_qp()
1245 static struct ib_qp *create_xrc_qp_user(struct ib_qp *qp, in create_xrc_qp_user()
1248 struct ib_qp *real_qp = qp; in create_xrc_qp_user()
1274 static struct ib_qp *create_qp(struct ib_device *dev, struct ib_pd *pd, in create_qp()
1279 struct ib_qp *qp; in create_qp()
[all …]
H A Drw.c92 static int rdma_rw_init_one_mr(struct ib_qp *qp, u32 port_num, in rdma_rw_init_one_mr()
126 struct rdma_rw_reg_ctx *prev, struct ib_qp *qp, u32 port_num, in rdma_rw_init_reg_wr()
155 static int rdma_rw_init_mr_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_mr_wrs()
204 static int rdma_rw_init_mr_wrs_bvec(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_mr_wrs_bvec()
287 static int rdma_rw_init_map_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_map_wrs()
343 static int rdma_rw_init_single_wr(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_single_wr()
370 struct ib_qp *qp, const struct bio_vec *bvecs, in rdma_rw_init_single_wr_bvec()
403 static int rdma_rw_init_map_wrs_bvec(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_init_map_wrs_bvec()
488 struct ib_qp *qp, const struct bio_vec *bvec, in rdma_rw_init_iova_wrs_bvec()
574 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, in rdma_rw_ctx_init()
[all …]
/linux/drivers/infiniband/hw/mthca/
H A 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);
H A Dmthca_provider.h254 struct ib_qp ibqp;
311 static inline struct mthca_qp *to_mqp(struct ib_qp *ibqp) in to_mqp()
H A Dmthca_mcg.c120 int mthca_multicast_attach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in mthca_multicast_attach()
214 int mthca_multicast_detach(struct ib_qp *ibqp, union ib_gid *gid, u16 lid) in mthca_multicast_detach()
/linux/drivers/infiniband/hw/usnic/
H A 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/drivers/infiniband/hw/bnxt_re/
H A Dmain.c87 static void bnxt_re_dispatch_event(struct ib_device *ibdev, struct ib_qp *qp,
324 return qp->ib_qp.qp_type == IB_QPT_GSI; in bnxt_re_is_qp1_qp()
1200 static int bnxt_re_fill_res_qp_entry(struct sk_buff *msg, struct ib_qp *ib_qp) in bnxt_re_fill_res_qp_entry() argument
1210 qp = container_of(ib_qp, struct bnxt_re_qp, ib_qp); in bnxt_re_fill_res_qp_entry()
1244 static int bnxt_re_fill_res_qp_entry_raw(struct sk_buff *msg, struct ib_qp *ibqp) in bnxt_re_fill_res_qp_entry_raw()
1385 INIT_RDMA_OBJ_SIZE(ib_qp, bnxt_re_qp, ib_qp),
1519 rdma_is_kernel_res(&qp->ib_qp.res)) { in bnxt_re_handle_qp_async_event()
1526 event.element.qp = &qp->ib_qp; in bnxt_re_handle_qp_async_event()
1616 __func__, rdma_is_kernel_res(&qp->ib_qp.res) ? "kernel" : "user", in bnxt_re_handle_qp_async_event()
1632 } else if (event.device && qp->ib_qp.event_handler) { in bnxt_re_handle_qp_async_event()
[all …]
/linux/drivers/infiniband/hw/mana/
H A Dwr.c49 int mana_ib_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr, in mana_ib_post_recv()
144 int mana_ib_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr, in mana_ib_post_send()
/linux/drivers/infiniband/sw/rxe/
H A Drxe_mcast.c473 int rxe_attach_mcast(struct ib_qp *ibqp, union ib_gid *mgid, u16 mlid) in rxe_attach_mcast()
504 int rxe_detach_mcast(struct ib_qp *ibqp, union ib_gid *mgid, u16 mlid) in rxe_detach_mcast()
H A Drxe_verbs.c537 static int rxe_create_qp(struct ib_qp *ibqp, struct ib_qp_init_attr *init, in rxe_create_qp()
601 static int rxe_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, in rxe_modify_qp()
639 static int rxe_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, in rxe_query_qp()
650 static int rxe_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata) in rxe_destroy_qp()
923 static int rxe_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr, in rxe_post_send()
1011 static int rxe_post_recv(struct ib_qp *ibqp, const struct ib_recv_wr *wr, in rxe_post_recv()
1520 INIT_RDMA_OBJ_SIZE(ib_qp, rxe_qp, ibqp),
/linux/include/uapi/rdma/
H A Dsiw-abi.h173 struct ib_qp *base_qp;
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib.h237 struct ib_qp *qp;
248 struct ib_qp *qp;
362 struct ib_qp *qp;
/linux/drivers/infiniband/sw/siw/
H A Dsiw_main.c212 static struct ib_qp *siw_get_base_qp(struct ib_device *base_dev, int id) in siw_get_base_qp()
273 INIT_RDMA_OBJ_SIZE(ib_qp, siw_qp, base_qp),

123