/linux/include/rdma/ |
H A D | rw.h | 45 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);
|
H A D | mr_pool.h | 10 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 D | rdma_counter.h | 16 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);
|
H A D | ib_verbs.h | 758 struct ib_qp *qp; 1023 struct ib_qp *qp; 1761 struct ib_qp *qp; 1781 struct ib_qp { struct 1798 struct ib_qp *real_qp; argument 2096 struct ib_qp *qp; 2335 int (*post_send)(struct ib_qp *qp, const struct ib_send_wr *send_wr, 2337 int (*post_recv)(struct ib_qp *qp, const struct ib_recv_wr *recv_wr, 2339 void (*drain_rq)(struct ib_qp *qp); 2340 void (*drain_sq)(struct ib_qp *q 1809 qp_typeib_qp global() argument 1811 qp_secib_qp global() argument 1812 portib_qp global() argument 1814 integrity_enib_qp global() argument 1818 resib_qp global() argument 1821 counterib_qp global() argument [all...] |
/linux/drivers/infiniband/sw/rdmavt/ |
H A D | qp.h | 13 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 D | mcast.h | 12 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/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_verbs.h | 46 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/drivers/infiniband/hw/erdma/ |
H A D | erdma_verbs.h | 221 struct ib_qp ibqp; 309 static inline struct erdma_qp *to_eqp(struct ib_qp *qp) in to_eqp() 339 int erdma_create_qp(struct ib_qp *ibqp, struct ib_qp_init_attr *attr, 341 int erdma_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int mask, 343 int erdma_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int mask, 345 int erdma_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata); 355 void erdma_qp_get_ref(struct ib_qp *ibqp); 356 void erdma_qp_put_ref(struct ib_qp *ibqp); 357 struct ib_qp *erdma_get_ibqp(struct ib_device *dev, int id); 358 int erdma_post_send(struct ib_qp *ibqp, const struct ib_send_wr *send_wr, [all …]
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | wr.h | 104 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 D | gsi.c | 199 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/drivers/infiniband/hw/qedr/ |
H A D | verbs.h | 58 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 *,
|
H A D | qedr_iw_cm.h | 45 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);
|
/linux/drivers/infiniband/core/ |
H A D | core_priv.h | 226 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);
|
H A D | counters.c | 79 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 …]
|
H A D | mr_pool.c | 8 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 D | verbs.c | 1106 struct ib_qp *qp = event->element.qp; in __ib_qp_event_handler() 1116 struct ib_qp *qp = context; in __ib_shared_qp_event_handler() 1126 static struct ib_qp *__ib_open_qp(struct ib_qp *real_qp, in __ib_open_qp() 1130 struct ib_qp *qp; in __ib_open_qp() 1160 struct ib_qp *ib_open_qp(struct ib_xrcd *xrcd, in ib_open_qp() 1163 struct ib_qp *qp, *real_qp; in ib_open_qp() 1181 static struct ib_qp *create_xrc_qp_user(struct ib_qp *qp, in create_xrc_qp_user() 1184 struct ib_qp *real_qp = qp; in create_xrc_qp_user() 1210 static struct ib_qp *create_qp(struct ib_device *dev, struct ib_pd *pd, in create_qp() 1216 struct ib_qp *qp; in create_qp() [all …]
|
H A D | rw.c | 91 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/drivers/infiniband/sw/siw/ |
H A D | siw_verbs.h | 53 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/drivers/infiniband/hw/hns/ |
H A D | hns_roce_restrack.c | 62 int hns_roce_fill_res_qp_entry(struct sk_buff *msg, struct ib_qp *ib_qp) in hns_roce_fill_res_qp_entry() argument 64 struct hns_roce_qp *hr_qp = to_hr_qp(ib_qp); in hns_roce_fill_res_qp_entry() 96 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 98 struct hns_roce_dev *hr_dev = to_hr_dev(ib_qp->device); in hns_roce_fill_res_qp_entry_raw() 99 struct hns_roce_qp *hr_qp = to_hr_qp(ib_qp); in hns_roce_fill_res_qp_entry_raw()
|
/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_verbs.h | 46 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/drivers/infiniband/hw/efa/ |
H A D | efa.h | 113 struct ib_qp ibqp; 150 int efa_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, 159 int efa_destroy_qp(struct ib_qp *ibqp, struct ib_udata *udata); 160 int efa_create_qp(struct ib_qp *ibqp, struct ib_qp_init_attr *init_attr, 184 int efa_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr,
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_verbs.h | 393 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/drivers/infiniband/hw/mlx4/ |
H A D | mlx4_ib.h | 320 struct ib_qp *roce_v2_gsi; 325 struct ib_qp ibqp; 460 struct ib_qp *qp; 715 static inline struct mlx4_ib_qp *to_mqp(struct ib_qp *ibqp) in to_mqp() 797 int mlx4_ib_create_qp(struct ib_qp *qp, struct ib_qp_init_attr *init_attr, 799 int mlx4_ib_destroy_qp(struct ib_qp *qp, struct ib_udata *udata); 800 void mlx4_ib_drain_sq(struct ib_qp *qp); 801 void mlx4_ib_drain_rq(struct ib_qp *qp); 802 int mlx4_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, 804 int mlx4_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *qp_attr, int qp_attr_mask, [all …]
|
/linux/drivers/infiniband/hw/cxgb4/ |
H A D | iw_cxgb4.h | 479 struct ib_qp ibqp; 496 static inline struct c4iw_qp *to_c4iw_qp(struct ib_qp *ibqp) in to_c4iw_qp() 991 int c4iw_post_send(struct ib_qp *ibqp, const struct ib_send_wr *wr, 993 int c4iw_post_receive(struct ib_qp *ibqp, const struct ib_recv_wr *wr, 1000 void c4iw_qp_add_ref(struct ib_qp *qp); 1001 void c4iw_qp_rem_ref(struct ib_qp *qp); 1023 int c4iw_destroy_qp(struct ib_qp *ib_qp, struct ib_udata *udata); 1024 int c4iw_create_qp(struct ib_qp *qp, struct ib_qp_init_attr *attrs, 1026 int c4iw_ib_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, 1028 int c4iw_ib_query_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, [all …]
|
/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_dev.h | 519 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);
|