Home
last modified time | relevance | path

Searched defs:srq (Results 1 – 25 of 67) sorted by relevance

123

/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_srq.c15 struct hns_roce_srq *srq; in hns_roce_srq_event() local
34 static void hns_roce_ib_srq_event(struct hns_roce_srq *srq, in hns_roce_ib_srq_event()
80 static int alloc_srqc(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in alloc_srqc()
144 static void free_srqc(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srqc()
164 static int alloc_srq_idx(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq, in alloc_srq_idx()
208 static void free_srq_idx(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srq_idx()
218 struct hns_roce_srq *srq, in alloc_srq_wqe_buf()
246 struct hns_roce_srq *srq) in free_srq_wqe_buf()
251 static int alloc_srq_wrid(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in alloc_srq_wrid()
260 static void free_srq_wrid(struct hns_roce_srq *srq) in free_srq_wrid()
[all …]
Dhns_roce_hw_v2.c894 static void *get_srq_wqe_buf(struct hns_roce_srq *srq, u32 n) in get_srq_wqe_buf()
905 static void hns_roce_free_srq_wqe(struct hns_roce_srq *srq, u32 wqe_index) in hns_roce_free_srq_wqe()
916 static int hns_roce_srqwq_overflow(struct hns_roce_srq *srq) in hns_roce_srqwq_overflow()
923 static int check_post_srq_valid(struct hns_roce_srq *srq, u32 max_sge, in check_post_srq_valid()
944 static int get_srq_wqe_idx(struct hns_roce_srq *srq, u32 *wqe_idx) in get_srq_wqe_idx()
958 static void fill_wqe_idx(struct hns_roce_srq *srq, unsigned int wqe_idx) in fill_wqe_idx()
972 static void update_srq_db(struct hns_roce_v2_db *db, struct hns_roce_srq *srq) in update_srq_db()
984 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_v2_post_srq_recv() local
3271 struct hns_roce_srq *srq) in __hns_roce_v2_cq_clean()
3314 struct hns_roce_srq *srq) in hns_roce_v2_cq_clean()
[all …]
/Linux-v5.15/drivers/infiniband/hw/mlx5/
Dsrq_cmd.c84 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 …]
Dsrq.c14 static void *get_wqe(struct mlx5_ib_srq *srq, int n) in get_wqe()
19 static void mlx5_ib_srq_event(struct mlx5_core_srq *srq, enum mlx5_event type) in mlx5_ib_srq_event()
44 static int create_srq_user(struct ib_pd *pd, struct mlx5_ib_srq *srq, in create_srq_user()
106 static int create_srq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_srq *srq, in create_srq_kernel()
172 static void destroy_srq_user(struct ib_pd *pd, struct mlx5_ib_srq *srq, in destroy_srq_user()
185 static void destroy_srq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_srq *srq) in destroy_srq_kernel()
197 struct mlx5_ib_srq *srq = to_msrq(ib_srq); in mlx5_ib_create_srq() local
326 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_modify_srq() local
351 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_query_srq() local
372 int mlx5_ib_destroy_srq(struct ib_srq *srq, struct ib_udata *udata) in mlx5_ib_destroy_srq()
[all …]
Dcq.c171 struct mlx5_ib_srq *srq = NULL; in handle_responder() local
530 struct mlx5_ib_srq *srq; in mlx5_poll_one() local
1061 void __mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 rsn, struct mlx5_ib_srq *srq) in __mlx5_ib_cq_clean()
1112 void mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 qpn, struct mlx5_ib_srq *srq) in mlx5_ib_cq_clean()
/Linux-v5.15/drivers/infiniband/hw/mlx4/
Dsrq.c42 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
Dcq.c663 struct mlx4_ib_srq *srq; in mlx4_ib_poll_one() local
915 void __mlx4_ib_cq_clean(struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq) in __mlx4_ib_cq_clean()
968 void mlx4_ib_cq_clean(struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq) in mlx4_ib_cq_clean()
/Linux-v5.15/drivers/infiniband/hw/mthca/
Dmthca_srq.c74 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 …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/
Dsrq.c46 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
/Linux-v5.15/drivers/infiniband/sw/rdmavt/
Dsrq.c38 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
/Linux-v5.15/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_srq.c65 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-v5.15/drivers/infiniband/sw/rxe/
Drxe_srq.c12 int rxe_srq_chk_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_chk_attr()
74 int rxe_srq_from_init(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_init()
125 int rxe_srq_from_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_attr()
Drxe_verbs.c274 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_create_srq() local
318 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_modify_srq() local
347 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_query_srq() local
360 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_destroy_srq() local
375 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_post_srq_recv() local
/Linux-v5.15/drivers/infiniband/core/
Duverbs_std_types_srq.c14 struct ib_srq *srq = uobject->object; in uverbs_free_srq() local
46 struct ib_srq *srq; in UVERBS_HANDLER() local
Duverbs_std_types_qp.c93 struct ib_srq *srq = NULL; in UVERBS_HANDLER() local
/Linux-v5.15/drivers/infiniband/hw/cxgb4/
Dcq.c462 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
Dqp.c1341 static void defer_srq_wr(struct t4_srq *srq, union t4_recv_wr *wqe, in defer_srq_wr()
1361 struct c4iw_srq *srq; in c4iw_post_srq_recv() local
2416 void c4iw_dispatch_srq_limit_reached_event(struct c4iw_srq *srq) in c4iw_dispatch_srq_limit_reached_event()
2430 struct c4iw_srq *srq = to_c4iw_srq(ib_srq); in c4iw_modify_srq() local
2472 static void free_srq_queue(struct c4iw_srq *srq, struct c4iw_dev_ucontext *uctx, in free_srq_queue()
2509 static int alloc_srq_queue(struct c4iw_srq *srq, struct c4iw_dev_ucontext *uctx, in alloc_srq_queue()
2644 void c4iw_copy_wr_to_srq(struct t4_srq *srq, union t4_recv_wr *wqe, u8 len16) in c4iw_copy_wr_to_srq()
2666 struct c4iw_srq *srq = to_c4iw_srq(ib_srq); in c4iw_create_srq() local
2798 struct c4iw_srq *srq; in c4iw_destroy_srq() local
Dt4.h425 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-v5.15/drivers/infiniband/sw/siw/
Dsiw_verbs.c1556 struct siw_srq *srq = to_siw_srq(base_srq); in siw_create_srq() local
1646 struct siw_srq *srq = to_siw_srq(base_srq); in siw_modify_srq() local
1682 struct siw_srq *srq = to_siw_srq(base_srq); in siw_query_srq() local
1706 struct siw_srq *srq = to_siw_srq(base_srq); in siw_destroy_srq() local
1734 struct siw_srq *srq = to_siw_srq(base_srq); in siw_post_srq_recv() local
1824 void siw_srq_event(struct siw_srq *srq, enum ib_event_type etype) in siw_srq_event()
/Linux-v5.15/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c353 struct bnxt_qplib_srq *srq; in bnxt_qplib_service_nq() local
580 struct bnxt_qplib_srq *srq) in bnxt_qplib_destroy_srq()
602 struct bnxt_qplib_srq *srq) in bnxt_qplib_create_srq()
677 struct bnxt_qplib_srq *srq) in bnxt_qplib_modify_srq()
699 struct bnxt_qplib_srq *srq) in bnxt_qplib_query_srq()
725 int bnxt_qplib_post_srq_recv(struct bnxt_qplib_srq *srq, in bnxt_qplib_post_srq_recv()
2419 static void bnxt_qplib_release_srqe(struct bnxt_qplib_srq *srq, u32 tag) in bnxt_qplib_release_srqe()
2434 struct bnxt_qplib_srq *srq; in bnxt_qplib_cq_process_res_rc() local
2515 struct bnxt_qplib_srq *srq; in bnxt_qplib_cq_process_res_ud() local
2618 struct bnxt_qplib_srq *srq; in bnxt_qplib_cq_process_res_raweth_qp1() local
Dib_verbs.c1099 struct bnxt_re_srq *srq; in bnxt_re_init_rq_attr() local
1551 struct bnxt_re_srq *srq = container_of(ib_srq, struct bnxt_re_srq, in bnxt_re_destroy_srq() local
1569 struct bnxt_re_srq *srq, in bnxt_re_init_user_srq()
1606 struct bnxt_re_srq *srq; in bnxt_re_create_srq() local
1688 struct bnxt_re_srq *srq = container_of(ib_srq, struct bnxt_re_srq, in bnxt_re_modify_srq() local
1722 struct bnxt_re_srq *srq = container_of(ib_srq, struct bnxt_re_srq, in bnxt_re_query_srq() local
1745 struct bnxt_re_srq *srq = container_of(ib_srq, struct bnxt_re_srq, in bnxt_re_post_srq_recv() local
/Linux-v5.15/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1171 int dpp_credit_lmt, int srq) in ocrdma_copy_qp_uresp()
1541 static void ocrdma_srq_toggle_bit(struct ocrdma_srq *srq, unsigned int idx) in ocrdma_srq_toggle_bit()
1731 static int ocrdma_copy_srq_uresp(struct ocrdma_dev *dev, struct ocrdma_srq *srq, in ocrdma_copy_srq_uresp()
1770 struct ocrdma_srq *srq = get_ocrdma_srq(ibsrq); in ocrdma_create_srq() local
1835 struct ocrdma_srq *srq; in ocrdma_modify_srq() local
1848 struct ocrdma_srq *srq; in ocrdma_query_srq() local
1857 struct ocrdma_srq *srq; in ocrdma_destroy_srq() local
2266 static int ocrdma_srq_get_idx(struct ocrdma_srq *srq) in ocrdma_srq_get_idx()
2285 static void ocrdma_ring_srq_db(struct ocrdma_srq *srq) in ocrdma_ring_srq_db()
2297 struct ocrdma_srq *srq; in ocrdma_post_srq_recv() local
[all …]
/Linux-v5.15/drivers/infiniband/hw/qedr/
Dverbs.c102 struct qedr_srq *srq = get_qedr_srq(ibsrq); in qedr_query_srq() local
1265 struct qedr_srq *srq, struct ib_udata *udata) in qedr_copy_srq_uresp()
1456 static void qedr_free_srq_user_params(struct qedr_srq *srq) in qedr_free_srq_user_params()
1463 static void qedr_free_srq_kernel_params(struct qedr_srq *srq) in qedr_free_srq_kernel_params()
1476 struct qedr_srq *srq, in qedr_init_srq_user_params()
1505 static int qedr_alloc_srq_kernel_params(struct qedr_srq *srq, in qedr_alloc_srq_kernel_params()
1562 struct qedr_srq *srq = get_qedr_srq(ibsrq); in qedr_create_srq() local
1666 struct qedr_srq *srq = get_qedr_srq(ibsrq); in qedr_destroy_srq() local
1689 struct qedr_srq *srq = get_qedr_srq(ibsrq); in qedr_modify_srq() local
3825 struct qedr_srq *srq = get_qedr_srq(ibsrq); in qedr_post_srq_recv() local
[all …]
/Linux-v5.15/drivers/net/
Deql.c416 slaving_request_t srq; in eql_enslave() local
459 slaving_request_t srq; in eql_emancipate() local
/Linux-v5.15/include/rdma/
Dib_cm.h116 unsigned int srq:1; member
131 unsigned int srq:1; member
373 u8 srq; member
397 u8 srq; member

123