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()
421 static u32 proc_rq_sge(struct hns_roce_dev *dev, struct hns_roce_qp *hr_qp, in proc_rq_sge()
444 struct hns_roce_qp *hr_qp, int has_rq, bool user) in set_rq_size()
501 static void update_inline_data(struct hns_roce_qp *hr_qp, in update_inline_data()
551 struct hns_roce_qp *hr_qp, struct ib_qp_cap *cap) in set_ext_sge_param()
620 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp, in set_user_sq_size()
648 struct hns_roce_qp *hr_qp, in set_wqe_buf_attr()
699 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp) in set_kernel_sq_size()
747 static int alloc_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_buf()
778 static void free_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qp_buf()
812 static int qp_mmap_entry(struct hns_roce_qp *hr_qp, in qp_mmap_entry()
842 struct hns_roce_qp *hr_qp, in alloc_user_qp_db()
885 struct hns_roce_qp *hr_qp, in alloc_kernel_qp_db()
916 static int alloc_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_db()
953 static void free_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in free_qp_db()
973 struct hns_roce_qp *hr_qp) in alloc_kernel_wrid()
1004 static void free_kernel_wrid(struct hns_roce_qp *hr_qp) in free_kernel_wrid()
1011 struct hns_roce_qp *hr_qp) in default_congest_type()
1020 static int set_congest_type(struct hns_roce_qp *hr_qp, in set_congest_type()
1053 struct hns_roce_qp *hr_qp, in set_congest_param()
1064 static int set_qp_param(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in set_qp_param()
1125 struct hns_roce_qp *hr_qp) in hns_roce_create_qp_common()
1229 void hns_roce_qp_destroy(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in hns_roce_qp_destroy()
1278 struct hns_roce_qp *hr_qp = to_hr_qp(qp); in hns_roce_create_qp()
1322 struct hns_roce_qp *hr_qp, in check_mtu_validate()
1347 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_check_qp_attr()
1394 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_modify_qp()
1505 static inline void *get_wqe(struct hns_roce_qp *hr_qp, u32 offset) in get_wqe()
1510 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_recv_wqe()
1515 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_send_wqe()
1520 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_extend_sge()