/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A 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_q [all...] |
H A D | hns_roce_device.h | 626 struct hns_roce_qp { struct 649 void (*event)(struct hns_roce_qp *qp, 930 struct hns_roce_qp *hr_qp); 1044 static inline struct hns_roce_qp *to_hr_qp(struct ib_qp *ibqp) in to_hr_qp() 1046 return container_of(ibqp, struct hns_roce_qp, ibqp); in to_hr_qp() 1064 static inline struct hns_roce_qp 1246 void init_flush_work(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp); 1247 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, int n); 1248 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, int n); 1249 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_q [all...] |
H A D | Makefile | 9 hns_roce_ah.o hns_roce_hem.o hns_roce_mr.o hns_roce_qp.o \
|
H A 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 *q in update_sq_db() [all...] |
H A 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() 737 static struct hns_roce_qp *hns_roce_v1_create_lp_qp(struct hns_roce_dev *hr_dev, in hns_roce_v1_create_lp_qp() 768 struct hns_roce_qp *hr_qp; in hns_roce_v1_rsv_lp_qp() 936 struct hns_roce_qp *hr_qp; in hns_roce_v1_release_lp_qp() 1050 static int hns_roce_v1_send_lp_wqe(struct hns_roce_qp *hr_qp) in hns_roce_v1_send_lp_wqe() 1088 struct hns_roce_qp *hr_qp; in hns_roce_v1_mr_free_work_fn() 2171 struct hns_roce_qp **cur_qp, struct ib_wc *wc) in hns_roce_v1_poll_one() 2179 struct hns_roce_qp *hr_qp; in hns_roce_v1_poll_one() 2376 struct hns_roce_qp *cur_q in hns_roce_v1_poll_cq() [all...] |
H A D | hns_roce_hw_v1.h | 1063 struct hns_roce_qp *qp; 1087 struct hns_roce_qp *mr_free_qp[HNS_ROCE_V1_RESV_QP];
|
H A D | hns_roce_main.c | 821 struct hns_roce_qp *hr_qp; in hns_roce_handle_device_err()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/ |
H A D | hns_roce_qp.c | 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_q [all...] |
H A D | hns_roce_device.h | 591 struct hns_roce_qp { struct 611 void (*event)(struct hns_roce_qp *qp, 904 struct hns_roce_qp *hr_qp); 1017 static inline struct hns_roce_qp *to_hr_qp(struct ib_qp *ibqp) in to_hr_qp() 1019 return container_of(ibqp, struct hns_roce_qp, ibqp); in to_hr_qp() 1043 static inline struct hns_roce_qp 1201 void init_flush_work(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp); 1202 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, unsigned int n); 1203 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, unsigned int n); 1204 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_q [all...] |
H A D | hns_roce_restrack.c | 64 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()
|
H A D | Makefile | 9 hns_roce_ah.o hns_roce_hem.o hns_roce_mr.o hns_roce_qp.o \
|
H A D | hns_roce_hw_v2.c | 190 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 *q in update_rq_db() [all...] |
H A D | hns_roce_main.c | 632 INIT_RDMA_OBJ_SIZE(ib_qp, hns_roce_qp, ibqp), 983 struct hns_roce_qp *hr_qp; in hns_roce_handle_device_err()
|
H A D | hns_roce_hw_v2.h | 1303 struct hns_roce_qp *rsv_qp[HNS_ROCE_FREE_MR_USED_QP_NUM];
|