Home
last modified time | relevance | path

Searched refs:hns_roce_cq (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/hns/
Dhns_roce_cq.c42 static void hns_roce_ib_cq_comp(struct hns_roce_cq *hr_cq) in hns_roce_ib_cq_comp()
49 static void hns_roce_ib_cq_event(struct hns_roce_cq *hr_cq, in hns_roce_ib_cq_event()
86 struct hns_roce_cq *hr_cq, int vector) in hns_roce_cq_alloc()
182 void hns_roce_free_cq(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in hns_roce_free_cq()
300 struct hns_roce_cq *hr_cq, in create_user_cq()
347 struct hns_roce_cq *hr_cq, int cq_entries) in create_kernel_cq()
384 struct hns_roce_cq *hr_cq, in destroy_user_cq()
400 struct hns_roce_cq *hr_cq) in destroy_kernel_cq()
416 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_ib_create_cq()
495 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_ib_destroy_cq()
[all …]
Dhns_roce_device.h490 struct hns_roce_cq { struct
497 void (*comp)(struct hns_roce_cq *cq); argument
498 void (*event)(struct hns_roce_cq *cq, enum hns_roce_event event_type); argument
955 struct hns_roce_cq *hr_cq, void *mb_buf, u64 *mtts,
1085 static inline struct hns_roce_cq *to_hr_cq(struct ib_cq *ib_cq) in to_hr_cq()
1087 return container_of(ib_cq, struct hns_roce_cq, ib_cq); in to_hr_cq()
1249 void hns_roce_lock_cqs(struct hns_roce_cq *send_cq,
1250 struct hns_roce_cq *recv_cq);
1251 void hns_roce_unlock_cqs(struct hns_roce_cq *send_cq,
1252 struct hns_roce_cq *recv_cq);
[all …]
DMakefile10 hns_roce_cq.o hns_roce_alloc.o hns_roce_db.o hns_roce_srq.o hns_roce_restrack.o
Dhns_roce_restrack.c84 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_fill_res_cq_entry()
Dhns_roce_qp.c1232 void hns_roce_lock_cqs(struct hns_roce_cq *send_cq, struct hns_roce_cq *recv_cq) in hns_roce_lock_cqs()
1247 void hns_roce_unlock_cqs(struct hns_roce_cq *send_cq, in hns_roce_unlock_cqs()
1248 struct hns_roce_cq *recv_cq) __releases(&send_cq->lock) in hns_roce_unlock_cqs()
1288 struct hns_roce_cq *hr_cq; in hns_roce_wq_overflow()
Dhns_roce_hw_v1.c1035 struct hns_roce_cq *mr_free_cq; in hns_roce_v1_mr_free_work_fn()
1980 static void *get_cqe(struct hns_roce_cq *hr_cq, int n) in get_cqe()
1986 static void *get_sw_cqe(struct hns_roce_cq *hr_cq, int n) in get_sw_cqe()
1995 static struct hns_roce_cqe *next_cqe_sw(struct hns_roce_cq *hr_cq) in next_cqe_sw()
2000 static void hns_roce_v1_cq_set_ci(struct hns_roce_cq *hr_cq, u32 cons_index) in hns_roce_v1_cq_set_ci()
2017 static void __hns_roce_v1_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in __hns_roce_v1_cq_clean()
2065 static void hns_roce_v1_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in hns_roce_v1_cq_clean()
2074 struct hns_roce_cq *hr_cq, void *mb_buf, in hns_roce_v1_write_cqc()
2162 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v1_req_notify_cq()
2188 static int hns_roce_v1_poll_one(struct hns_roce_cq *hr_cq, in hns_roce_v1_poll_one()
[all …]
Dhns_roce_hw_v2.c2448 static void *get_cqe_v2(struct hns_roce_cq *hr_cq, int n) in get_cqe_v2()
2454 static void *get_sw_cqe_v2(struct hns_roce_cq *hr_cq, int n) in get_sw_cqe_v2()
2463 static struct hns_roce_v2_cqe *next_cqe_sw_v2(struct hns_roce_cq *hr_cq) in next_cqe_sw_v2()
2484 static void hns_roce_v2_cq_set_ci(struct hns_roce_cq *hr_cq, u32 cons_index) in hns_roce_v2_cq_set_ci()
2489 static void __hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in __hns_roce_v2_cq_clean()
2543 static void hns_roce_v2_cq_clean(struct hns_roce_cq *hr_cq, u32 qpn, in hns_roce_v2_cq_clean()
2552 struct hns_roce_cq *hr_cq, void *mb_buf, in hns_roce_v2_write_cqc()
2627 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v2_req_notify_cq()
2691 static int hns_roce_v2_poll_one(struct hns_roce_cq *hr_cq, in hns_roce_v2_poll_one()
2971 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v2_poll_cq()
[all …]
Dhns_roce_hw_v1.h1083 struct hns_roce_cq *mr_free_cq;
Dhns_roce_main.c450 INIT_RDMA_OBJ_SIZE(ib_cq, hns_roce_cq, ib_cq),