Searched refs:hns_roce_qp (Results 1 – 6 of 6) sorted by relevance
| /Linux-v6.1/drivers/infiniband/hw/hns/ |
| 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() 212 static int alloc_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpn() 244 struct hns_roce_qp *hr_qp, in add_qp_to_list() 267 struct hns_roce_qp *hr_qp, in hns_roce_qp_store() 287 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 | 595 struct hns_roce_qp { struct 615 void (*event)(struct hns_roce_qp *qp, argument 889 struct hns_roce_qp *hr_qp); 1000 static inline struct hns_roce_qp *to_hr_qp(struct ib_qp *ibqp) in to_hr_qp() 1002 return container_of(ibqp, struct hns_roce_qp, ibqp); in to_hr_qp() 1026 static inline struct hns_roce_qp 1188 void init_flush_work(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp); 1189 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, unsigned int n); 1190 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, unsigned int n); 1191 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_qp, unsigned int n); [all …]
|
| 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() 250 static void set_extend_sge(struct hns_roce_qp *qp, struct ib_sge *sge, in set_extend_sge() 269 static bool check_inl_data_len(struct hns_roce_qp *qp, unsigned int len) in check_inl_data_len() 284 static int set_rc_inl(struct hns_roce_qp *qp, const struct ib_send_wr *wr, in set_rc_inl() 336 struct hns_roce_qp *qp = to_hr_qp(ibqp); in set_rwqe_data_seg() 374 struct hns_roce_qp *hr_qp) in check_send_valid() 474 static inline int set_ud_wqe(struct hns_roce_qp *qp, in set_ud_wqe() 576 static inline int set_rc_wqe(struct hns_roce_qp *qp, in set_rc_wqe() 628 struct hns_roce_qp *qp) in update_sq_db() 645 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_restrack.c | 84 struct hns_roce_qp *hr_qp = to_hr_qp(ib_qp); in hns_roce_fill_res_qp_entry() 119 struct hns_roce_qp *hr_qp = to_hr_qp(ib_qp); in hns_roce_fill_res_qp_entry_raw()
|
| D | hns_roce_main.c | 534 INIT_RDMA_OBJ_SIZE(ib_qp, hns_roce_qp, ibqp), 876 struct hns_roce_qp *hr_qp; in hns_roce_handle_device_err()
|