Home
last modified time | relevance | path

Searched refs:hns_roce_srq (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/drivers/infiniband/hw/hns/
H A Dhns_roce_srq.c16 struct hns_roce_srq *srq; in hns_roce_srq_event()
35 static void hns_roce_ib_srq_event(struct hns_roce_srq *srq, in hns_roce_ib_srq_event()
86 struct hns_roce_srq *srq) in hns_roce_create_srqc()
220 struct hns_roce_srq *srq, in alloc_srq_wqe_buf()
248 struct hns_roce_srq *srq) in free_srq_wqe_buf()
253 static int alloc_srq_wrid(struct hns_roce_srq *srq) in alloc_srq_wrid()
262 static void free_srq_wrid(struct hns_roce_srq *srq) in free_srq_wrid()
318 static void set_srq_ext_param(struct hns_roce_srq *srq, in set_srq_ext_param()
328 static int set_srq_param(struct hns_roce_srq *srq, in set_srq_param()
470 struct hns_roce_srq *srq = to_hr_srq(ib_srq); in hns_roce_create_srq()
[all …]
H A DMakefile10 hns_roce_cq.o hns_roce_alloc.o hns_roce_db.o hns_roce_srq.o hns_roce_restrack.o \
H A Dhns_roce_restrack.c183 struct hns_roce_srq *hr_srq = to_hr_srq(ib_srq); in hns_roce_fill_res_srq_entry()
214 struct hns_roce_srq *hr_srq = to_hr_srq(ib_srq); in hns_roce_fill_res_srq_entry_raw()
H A Dhns_roce_device.h455 struct hns_roce_srq { struct
475 void (*event)(struct hns_roce_srq *srq, enum hns_roce_event event); argument
953 int (*write_srqc)(struct hns_roce_srq *srq, void *mb_buf);
1076 static inline struct hns_roce_srq *to_hr_srq(struct ib_srq *ibsrq) in to_hr_srq()
1078 return container_of(ibsrq, struct hns_roce_srq, ibsrq); in to_hr_srq()
H A Dhns_roce_hw_v2.c865 static void *get_srq_wqe_buf(struct hns_roce_srq *srq, u32 n) in get_srq_wqe_buf()
887 static int hns_roce_srqwq_overflow(struct hns_roce_srq *srq) in hns_roce_srqwq_overflow()
894 static int check_post_srq_valid(struct hns_roce_srq *srq, u32 max_sge, in check_post_srq_valid()
915 static int get_srq_wqe_idx(struct hns_roce_srq *srq, u32 *wqe_idx) in get_srq_wqe_idx()
943 static void update_srq_db(struct hns_roce_srq *srq) in update_srq_db()
959 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_v2_post_srq_recv()
3562 struct hns_roce_srq *srq) in __hns_roce_v2_cq_clean()
3605 struct hns_roce_srq *srq) in hns_roce_v2_cq_clean()
3951 struct hns_roce_srq *srq = NULL; in hns_roce_v2_poll_one()
5867 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_v2_modify_srq()
[all …]
H A Dhns_roce_main.c692 INIT_RDMA_OBJ_SIZE(ib_srq, hns_roce_srq, ibsrq),