Lines Matching refs:hns_roce_qp

46 	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()
362 static void qp_user_mmap_entry_remove(struct hns_roce_qp *hr_qp) in qp_user_mmap_entry_remove()
367 void hns_roce_qp_remove(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in hns_roce_qp_remove()
386 static void free_qpc(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qpc()
401 static void free_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qpn()
420 static u32 proc_rq_sge(struct hns_roce_dev *dev, struct hns_roce_qp *hr_qp, in proc_rq_sge()
443 struct hns_roce_qp *hr_qp, int has_rq, bool user) in set_rq_size()
500 static void update_inline_data(struct hns_roce_qp *hr_qp, in update_inline_data()
548 struct hns_roce_qp *hr_qp, struct ib_qp_cap *cap) in set_ext_sge_param()
617 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp, in set_user_sq_size()
645 struct hns_roce_qp *hr_qp, in set_wqe_buf_attr()
696 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp) in set_kernel_sq_size()
744 static int alloc_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_buf()
775 static void free_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qp_buf()
809 static int qp_mmap_entry(struct hns_roce_qp *hr_qp, in qp_mmap_entry()
839 struct hns_roce_qp *hr_qp, in alloc_user_qp_db()
882 struct hns_roce_qp *hr_qp, in alloc_kernel_qp_db()
913 static int alloc_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_db()
950 static void free_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in free_qp_db()
970 struct hns_roce_qp *hr_qp) in alloc_kernel_wrid()
1001 static void free_kernel_wrid(struct hns_roce_qp *hr_qp) in free_kernel_wrid()
1007 static int set_qp_param(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in set_qp_param()
1063 struct hns_roce_qp *hr_qp) in hns_roce_create_qp_common()
1165 void hns_roce_qp_destroy(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in hns_roce_qp_destroy()
1213 struct hns_roce_qp *hr_qp = to_hr_qp(qp); in hns_roce_create_qp()
1254 struct hns_roce_qp *hr_qp, in check_mtu_validate()
1279 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_check_qp_attr()
1325 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_modify_qp()
1422 static inline void *get_wqe(struct hns_roce_qp *hr_qp, u32 offset) in get_wqe()
1427 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_recv_wqe()
1432 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_send_wqe()
1437 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_extend_sge()