Home
last modified time | relevance | path

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

1234

/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, struct ib_recv_wr *wr,
65 int rvt_post_send(struct ib_qp *ibqp, 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);
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.h46 int ocrdma_post_send(struct ib_qp *, struct ib_send_wr *,
48 int ocrdma_post_recv(struct ib_qp *, struct ib_recv_wr *,
96 struct ib_qp *ocrdma_create_qp(struct ib_pd *,
99 int _ocrdma_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
101 int ocrdma_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
103 int ocrdma_query_qp(struct ib_qp *,
106 int ocrdma_destroy_qp(struct ib_qp *);
/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, struct ib_send_wr *wr,
85 int usnic_ib_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr,
Dusnic_ib_qp_grp.h49 struct ib_qp ibqp;
128 struct usnic_ib_qp_grp *to_uqp_grp(struct ib_qp *ibqp) in to_uqp_grp()
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.h74 struct ib_qp ib_qp; member
167 struct ib_qp *bnxt_re_create_qp(struct ib_pd *pd,
170 int bnxt_re_modify_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
172 int bnxt_re_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
174 int bnxt_re_destroy_qp(struct ib_qp *qp);
175 int bnxt_re_post_send(struct ib_qp *qp, struct ib_send_wr *send_wr,
177 int bnxt_re_post_recv(struct ib_qp *qp, struct ib_recv_wr *recv_wr,
Dib_verbs.c438 struct ib_pd *ib_pd = qp->ib_qp.pd; in bnxt_re_bind_fence_mw()
794 int bnxt_re_destroy_qp(struct ib_qp *ib_qp) in bnxt_re_destroy_qp() argument
796 struct bnxt_re_qp *qp = container_of(ib_qp, struct bnxt_re_qp, ib_qp); in bnxt_re_destroy_qp()
806 if (ib_qp->qp_type == IB_QPT_GSI && rdev->qp1_sqp) { in bnxt_re_destroy_qp()
1023 struct ib_qp *bnxt_re_create_qp(struct ib_pd *ib_pd, in bnxt_re_create_qp()
1187 qp->ib_qp.qp_num = qp->qplib_qp.id; in bnxt_re_create_qp()
1194 resp.qpid = qp->ib_qp.qp_num; in bnxt_re_create_qp()
1208 return &qp->ib_qp; in bnxt_re_create_qp()
1334 int bnxt_re_modify_qp(struct ib_qp *ib_qp, struct ib_qp_attr *qp_attr, in bnxt_re_modify_qp() argument
1337 struct bnxt_re_qp *qp = container_of(ib_qp, struct bnxt_re_qp, ib_qp); in bnxt_re_modify_qp()
[all …]
/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.h354 struct ib_qp ibqp;
545 struct ib_qp *qp;
785 static inline struct mlx5_ib_qp *to_mqp(struct ib_qp *ibqp) in to_mqp()
837 struct ib_qp *mlx5_ib_create_qp(struct ib_pd *pd,
840 int mlx5_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
842 int mlx5_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
844 int mlx5_ib_destroy_qp(struct ib_qp *qp);
845 int mlx5_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
847 int mlx5_ib_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr,
991 struct ib_qp *mlx5_ib_gsi_create_qp(struct ib_pd *pd,
[all …]
/drivers/infiniband/hw/qedr/
Dverbs.h65 struct ib_qp *qedr_create_qp(struct ib_pd *, struct ib_qp_init_attr *attrs,
67 int qedr_modify_qp(struct ib_qp *, struct ib_qp_attr *attr,
69 int qedr_query_qp(struct ib_qp *, struct ib_qp_attr *qp_attr,
71 int qedr_destroy_qp(struct ib_qp *ibqp);
89 int qedr_post_send(struct ib_qp *, struct ib_send_wr *,
91 int qedr_post_recv(struct ib_qp *, struct ib_recv_wr *,
Dqedr_cm.h49 int qedr_gsi_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr,
51 int qedr_gsi_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
53 struct ib_qp *qedr_create_gsi_qp(struct qedr_dev *dev,
/drivers/infiniband/core/
Dverbs.c696 struct ib_qp *qp = context; in __ib_shared_qp_event_handler()
706 static void __ib_insert_xrcd_qp(struct ib_xrcd *xrcd, struct ib_qp *qp) in __ib_insert_xrcd_qp()
713 static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, in __ib_open_qp()
717 struct ib_qp *qp; in __ib_open_qp()
747 struct ib_qp *ib_open_qp(struct ib_xrcd *xrcd, in ib_open_qp()
750 struct ib_qp *qp, *real_qp; in ib_open_qp()
769 static struct ib_qp *create_xrc_qp(struct ib_qp *qp, in create_xrc_qp()
772 struct ib_qp *real_qp = qp; in create_xrc_qp()
792 struct ib_qp *ib_create_qp(struct ib_pd *pd, in ib_create_qp()
796 struct ib_qp *qp; in ib_create_qp()
[all …]
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()
Dcore_priv.h227 int ib_security_modify_qp(struct ib_qp *qp,
232 int ib_create_qp_security(struct ib_qp *qp, struct ib_device *dev);
236 int ib_open_shared_qp_security(struct ib_qp *qp, struct ib_device *dev);
261 static inline int ib_security_modify_qp(struct ib_qp *qp, in ib_security_modify_qp()
272 static inline int ib_create_qp_security(struct ib_qp *qp, in ib_create_qp_security()
290 static inline int ib_open_shared_qp_security(struct ib_qp *qp, in ib_open_shared_qp_security()
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()
495 struct ib_send_wr *rdma_rw_ctx_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_wrs()
568 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num, in rdma_rw_ctx_post()
587 void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u8 port_num, in rdma_rw_ctx_destroy()
625 void rdma_rw_ctx_destroy_signature(struct rdma_rw_ctx *ctx, struct ib_qp *qp, in rdma_rw_ctx_destroy_signature()
[all …]
Dsecurity.c182 struct ib_qp *qp = shared_qp_sec->qp; in qp_to_error()
330 static struct ib_ports_pkeys *get_new_pps(const struct ib_qp *qp, in get_new_pps()
372 int ib_open_shared_qp_security(struct ib_qp *qp, struct ib_device *dev) in ib_open_shared_qp_security()
374 struct ib_qp *real_qp = qp->real_qp; in ib_open_shared_qp_security()
405 struct ib_qp *real_qp = sec->qp->real_qp; in ib_close_shared_qp_security()
414 int ib_create_qp_security(struct ib_qp *qp, struct ib_device *dev) in ib_create_qp_security()
570 int ib_security_modify_qp(struct ib_qp *qp, in ib_security_modify_qp()
578 struct ib_qp *real_qp = qp->real_qp; in ib_security_modify_qp()
/drivers/infiniband/hw/cxgb3/
Diwch_provider.h162 struct ib_qp ibqp;
179 static inline struct iwch_qp *to_iwch_qp(struct ib_qp *ibqp) in to_iwch_qp()
184 void iwch_qp_add_ref(struct ib_qp *qp);
185 void iwch_qp_rem_ref(struct ib_qp *qp);
330 int iwch_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
332 int iwch_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h423 struct ib_qp *pvrdma_create_qp(struct ib_pd *pd,
426 int pvrdma_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
428 int pvrdma_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr,
430 int pvrdma_destroy_qp(struct ib_qp *qp);
431 int pvrdma_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
433 int pvrdma_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr,
/drivers/infiniband/hw/hns/
Dhns_roce_device.h405 struct ib_qp ibqp;
524 int (*query_qp)(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr,
526 int (*modify_qp)(struct ib_qp *ibqp, const struct ib_qp_attr *attr,
529 int (*destroy_qp)(struct ib_qp *ibqp);
530 int (*post_send)(struct ib_qp *ibqp, struct ib_send_wr *wr,
532 int (*post_recv)(struct ib_qp *qp, struct ib_recv_wr *recv_wr,
603 static inline struct hns_roce_qp *to_hr_qp(struct ib_qp *ibqp) in to_hr_qp()
719 struct ib_qp *hns_roce_create_qp(struct ib_pd *ib_pd,
722 int hns_roce_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h477 struct ib_qp ibqp;
493 static inline struct c4iw_qp *to_c4iw_qp(struct ib_qp *ibqp) in to_c4iw_qp()
949 int c4iw_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
951 int c4iw_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
958 void c4iw_qp_add_ref(struct ib_qp *qp);
959 void c4iw_qp_rem_ref(struct ib_qp *qp);
980 int c4iw_destroy_qp(struct ib_qp *ib_qp);
981 struct ib_qp *c4iw_create_qp(struct ib_pd *pd,
984 int c4iw_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
986 int c4iw_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
[all …]
/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, struct ib_send_wr *wr,
535 int mthca_tavor_post_receive(struct ib_qp *ibqp, struct ib_recv_wr *wr,
537 int mthca_arbel_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
539 int mthca_arbel_post_receive(struct ib_qp *ibqp, 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);
/drivers/infiniband/hw/nes/
Dnes_verbs.h108 struct ib_qp *ib_qp; member
139 struct ib_qp ibqp;
Dnes.h511 static inline struct nes_qp *to_nesqp(struct ib_qp *ibqp) in to_nesqp()
519 void nes_add_ref(struct ib_qp *);
520 void nes_rem_ref(struct ib_qp *);
521 struct ib_qp *nes_get_qp(struct ib_device *, int);
559 int nes_modify_qp(struct ib_qp *, struct ib_qp_attr *, int, struct ib_udata *);
/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h311 struct ib_qp ibqp;
440 struct ib_qp *qp;
705 static inline struct mlx4_ib_qp *to_mqp(struct ib_qp *ibqp) in to_mqp()
787 struct ib_qp *mlx4_ib_create_qp(struct ib_pd *pd,
790 int mlx4_ib_destroy_qp(struct ib_qp *qp);
791 int mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr,
793 int mlx4_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask,
795 int mlx4_ib_post_send(struct ib_qp *ibqp, struct ib_send_wr *wr,
797 int mlx4_ib_post_recv(struct ib_qp *ibqp, struct ib_recv_wr *wr,
/drivers/infiniband/hw/i40iw/
Di40iw.h397 static inline struct i40iw_qp *to_iwqp(struct ib_qp *ibqp) in to_iwqp()
403 void i40iw_add_ref(struct ib_qp *);
404 void i40iw_rem_ref(struct ib_qp *);
405 struct ib_qp *i40iw_get_qp(struct ib_device *, int);
526 int i40iw_modify_qp(struct ib_qp *, struct ib_qp_attr *, int, struct ib_udata *);

1234