Searched refs:hns_roce_srq (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/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() 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 …]
|
| 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 | 464 struct hns_roce_srq { struct 484 void (*event)(struct hns_roce_srq *srq, enum hns_roce_event event); argument 930 int (*write_srqc)(struct hns_roce_srq *srq, void *mb_buf); 1047 static inline struct hns_roce_srq *to_hr_srq(struct ib_srq *ibsrq) in to_hr_srq() 1049 return container_of(ibsrq, struct hns_roce_srq, ibsrq); in to_hr_srq()
|
| D | hns_roce_hw_v2.c | 894 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() 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 …]
|
| D | hns_roce_main.c | 482 INIT_RDMA_OBJ_SIZE(ib_srq, hns_roce_srq, ibsrq),
|
| D | hns_roce_hw_v1.c | 2018 struct hns_roce_srq *srq) in __hns_roce_v1_cq_clean() 2060 struct hns_roce_srq *srq) in hns_roce_v1_cq_clean()
|