Searched refs:hns_roce_qp (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.15/drivers/infiniband/hw/hns/ |
| D | hns_roce_qp.c | 47 struct hns_roce_qp *hr_qp = container_of(flush_work, in flush_work_handle() 48 struct hns_roce_qp, flush_work); in flush_work_handle() 72 void init_flush_work(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in init_flush_work() 82 void flush_cqe(struct hns_roce_dev *dev, struct hns_roce_qp *qp) in flush_cqe() 100 struct hns_roce_qp *qp; in hns_roce_qp_event() 130 static void hns_roce_ib_qp_event(struct hns_roce_qp *hr_qp, in hns_roce_ib_qp_event() 214 static int alloc_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpn() 275 struct hns_roce_qp *hr_qp, in add_qp_to_list() 298 struct hns_roce_qp *hr_qp, in hns_roce_qp_store() 318 static int alloc_qpc(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpc() [all …]
|
| D | hns_roce_device.h | 621 struct hns_roce_qp { struct 644 void (*event)(struct hns_roce_qp *qp, argument 924 struct hns_roce_qp *hr_qp); 1037 static inline struct hns_roce_qp *to_hr_qp(struct ib_qp *ibqp) in to_hr_qp() 1039 return container_of(ibqp, struct hns_roce_qp, ibqp); in to_hr_qp() 1057 static inline struct hns_roce_qp 1222 void init_flush_work(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp); 1223 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, unsigned int n); 1224 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, unsigned int n); 1225 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_qp, unsigned int n); [all …]
|
| D | hns_roce_hw_v2.c | 155 static int fill_ext_sge_inl_data(struct hns_roce_qp *qp, in fill_ext_sge_inl_data() 216 static void set_extend_sge(struct hns_roce_qp *qp, struct ib_sge *sge, in set_extend_sge() 235 static bool check_inl_data_len(struct hns_roce_qp *qp, unsigned int len) in check_inl_data_len() 250 static int set_rc_inl(struct hns_roce_qp *qp, const struct ib_send_wr *wr, in set_rc_inl() 307 struct hns_roce_qp *qp = to_hr_qp(ibqp); in set_rwqe_data_seg() 349 struct hns_roce_qp *hr_qp) in check_send_valid() 458 static inline int set_ud_wqe(struct hns_roce_qp *qp, in set_ud_wqe() 572 static inline int set_rc_wqe(struct hns_roce_qp *qp, in set_rc_wqe() 625 struct hns_roce_qp *qp) in update_sq_db() 642 struct hns_roce_qp *qp) in update_rq_db() [all …]
|
| D | Makefile | 9 hns_roce_ah.o hns_roce_hem.o hns_roce_mr.o hns_roce_qp.o \
|
| D | hns_roce_hw_v1.c | 86 struct hns_roce_qp *qp = to_hr_qp(ibqp); in hns_roce_v1_post_send() 362 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_v1_post_recv() 748 static struct hns_roce_qp *hns_roce_v1_create_lp_qp(struct hns_roce_dev *hr_dev, in hns_roce_v1_create_lp_qp() 779 struct hns_roce_qp *hr_qp; in hns_roce_v1_rsv_lp_qp() 947 struct hns_roce_qp *hr_qp; in hns_roce_v1_release_lp_qp() 1061 static int hns_roce_v1_send_lp_wqe(struct hns_roce_qp *hr_qp) in hns_roce_v1_send_lp_wqe() 1099 struct hns_roce_qp *hr_qp; in hns_roce_v1_mr_free_work_fn() 2173 struct hns_roce_qp **cur_qp, struct ib_wc *wc) in hns_roce_v1_poll_one() 2181 struct hns_roce_qp *hr_qp; in hns_roce_v1_poll_one() 2378 struct hns_roce_qp *cur_qp = NULL; in hns_roce_v1_poll_cq() [all …]
|
| D | hns_roce_hw_v1.h | 1106 struct hns_roce_qp *qp; 1130 struct hns_roce_qp *mr_free_qp[HNS_ROCE_V1_RESV_QP];
|
| D | hns_roce_main.c | 458 INIT_RDMA_OBJ_SIZE(ib_qp, hns_roce_qp, ibqp), 792 struct hns_roce_qp *hr_qp; in hns_roce_handle_device_err()
|