Searched refs:hns_roce_srq (Results 1 - 11 of 11) sorted by relevance
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/ |
H A 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 *sr in alloc_srq_wqe_buf() [all...] |
H A D | Makefile | 10 hns_roce_cq.o hns_roce_alloc.o hns_roce_db.o hns_roce_srq.o hns_roce_restrack.o
|
H A D | hns_roce_device.h | 435 struct hns_roce_srq { struct 455 void (*event)(struct hns_roce_srq *srq, enum hns_roce_event event); 908 int (*write_srqc)(struct hns_roce_srq *srq, void *mb_buf); 1027 static inline struct hns_roce_srq *to_hr_srq(struct ib_srq *ibsrq) in to_hr_srq() 1029 return container_of(ibsrq, struct hns_roce_srq, ibsrq); in to_hr_srq()
|
H A 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() 3487 struct hns_roce_srq *srq) in __hns_roce_v2_cq_clean() 3530 struct hns_roce_srq *sr in hns_roce_v2_cq_clean() [all...] |
H A D | hns_roce_main.c | 661 INIT_RDMA_OBJ_SIZE(ib_srq, hns_roce_srq, ibsrq),
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A 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() 162 static void free_srqc(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srqc() 182 static int alloc_srq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq, in alloc_srq_buf() 210 static void free_srq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srq_buf() 215 static int alloc_srq_idx(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq, in alloc_srq_idx() 257 static void free_srq_idx(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srq_idx() 266 static int alloc_srq_wrid(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in alloc_srq_wrid() 277 static void free_srq_wrid(struct hns_roce_srq *sr [all...] |
H A D | Makefile | 10 hns_roce_cq.o hns_roce_alloc.o hns_roce_db.o hns_roce_srq.o hns_roce_restrack.o
|
H A D | hns_roce_device.h | 485 struct hns_roce_srq { struct 504 void (*event)(struct hns_roce_srq *srq, enum hns_roce_event event); 944 struct hns_roce_srq *srq, u32 pdn, u16 xrcd, u32 cqn, 1054 static inline struct hns_roce_srq *to_hr_srq(struct ib_srq *ibsrq) in to_hr_srq() 1056 return container_of(ibsrq, struct hns_roce_srq, ibsrq); in to_hr_srq()
|
H A D | hns_roce_hw_v2.c | 826 static void *get_srq_wqe(struct hns_roce_srq *srq, int n) in get_srq_wqe() 837 static void hns_roce_free_srq_wqe(struct hns_roce_srq *srq, int wqe_index) in hns_roce_free_srq_wqe() 868 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_v2_post_srq_recv() 2988 struct hns_roce_srq *srq) in __hns_roce_v2_cq_clean() 3042 struct hns_roce_srq *srq) in hns_roce_v2_cq_clean() 3310 struct hns_roce_srq *srq = NULL; in hns_roce_v2_poll_one() 5145 struct hns_roce_srq *srq, u32 pdn, u16 xrcd, in hns_roce_v2_write_srqc() 5244 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_v2_modify_srq() 5292 struct hns_roce_srq *srq = to_hr_srq(ibsrq); in hns_roce_v2_query_srq()
|
H A D | hns_roce_main.c | 476 INIT_RDMA_OBJ_SIZE(ib_srq, hns_roce_srq, ibsrq),
|
H A D | hns_roce_hw_v1.c | 2010 struct hns_roce_srq *srq) in __hns_roce_v1_cq_clean() 2058 struct hns_roce_srq *srq) in hns_roce_v1_cq_clean()
|
Completed in 28 milliseconds