Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dsrq_cmd.c84 struct mlx5_core_srq *srq; in mlx5_cmd_get_srq() local
95 static int create_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in create_srq_cmd()
133 static int destroy_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq) in destroy_srq_cmd()
147 static int arm_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in arm_srq_cmd()
163 static int query_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in query_srq_cmd()
193 struct mlx5_core_srq *srq, in create_xrc_srq_cmd()
235 struct mlx5_core_srq *srq) in destroy_xrc_srq_cmd()
249 static int arm_xrc_srq_cmd(struct mlx5_ib_dev *dev, struct mlx5_core_srq *srq, in arm_xrc_srq_cmd()
266 struct mlx5_core_srq *srq, in query_xrc_srq_cmd()
299 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()
131 static int create_srq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_srq *srq, in create_srq_kernel()
197 static void destroy_srq_user(struct ib_pd *pd, struct mlx5_ib_srq *srq, in destroy_srq_user()
210 static void destroy_srq_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_srq *srq) in destroy_srq_kernel()
222 struct mlx5_ib_srq *srq = to_msrq(ib_srq); in mlx5_ib_create_srq() local
340 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_modify_srq() local
365 struct mlx5_ib_srq *srq = to_msrq(ibsrq); in mlx5_ib_query_srq() local
386 void mlx5_ib_destroy_srq(struct ib_srq *srq, struct ib_udata *udata) in mlx5_ib_destroy_srq()
[all …]
Dcq.c170 struct mlx5_ib_srq *srq; in handle_responder() local
508 struct mlx5_ib_srq *srq; in mlx5_poll_one() local
1011 void __mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 rsn, struct mlx5_ib_srq *srq) in __mlx5_ib_cq_clean()
1062 void mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 qpn, struct mlx5_ib_srq *srq) in mlx5_ib_cq_clean()
/Linux-v5.4/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()
82 u64 db_rec_addr, struct hns_roce_srq *srq) in hns_roce_srq_alloc()
158 struct hns_roce_srq *srq) in hns_roce_srq_free()
178 static int create_user_srq(struct hns_roce_srq *srq, struct ib_udata *udata, in create_user_srq()
248 static int hns_roce_create_idx_que(struct ib_pd *pd, struct hns_roce_srq *srq, in hns_roce_create_idx_que()
269 static int create_kernel_srq(struct hns_roce_srq *srq, int srq_buf_size) in create_kernel_srq()
337 struct hns_roce_srq *srq) in destroy_user_srq()
346 struct hns_roce_srq *srq, int srq_buf_size) in destroy_kernel_srq()
362 struct hns_roce_srq *srq = to_hr_srq(ib_srq); in hns_roce_create_srq() local
[all …]
Dhns_roce_hw_v2.c2468 static void *get_srq_wqe(struct hns_roce_srq *srq, int n) in get_srq_wqe()
2473 static void hns_roce_free_srq_wqe(struct hns_roce_srq *srq, int wqe_index) in hns_roce_free_srq_wqe()
2490 struct hns_roce_srq *srq) in __hns_roce_v2_cq_clean()
2544 struct hns_roce_srq *srq) in hns_roce_v2_cq_clean()
2694 struct hns_roce_srq *srq = NULL; in hns_roce_v2_poll_one() local
6030 struct hns_roce_srq *srq, u32 pdn, u16 xrcd, in hns_roce_v2_write_srqc()
6129 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_v2_modify_srq() local
6172 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_v2_query_srq() local
6236 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_v2_post_srq_recv() local
/Linux-v5.4/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
222 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_modify_srq() local
247 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_query_srq() local
262 void mlx4_ib_destroy_srq(struct ib_srq *srq, struct ib_udata *udata) in mlx4_ib_destroy_srq()
286 void mlx4_ib_free_srq_wqe(struct mlx4_ib_srq *srq, int wqe_index) in mlx4_ib_free_srq_wqe()
303 struct mlx4_ib_srq *srq = to_msrq(ibsrq); in mlx4_ib_post_srq_recv() local
Dcq.c668 struct mlx4_ib_srq *srq; in mlx4_ib_poll_one() local
919 void __mlx4_ib_cq_clean(struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq) in __mlx4_ib_cq_clean()
972 void mlx4_ib_cq_clean(struct mlx4_ib_cq *cq, u32 qpn, struct mlx4_ib_srq *srq) in mlx4_ib_cq_clean()
/Linux-v5.4/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.4/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()
300 struct mlx4_srq *srq; in mlx4_srq_lookup() local
/Linux-v5.4/drivers/infiniband/sw/rdmavt/
Dsrq.c80 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_create_srq() local
170 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_modify_srq() local
322 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_query_srq() local
337 struct rvt_srq *srq = ibsrq_to_rvtsrq(ibsrq); in rvt_destroy_srq() local
/Linux-v5.4/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 void pvrdma_destroy_srq(struct ib_srq *srq, struct ib_udata *udata) in pvrdma_destroy_srq()
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_srq.c39 int rxe_srq_chk_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_chk_attr()
101 int rxe_srq_from_init(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_init()
149 int rxe_srq_from_attr(struct rxe_dev *rxe, struct rxe_srq *srq, in rxe_srq_from_attr()
Drxe_verbs.c298 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_create_srq() local
336 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_modify_srq() local
365 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_query_srq() local
378 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_destroy_srq() local
392 struct rxe_srq *srq = to_rsrq(ibsrq); in rxe_post_srq_recv() local
/Linux-v5.4/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.c1340 static void defer_srq_wr(struct t4_srq *srq, union t4_recv_wr *wqe, in defer_srq_wr()
1360 struct c4iw_srq *srq; in c4iw_post_srq_recv() local
2424 void c4iw_dispatch_srq_limit_reached_event(struct c4iw_srq *srq) in c4iw_dispatch_srq_limit_reached_event()
2438 struct c4iw_srq *srq = to_c4iw_srq(ib_srq); in c4iw_modify_srq() local
2480 static void free_srq_queue(struct c4iw_srq *srq, struct c4iw_dev_ucontext *uctx, in free_srq_queue()
2517 static int alloc_srq_queue(struct c4iw_srq *srq, struct c4iw_dev_ucontext *uctx, in alloc_srq_queue()
2652 void c4iw_copy_wr_to_srq(struct t4_srq *srq, union t4_recv_wr *wqe, u8 len16) in c4iw_copy_wr_to_srq()
2674 struct c4iw_srq *srq = to_c4iw_srq(ib_srq); in c4iw_create_srq() local
2803 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()
592 static inline void t4_ring_srq_db(struct t4_srq *srq, u16 inc, u8 len16, in t4_ring_srq_db()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_fp.c492 static void bnxt_qplib_arm_srq(struct bnxt_qplib_srq *srq, u32 arm_type) in bnxt_qplib_arm_srq()
511 struct bnxt_qplib_srq *srq) in bnxt_qplib_destroy_srq()
533 struct bnxt_qplib_srq *srq) in bnxt_qplib_create_srq()
612 struct bnxt_qplib_srq *srq) in bnxt_qplib_modify_srq()
634 struct bnxt_qplib_srq *srq) in bnxt_qplib_query_srq()
660 int bnxt_qplib_post_srq_recv(struct bnxt_qplib_srq *srq, in bnxt_qplib_post_srq_recv()
2319 static void bnxt_qplib_release_srqe(struct bnxt_qplib_srq *srq, u32 tag) in bnxt_qplib_release_srqe()
2336 struct bnxt_qplib_srq *srq; in bnxt_qplib_cq_process_res_rc() local
2411 struct bnxt_qplib_srq *srq; in bnxt_qplib_cq_process_res_ud() local
2508 struct bnxt_qplib_srq *srq; in bnxt_qplib_cq_process_res_raweth_qp1() local
Dib_verbs.c1010 struct bnxt_re_srq *srq; in bnxt_re_create_qp() local
1293 struct bnxt_re_srq *srq = container_of(ib_srq, struct bnxt_re_srq, in bnxt_re_destroy_srq() local
1310 struct bnxt_re_srq *srq, in bnxt_re_init_user_srq()
1347 struct bnxt_re_srq *srq = in bnxt_re_create_srq() local
1420 struct bnxt_re_srq *srq = container_of(ib_srq, struct bnxt_re_srq, in bnxt_re_modify_srq() local
1454 struct bnxt_re_srq *srq = container_of(ib_srq, struct bnxt_re_srq, in bnxt_re_query_srq() local
1477 struct bnxt_re_srq *srq = container_of(ib_srq, struct bnxt_re_srq, in bnxt_re_post_srq_recv() local
/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw_verbs.c1473 struct siw_srq *srq = to_siw_srq(base_srq); in siw_create_srq() local
1560 struct siw_srq *srq = to_siw_srq(base_srq); in siw_modify_srq() local
1596 struct siw_srq *srq = to_siw_srq(base_srq); in siw_query_srq() local
1620 struct siw_srq *srq = to_siw_srq(base_srq); in siw_destroy_srq() local
1648 struct siw_srq *srq = to_siw_srq(base_srq); in siw_post_srq_recv() local
1738 void siw_srq_event(struct siw_srq *srq, enum ib_event_type etype) in siw_srq_event()
/Linux-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c1186 int dpp_credit_lmt, int srq) in ocrdma_copy_qp_uresp()
1556 static void ocrdma_srq_toggle_bit(struct ocrdma_srq *srq, unsigned int idx) in ocrdma_srq_toggle_bit()
1747 static int ocrdma_copy_srq_uresp(struct ocrdma_dev *dev, struct ocrdma_srq *srq, in ocrdma_copy_srq_uresp()
1786 struct ocrdma_srq *srq = get_ocrdma_srq(ibsrq); in ocrdma_create_srq() local
1848 struct ocrdma_srq *srq; in ocrdma_modify_srq() local
1861 struct ocrdma_srq *srq; in ocrdma_query_srq() local
1870 struct ocrdma_srq *srq; in ocrdma_destroy_srq() local
2278 static int ocrdma_srq_get_idx(struct ocrdma_srq *srq) in ocrdma_srq_get_idx()
2297 static void ocrdma_ring_srq_db(struct ocrdma_srq *srq) in ocrdma_ring_srq_db()
2309 struct ocrdma_srq *srq; in ocrdma_post_srq_recv() local
[all …]
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dverbs.c96 struct qedr_srq *srq = get_qedr_srq(ibsrq); in qedr_query_srq() local
1124 struct qedr_srq *srq, struct ib_udata *udata) in qedr_copy_srq_uresp()
1260 static void qedr_free_srq_user_params(struct qedr_srq *srq) in qedr_free_srq_user_params()
1267 static void qedr_free_srq_kernel_params(struct qedr_srq *srq) in qedr_free_srq_kernel_params()
1280 struct qedr_srq *srq, in qedr_init_srq_user_params()
1310 static int qedr_alloc_srq_kernel_params(struct qedr_srq *srq, in qedr_alloc_srq_kernel_params()
1365 struct qedr_srq *srq = get_qedr_srq(ibsrq); in qedr_create_srq() local
1455 struct qedr_srq *srq = get_qedr_srq(ibsrq); in qedr_destroy_srq() local
1476 struct qedr_srq *srq = get_qedr_srq(ibsrq); in qedr_modify_srq() local
3447 struct qedr_srq *srq = get_qedr_srq(ibsrq); in qedr_post_srq_recv() local
[all …]
/Linux-v5.4/drivers/net/
Deql.c410 slaving_request_t srq; in eql_enslave() local
453 slaving_request_t srq; in eql_emancipate() local
/Linux-v5.4/include/rdma/
Dib_cm.h143 unsigned int srq:1; member
157 unsigned int srq:1; member
398 u8 srq; member
421 u8 srq; member
/Linux-v5.4/drivers/infiniband/core/
Dverbs.c970 struct ib_srq *srq; in ib_create_srq() local
1011 int ib_modify_srq(struct ib_srq *srq, in ib_modify_srq()
1021 int ib_query_srq(struct ib_srq *srq, in ib_query_srq()
1029 int ib_destroy_srq_user(struct ib_srq *srq, struct ib_udata *udata) in ib_destroy_srq_user()
1872 struct ib_srq *srq; in ib_destroy_qp_user() local
Duverbs_std_types.c149 struct ib_srq *srq = uobject->object; in uverbs_free_srq() local

123