Searched refs:hns_roce_qp (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 48 struct hns_roce_qp *hr_qp = container_of(flush_work, in flush_work_handle() 49 struct hns_roce_qp, flush_work); in flush_work_handle() 73 void init_flush_work(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in init_flush_work() 86 struct hns_roce_qp *qp; in hns_roce_qp_event() 114 static void hns_roce_ib_qp_event(struct hns_roce_qp *hr_qp, in hns_roce_ib_qp_event() 157 static int alloc_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpn() 208 struct hns_roce_qp *hr_qp, in add_qp_to_list() 231 struct hns_roce_qp *hr_qp, in hns_roce_qp_store() 251 static int alloc_qpc(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpc() 315 void hns_roce_qp_remove(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in hns_roce_qp_remove() [all …]
|
D | hns_roce_device.h | 628 struct hns_roce_qp { struct 651 void (*event)(struct hns_roce_qp *qp, argument 932 struct hns_roce_qp *hr_qp); 1046 static inline struct hns_roce_qp *to_hr_qp(struct ib_qp *ibqp) in to_hr_qp() 1048 return container_of(ibqp, struct hns_roce_qp, ibqp); in to_hr_qp() 1066 static inline struct hns_roce_qp 1248 void init_flush_work(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp); 1249 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, int n); 1250 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, int n); 1251 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_qp, int n); [all …]
|
D | Makefile | 9 hns_roce_ah.o hns_roce_hem.o hns_roce_mr.o hns_roce_qp.o \
|
D | hns_roce_hw_v2.c | 157 static unsigned int get_std_sge_num(struct hns_roce_qp *qp) in get_std_sge_num() 165 static int fill_ext_sge_inl_data(struct hns_roce_qp *qp, in fill_ext_sge_inl_data() 226 static void set_extend_sge(struct hns_roce_qp *qp, struct ib_sge *sge, in set_extend_sge() 245 static bool check_inl_data_len(struct hns_roce_qp *qp, unsigned int len) in check_inl_data_len() 260 static int set_rc_inl(struct hns_roce_qp *qp, const struct ib_send_wr *wr, in set_rc_inl() 319 struct hns_roce_qp *qp = to_hr_qp(ibqp); in set_rwqe_data_seg() 359 struct hns_roce_qp *hr_qp) in check_send_valid() 430 static inline int set_ud_wqe(struct hns_roce_qp *qp, in set_ud_wqe() 566 static inline int set_rc_wqe(struct hns_roce_qp *qp, in set_rc_wqe() 611 struct hns_roce_qp *qp) in update_sq_db() [all …]
|
D | hns_roce_hw_v1.c | 70 struct hns_roce_qp *qp = to_hr_qp(ibqp); in hns_roce_v1_post_send() 348 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_v1_post_recv() 661 static struct hns_roce_qp *hns_roce_v1_create_lp_qp(struct hns_roce_dev *hr_dev, in hns_roce_v1_create_lp_qp() 692 struct hns_roce_qp *hr_qp; in hns_roce_v1_rsv_lp_qp() 860 struct hns_roce_qp *hr_qp; in hns_roce_v1_release_lp_qp() 974 static int hns_roce_v1_send_lp_wqe(struct hns_roce_qp *hr_qp) in hns_roce_v1_send_lp_wqe() 1012 struct hns_roce_qp *hr_qp; in hns_roce_v1_mr_free_work_fn() 2100 struct hns_roce_qp **cur_qp, struct ib_wc *wc) in hns_roce_v1_poll_one() 2108 struct hns_roce_qp *hr_qp; in hns_roce_v1_poll_one() 2305 struct hns_roce_qp *cur_qp = NULL; in hns_roce_v1_poll_cq() [all …]
|
D | hns_roce_hw_v1.h | 1058 struct hns_roce_qp *qp; 1082 struct hns_roce_qp *mr_free_qp[HNS_ROCE_V1_RESV_QP];
|
D | hns_roce_main.c | 823 struct hns_roce_qp *hr_qp; in hns_roce_handle_device_err()
|