Home
last modified time | relevance | path

Searched refs:hns_roce_qp (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/hns/
Dhns_roce_qp.c46 struct hns_roce_qp *hr_qp = container_of(flush_work, in flush_work_handle()
47 struct hns_roce_qp, flush_work); in flush_work_handle()
71 void init_flush_work(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in init_flush_work()
81 void flush_cqe(struct hns_roce_dev *dev, struct hns_roce_qp *qp) in flush_cqe()
99 struct hns_roce_qp *qp; in hns_roce_qp_event()
128 static void hns_roce_ib_qp_event(struct hns_roce_qp *hr_qp, in hns_roce_ib_qp_event()
227 static int alloc_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qpn()
260 struct hns_roce_qp *hr_qp, in add_qp_to_list()
283 struct hns_roce_qp *hr_qp, in hns_roce_qp_store()
303 static int alloc_qpc(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpc()
[all …]
Dhns_roce_device.h584 struct hns_roce_qp { struct
604 void (*event)(struct hns_roce_qp *qp, argument
903 struct hns_roce_qp *hr_qp);
1016 static inline struct hns_roce_qp *to_hr_qp(struct ib_qp *ibqp) in to_hr_qp()
1018 return container_of(ibqp, struct hns_roce_qp, ibqp); in to_hr_qp()
1042 static inline struct hns_roce_qp
1200 void init_flush_work(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp);
1201 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, unsigned int n);
1202 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, unsigned int n);
1203 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_qp, unsigned int n);
[all …]
Dhns_roce_restrack.c64 struct hns_roce_qp *hr_qp = to_hr_qp(ib_qp); in hns_roce_fill_res_qp_entry()
99 struct hns_roce_qp *hr_qp = to_hr_qp(ib_qp); in hns_roce_fill_res_qp_entry_raw()
Dhns_roce_hw_v2.c190 static int fill_ext_sge_inl_data(struct hns_roce_qp *qp, in fill_ext_sge_inl_data()
249 static void set_extend_sge(struct hns_roce_qp *qp, struct ib_sge *sge, in set_extend_sge()
268 static bool check_inl_data_len(struct hns_roce_qp *qp, unsigned int len) in check_inl_data_len()
283 static int set_rc_inl(struct hns_roce_qp *qp, const struct ib_send_wr *wr, in set_rc_inl()
335 struct hns_roce_qp *qp = to_hr_qp(ibqp); in set_rwqe_data_seg()
373 struct hns_roce_qp *hr_qp) in check_send_valid()
466 static inline int set_ud_wqe(struct hns_roce_qp *qp, in set_ud_wqe()
568 static inline int set_rc_wqe(struct hns_roce_qp *qp, in set_rc_wqe()
620 struct hns_roce_qp *qp) in update_sq_db()
637 struct hns_roce_qp *qp) in update_rq_db()
[all …]
DMakefile9 hns_roce_ah.o hns_roce_hem.o hns_roce_mr.o hns_roce_qp.o \
Dhns_roce_main.c643 INIT_RDMA_OBJ_SIZE(ib_qp, hns_roce_qp, ibqp),
985 struct hns_roce_qp *hr_qp; in hns_roce_handle_device_err()
Dhns_roce_hw_v2.h1303 struct hns_roce_qp *rsv_qp[HNS_ROCE_FREE_MR_USED_QP_NUM];