Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/hns/
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()
63 static int alloc_srqn(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in alloc_srqn()
80 static void free_srqn(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srqn()
86 struct hns_roce_srq *srq) in hns_roce_create_srqc()
114 static int alloc_srqc(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in alloc_srqc()
146 static void free_srqc(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srqc()
166 static int alloc_srq_idx(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq, in alloc_srq_idx()
210 static void free_srq_idx(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srq_idx()
220 struct hns_roce_srq *srq, in alloc_srq_wqe_buf()
[all …]
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()
DMakefile10 hns_roce_cq.o hns_roce_alloc.o hns_roce_db.o hns_roce_srq.o hns_roce_restrack.o \
Dhns_roce_device.h455 struct hns_roce_srq { struct
475 void (*event)(struct hns_roce_srq *srq, enum hns_roce_event event); argument
956 int (*write_srqc)(struct hns_roce_srq *srq, void *mb_buf);
1081 static inline struct hns_roce_srq *to_hr_srq(struct ib_srq *ibsrq) in to_hr_srq()
1083 return container_of(ibsrq, struct hns_roce_srq, ibsrq); in to_hr_srq()
Dhns_roce_hw_v2.c868 static void *get_srq_wqe_buf(struct hns_roce_srq *srq, u32 n) in get_srq_wqe_buf()
879 static void hns_roce_free_srq_wqe(struct hns_roce_srq *srq, u32 wqe_index) in hns_roce_free_srq_wqe()
890 static int hns_roce_srqwq_overflow(struct hns_roce_srq *srq) in hns_roce_srqwq_overflow()
897 static int check_post_srq_valid(struct hns_roce_srq *srq, u32 max_sge, in check_post_srq_valid()
918 static int get_srq_wqe_idx(struct hns_roce_srq *srq, u32 *wqe_idx) in get_srq_wqe_idx()
932 static void fill_wqe_idx(struct hns_roce_srq *srq, unsigned int wqe_idx) in fill_wqe_idx()
946 static void update_srq_db(struct hns_roce_srq *srq) in update_srq_db()
962 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_v2_post_srq_recv()
3534 struct hns_roce_srq *srq) in __hns_roce_v2_cq_clean()
3577 struct hns_roce_srq *srq) in hns_roce_v2_cq_clean()
[all …]
Dhns_roce_main.c687 INIT_RDMA_OBJ_SIZE(ib_srq, hns_roce_srq, ibsrq),