Searched refs:hns_roce_cq (Results 1 – 9 of 9) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_cq.c | 42 static int alloc_cqc(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in alloc_cqc() 118 static void free_cqc(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in free_cqc() 145 static int alloc_cq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq, in alloc_cq_buf() 167 static void free_cq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in free_cq_buf() 172 static int alloc_cq_db(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq, in alloc_cq_db() 208 static void free_cq_db(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq, in free_cq_db() 227 static void set_cqe_size(struct hns_roce_cq *hr_cq, struct ib_udata *udata, in set_cqe_size() 247 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_create_cq() 337 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_destroy_cq() 350 struct hns_roce_cq *hr_cq; in hns_roce_cq_completion() [all …]
|
| H A D | hns_roce_device.h | 458 struct hns_roce_cq { struct 918 struct hns_roce_cq *hr_cq, void *mb_buf, u64 *mtts, 1051 static inline struct hns_roce_cq *to_hr_cq(struct ib_cq *ib_cq) in to_hr_cq() 1053 return container_of(ib_cq, struct hns_roce_cq, ib_cq); in to_hr_cq() 1255 void hns_roce_lock_cqs(struct hns_roce_cq *send_cq, 1256 struct hns_roce_cq *recv_cq); 1257 void hns_roce_unlock_cqs(struct hns_roce_cq *send_cq, 1258 struct hns_roce_cq *recv_cq);
|
| 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_qp.c | 211 struct hns_roce_cq *hr_send_cq, *hr_recv_cq; in add_qp_to_list() 1206 void hns_roce_lock_cqs(struct hns_roce_cq *send_cq, struct hns_roce_cq *recv_cq) in hns_roce_lock_cqs() 1230 void hns_roce_unlock_cqs(struct hns_roce_cq *send_cq, in hns_roce_unlock_cqs() 1231 struct hns_roce_cq *recv_cq) __releases(&send_cq->lock) in hns_roce_unlock_cqs() 1278 struct hns_roce_cq *hr_cq; in hns_roce_wq_overflow()
|
| H A D | hns_roce_restrack.c | 83 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_fill_res_cq_entry()
|
| H A D | hns_roce_main.c | 451 INIT_RDMA_OBJ_SIZE(ib_cq, hns_roce_cq, ib_cq), 808 struct hns_roce_cq *hr_cq = to_hr_cq(cq); in check_and_get_armed_cq() 824 struct hns_roce_cq *hr_cq; in hns_roce_handle_device_err()
|
| H A D | hns_roce_hw_v1.c | 1008 struct hns_roce_cq *mr_free_cq = free_mr->mr_free_cq; in hns_roce_v1_mr_free_work_fn() 1897 static void *get_cqe(struct hns_roce_cq *hr_cq, int n) in get_cqe() 1902 static void *get_sw_cqe(struct hns_roce_cq *hr_cq, int n) in get_sw_cqe() 1911 static struct hns_roce_cqe *next_cqe_sw(struct hns_roce_cq *hr_cq) in next_cqe_sw() 1916 static void hns_roce_v1_cq_set_ci(struct hns_roce_cq *hr_cq, u32 cons_index) in hns_roce_v1_cq_set_ci() 1933 static void __hns_roce_v1_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in __hns_roce_v1_cq_clean() 1981 static void hns_roce_v1_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in hns_roce_v1_cq_clean() 1990 struct hns_roce_cq *hr_cq, void *mb_buf, in hns_roce_v1_write_cqc() 2073 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v1_req_notify_cq() 2099 static int hns_roce_v1_poll_one(struct hns_roce_cq *hr_cq, in hns_roce_v1_poll_one() [all …]
|
| H A D | hns_roce_hw_v2.c | 2957 static void *get_cqe_v2(struct hns_roce_cq *hr_cq, int n) in get_cqe_v2() 2962 static void *get_sw_cqe_v2(struct hns_roce_cq *hr_cq, int n) in get_sw_cqe_v2() 2971 static inline void hns_roce_v2_cq_set_ci(struct hns_roce_cq *hr_cq, u32 ci) in hns_roce_v2_cq_set_ci() 2976 static void __hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in __hns_roce_v2_cq_clean() 3030 static void hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in hns_roce_v2_cq_clean() 3039 struct hns_roce_cq *hr_cq, void *mb_buf, in hns_roce_v2_write_cqc() 3117 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v2_req_notify_cq() 3205 static int hns_roce_v2_sw_poll_cq(struct hns_roce_cq *hr_cq, int num_entries, in hns_roce_v2_sw_poll_cq() 3230 struct hns_roce_cq *cq, struct hns_roce_v2_cqe *cqe, in get_cqe_status() 3295 static int hns_roce_v2_poll_one(struct hns_roce_cq *hr_cq, in hns_roce_v2_poll_one() [all …]
|
| H A D | hns_roce_hw_v1.h | 1083 struct hns_roce_cq *mr_free_cq;
|