Searched refs:hns_roce_srq (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/infiniband/hw/hns/ |
D | hns_roce_srq.c | 15 struct hns_roce_srq *srq; in hns_roce_srq_event() 34 static void hns_roce_ib_srq_event(struct hns_roce_srq *srq, in hns_roce_ib_srq_event() 62 static int alloc_srqn(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in alloc_srqn() 79 static void free_srqn(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srqn() 85 struct hns_roce_srq *srq) in hns_roce_create_srqc() 113 static int alloc_srqc(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in alloc_srqc() 145 static void free_srqc(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srqc() 165 static int alloc_srq_idx(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq, in alloc_srq_idx() 209 static void free_srq_idx(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srq_idx() 219 struct hns_roce_srq *srq, in alloc_srq_wqe_buf() [all …]
|
D | Makefile | 10 hns_roce_cq.o hns_roce_alloc.o hns_roce_db.o hns_roce_srq.o hns_roce_restrack.o
|
D | hns_roce_device.h | 435 struct hns_roce_srq { struct 455 void (*event)(struct hns_roce_srq *srq, enum hns_roce_event event); argument 907 int (*write_srqc)(struct hns_roce_srq *srq, void *mb_buf); 1026 static inline struct hns_roce_srq *to_hr_srq(struct ib_srq *ibsrq) in to_hr_srq() 1028 return container_of(ibsrq, struct hns_roce_srq, ibsrq); in to_hr_srq()
|
D | hns_roce_hw_v2.c | 866 static void *get_srq_wqe_buf(struct hns_roce_srq *srq, u32 n) in get_srq_wqe_buf() 877 static void hns_roce_free_srq_wqe(struct hns_roce_srq *srq, u32 wqe_index) in hns_roce_free_srq_wqe() 888 static int hns_roce_srqwq_overflow(struct hns_roce_srq *srq) in hns_roce_srqwq_overflow() 895 static int check_post_srq_valid(struct hns_roce_srq *srq, u32 max_sge, in check_post_srq_valid() 916 static int get_srq_wqe_idx(struct hns_roce_srq *srq, u32 *wqe_idx) in get_srq_wqe_idx() 930 static void fill_wqe_idx(struct hns_roce_srq *srq, unsigned int wqe_idx) in fill_wqe_idx() 944 static void update_srq_db(struct hns_roce_v2_db *db, struct hns_roce_srq *srq) in update_srq_db() 956 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_v2_post_srq_recv() 3483 struct hns_roce_srq *srq) in __hns_roce_v2_cq_clean() 3526 struct hns_roce_srq *srq) in hns_roce_v2_cq_clean() [all …]
|
D | hns_roce_main.c | 667 INIT_RDMA_OBJ_SIZE(ib_srq, hns_roce_srq, ibsrq),
|