/linux/drivers/infiniband/hw/mlx5/ |
H A D | srq_cmd.c | 84 struct mlx5_core_srq *srq; in mlx5_cmd_get_srq() local 114 static int create_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in create_srq_cmd() 164 static int destroy_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq) in destroy_srq_cmd() 175 static int arm_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in arm_srq_cmd() 189 static int query_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in query_srq_cmd() 217 struct mlx5_core_srq *srq, in create_xrc_srq_cmd() 271 struct mlx5_core_srq *srq) in destroy_xrc_srq_cmd() 282 static int arm_xrc_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in arm_xrc_srq_cmd() 298 struct mlx5_core_srq *srq, in query_xrc_srq_cmd() 328 static int create_rmp_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in create_rmp_cmd() [all …]
|
H A D | srq.c | 13 static void *get_wqe(struct mlx5_ib_srq *srq, int n) in get_wqe() 18 static void mlx5_ib_srq_event(struct mlx5_core_srq *srq, enum mlx5_event type) in mlx5_ib_srq_event() 43 static int create_srq_user(struct ib_pd *pd, struct mlx5_ib_srq *srq, in create_srq_user() 105 static int create_srq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_srq *srq, in create_srq_kernel() 171 static void destroy_srq_user(struct ib_pd *pd, struct mlx5_ib_srq *srq, in destroy_srq_user() 184 static void destroy_srq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_srq *srq) in destroy_srq_kernel() 196 struct mlx5_ib_srq *srq = to_msrq(ib_srq); in mlx5_ib_create_srq() local 332 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_modify_srq() local 357 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_query_srq() local 378 int mlx5_ib_destroy_srq(struct ib_srq *srq, struct ib_udata *udata) in mlx5_ib_destroy_srq() [all …]
|
H A D | odp.c | 1301 struct mlx5_ib_srq *srq, in mlx5_ib_mr_responder_pfault_handler_srq() 1345 struct mlx5_core_srq *srq; in odp_get_rsc() local 1429 struct mlx5_ib_srq *srq = res_to_srq(res); in mlx5_ib_mr_wqe_pfault_handler() local
|
/linux/drivers/infiniband/hw/mlx4/ |
H A D | srq.c | 42 static void *get_wqe(struct mlx4_ib_srq *srq, int n) in get_wqe() 47 static void mlx4_ib_srq_event(struct mlx4_srq *srq, enum mlx4_event type) in mlx4_ib_srq_event() 79 struct mlx4_ib_srq *srq = to_msrq(ib_srq); in mlx4_ib_create_srq() local 228 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_modify_srq() local 253 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_query_srq() local 268 int mlx4_ib_destroy_srq(struct ib_srq *srq, struct ib_udata *udata) in mlx4_ib_destroy_srq() 293 void mlx4_ib_free_srq_wqe(struct mlx4_ib_srq *srq, int wqe_index) in mlx4_ib_free_srq_wqe() 310 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_post_srq_recv() local
|
/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_srq.c | 74 static void *get_wqe(struct mthca_srq *srq, int n) in get_wqe() 99 struct mthca_srq *srq, in mthca_tavor_init_srq_context() 120 struct mthca_srq *srq, in mthca_arbel_init_srq_context() 147 static void mthca_free_srq_buf(struct mthca_dev *dev, struct mthca_srq *srq) in mthca_free_srq_buf() 155 struct mthca_srq *srq, struct ib_udata *udata) in mthca_alloc_srq_buf() 207 struct ib_srq_attr *attr, struct mthca_srq *srq, in mthca_alloc_srq() 327 static inline int get_srq_refcount(struct mthca_dev *dev, struct mthca_srq *srq) in get_srq_refcount() 338 void mthca_free_srq(struct mthca_dev *dev, struct mthca_srq *srq) in mthca_free_srq() 376 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_modify_srq() local 399 struct mthca_srq *srq = to_msrq(ibsrq); in mthca_query_srq() local [all …]
|
H A D | mthca_cq.c | 274 struct mthca_srq *srq) in mthca_cq_clean() 540 struct mthca_srq *srq = to_msrq((*cur_qp)->ibqp.srq); in mthca_poll_one() local
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | srq.c | 46 struct mlx4_srq *srq; in mlx4_srq_event() local 163 struct mlx4_mtt *mtt, u64 db_rec, struct mlx4_srq *srq) in mlx4_srq_alloc() 222 void mlx4_srq_free(struct mlx4_dev *dev, struct mlx4_srq *srq) in mlx4_srq_free() 243 int mlx4_srq_arm(struct mlx4_dev *dev, struct mlx4_srq *srq, int limit_watermark) in mlx4_srq_arm() 249 int mlx4_srq_query(struct mlx4_dev *dev, struct mlx4_srq *srq, int *limit_watermark) in mlx4_srq_query() 295 struct mlx4_srq *srq; in mlx4_srq_lookup() local
|
H A D | resource_tracker.c | 113 struct res_srq *srq; member 1712 enum res_srq_states state, struct res_srq **srq) in srq_res_start_move_to() 2724 int srq = (be32_to_cpu(qpc->srqn) >> 24) & 1; in qp_get_mtt_size() local 2971 struct res_srq *srq; in mlx4_RST2INIT_QP_wrapper() local 3619 struct res_srq *srq = NULL; in mlx4_SW2HW_SRQ_wrapper() local 3663 struct res_srq *srq = NULL; in mlx4_HW2SW_SRQ_wrapper() local 3692 struct res_srq *srq; in mlx4_QUERY_SRQ_wrapper() local 3715 struct res_srq *srq; in mlx4_ARM_SRQ_wrapper() local 4739 struct res_srq *srq; in rem_slave_srqs() local
|
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_srq.c | 44 int rxe_srq_from_init(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_init() 100 int rxe_srq_chk_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_chk_attr() 151 int rxe_srq_from_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_attr() 192 struct rxe_srq *srq = container_of(elem, typeof(*srq), elem); in rxe_srq_cleanup() local
|
H A D | rxe_resp.c | 261 struct rxe_srq *srq = qp->srq; in get_srq_wqe() local 313 struct rxe_srq *srq = qp->srq; in check_resource() local
|
/linux/drivers/infiniband/sw/rdmavt/ |
H A D | srq.c | 38 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_create_srq() local 128 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_modify_srq() local 281 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_query_srq() local 296 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_destroy_srq() local
|
H A D | qp.c | 1084 struct rvt_srq *srq = ibsrq_to_rvtsrq(init_attr->srq); in rvt_create_qp() local 2206 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_post_srq_recv() local 2348 struct rvt_srq *srq; in rvt_get_rwqe() local
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_srq.c | 65 struct pvrdma_srq *srq = to_vsrq(ibsrq); in pvrdma_query_srq() local 102 struct pvrdma_srq *srq = to_vsrq(ibsrq); in pvrdma_create_srq() local 216 static void pvrdma_free_srq(struct pvrdma_dev *dev, struct pvrdma_srq *srq) in pvrdma_free_srq() 243 int pvrdma_destroy_srq(struct ib_srq *srq, struct ib_udata *udata) in pvrdma_destroy_srq()
|
/linux/drivers/infiniband/hw/cxgb4/ |
H A D | cq.c | 462 static void post_pending_srq_wrs(struct t4_srq *srq) in post_pending_srq_wrs() 491 static u64 reap_srq_cqe(struct t4_cqe *hw_cqe, struct t4_srq *srq) in reap_srq_cqe() 546 struct t4_srq *srq) in poll_cq() 755 struct ib_wc *wc, struct c4iw_srq *srq) in __c4iw_poll_cq_one() 923 struct c4iw_srq *srq = NULL; in c4iw_poll_cq_one() local
|
H A D | t4.h | 425 static inline u32 t4_srq_avail(struct t4_srq *srq) in t4_srq_avail() 430 static inline void t4_srq_produce(struct t4_srq *srq, u8 len16) in t4_srq_produce() 441 static inline void t4_srq_produce_pending_wr(struct t4_srq *srq) in t4_srq_produce_pending_wr() 449 static inline void t4_srq_consume_pending_wr(struct t4_srq *srq) in t4_srq_consume_pending_wr() 457 static inline void t4_srq_produce_ooo(struct t4_srq *srq) in t4_srq_produce_ooo() 463 static inline void t4_srq_consume_ooo(struct t4_srq *srq) in t4_srq_consume_ooo() 472 static inline void t4_srq_consume(struct t4_srq *srq) in t4_srq_consume() 582 static inline void t4_ring_srq_db(struct t4_srq *srq, u16 inc, u8 len16, in t4_ring_srq_db()
|
/linux/drivers/infiniband/core/ |
H A D | uverbs_std_types_srq.c | 14 struct ib_srq *srq = uobject->object; in uverbs_free_srq() local 46 struct ib_srq *srq; in UVERBS_HANDLER() local
|
H A D | cma_priv.h | 93 u8 srq; member
|
/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_fp.c | 358 struct bnxt_qplib_srq *srq; in bnxt_qplib_service_nq() local 619 struct bnxt_qplib_srq *srq) in bnxt_qplib_destroy_srq() 643 struct bnxt_qplib_srq *srq) in bnxt_qplib_create_srq() 719 struct bnxt_qplib_srq *srq) in bnxt_qplib_query_srq() 753 int bnxt_qplib_post_srq_recv(struct bnxt_qplib_srq *srq, in bnxt_qplib_post_srq_recv() 2695 static void bnxt_qplib_release_srqe(struct bnxt_qplib_srq *srq, u32 tag) in bnxt_qplib_release_srqe() 2711 struct bnxt_qplib_srq *srq; in bnxt_qplib_cq_process_res_rc() local 2791 struct bnxt_qplib_srq *srq; in bnxt_qplib_cq_process_res_ud() local 2891 struct bnxt_qplib_srq *srq; in bnxt_qplib_cq_process_res_raweth_qp1() local
|
H A D | ib_verbs.c | 1282 struct bnxt_re_srq *srq; in bnxt_re_init_rq_attr() local 1773 struct bnxt_re_srq *srq = container_of(ib_srq, struct bnxt_re_srq, in bnxt_re_destroy_srq() local 1790 struct bnxt_re_srq *srq, in bnxt_re_init_user_srq() 1827 struct bnxt_re_srq *srq; in bnxt_re_create_srq() local 1921 struct bnxt_re_srq *srq = container_of(ib_srq, struct bnxt_re_srq, in bnxt_re_modify_srq() local 1950 struct bnxt_re_srq *srq = container_of(ib_srq, struct bnxt_re_srq, in bnxt_re_query_srq() local 1973 struct bnxt_re_srq *srq = container_of(ib_srq, struct bnxt_re_srq, in bnxt_re_post_srq_recv() local 4410 struct bnxt_re_srq *srq = NULL, *tmp_srq; in bnxt_re_search_for_srq() local 4685 struct bnxt_re_srq *srq; in UVERBS_HANDLER() local
|
H A D | main.c | 1196 struct bnxt_re_srq *srq; in bnxt_re_fill_res_srq_entry() local 1222 struct bnxt_re_srq *srq; in bnxt_re_fill_res_srq_entry_raw() local 1428 struct bnxt_re_srq *srq = NULL; in bnxt_re_handle_qp_async_event() local 1642 struct bnxt_re_srq *srq = container_of(handle, struct bnxt_re_srq, in bnxt_re_srqn_handler() local
|
/linux/drivers/net/ |
H A D | eql.c | 416 slaving_request_t srq; in eql_enslave() local 458 slaving_request_t srq; in eql_emancipate() local
|
/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hw_v2.c | 872 static void *get_srq_wqe_buf(struct hns_roce_srq *srq, u32 n) in get_srq_wqe_buf() 883 static void hns_roce_free_srq_wqe(struct hns_roce_srq *srq, u32 wqe_index) in hns_roce_free_srq_wqe() 894 static int hns_roce_srqwq_overflow(struct hns_roce_srq *srq) in hns_roce_srqwq_overflow() 901 static int check_post_srq_valid(struct hns_roce_srq *srq, u32 max_sge, in check_post_srq_valid() 922 static int get_srq_wqe_idx(struct hns_roce_srq *srq, u32 *wqe_idx) in get_srq_wqe_idx() 936 static void fill_wqe_idx(struct hns_roce_srq *srq, unsigned int wqe_idx) in fill_wqe_idx() 950 static void update_srq_db(struct hns_roce_srq *srq) in update_srq_db() 966 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_v2_post_srq_recv() local 3560 struct hns_roce_srq *srq) in __hns_roce_v2_cq_clean() 3603 struct hns_roce_srq *srq) in hns_roce_v2_cq_clean() [all …]
|
/linux/include/rdma/ |
H A D | ib_cm.h | 116 unsigned int srq:1; member 131 unsigned int srq:1; member 369 u8 srq; member 393 u8 srq; member
|
H A D | rdma_cm.h | 77 u8 srq; member
|
/linux/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 2401 struct ocrdma_srq *srq = get_ocrdma_srq(attrs->srq); in ocrdma_mbx_create_qp() local 2739 int ocrdma_mbx_create_srq(struct ocrdma_dev *dev, struct ocrdma_srq *srq, in ocrdma_mbx_create_srq() 2814 int ocrdma_mbx_modify_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr) in ocrdma_mbx_modify_srq() 2832 int ocrdma_mbx_query_srq(struct ocrdma_srq *srq, struct ib_srq_attr *srq_attr) in ocrdma_mbx_query_srq() 2858 void ocrdma_mbx_destroy_srq(struct ocrdma_dev *dev, struct ocrdma_srq *srq) in ocrdma_mbx_destroy_srq()
|