Home
last modified time | relevance | path

Searched refs:hns_roce_qp (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/infiniband/hw/hns/
Dhns_roce_device.h525 struct hns_roce_qp { struct
553 void (*event)(struct hns_roce_qp *qp, argument
567 struct hns_roce_qp hr_qp; argument
866 static inline struct hns_roce_qp *to_hr_qp(struct ib_qp *ibqp) in to_hr_qp()
868 return container_of(ibqp, struct hns_roce_qp, ibqp); in to_hr_qp()
881 static inline struct hns_roce_sqp *hr_to_hr_sqp(struct hns_roce_qp *hr_qp) in hr_to_hr_sqp()
891 static inline struct hns_roce_qp
990 void *get_recv_wqe(struct hns_roce_qp *hr_qp, int n);
991 void *get_send_wqe(struct hns_roce_qp *hr_qp, int n);
992 void *get_send_extend_sge(struct hns_roce_qp *hr_qp, int n);
[all …]
Dhns_roce_qp.c48 struct hns_roce_qp *qp; in hns_roce_qp_event()
70 static void hns_roce_ib_qp_event(struct hns_roce_qp *hr_qp, in hns_roce_ib_qp_event()
146 struct hns_roce_qp *hr_qp) in hns_roce_gsi_qp_alloc()
176 struct hns_roce_qp *hr_qp) in hns_roce_qp_alloc()
239 void hns_roce_qp_remove(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in hns_roce_qp_remove()
251 void hns_roce_qp_free(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in hns_roce_qp_free()
283 struct hns_roce_qp *hr_qp) in hns_roce_set_rq_size()
341 struct hns_roce_qp *hr_qp, in hns_roce_set_user_sq_size()
419 struct hns_roce_qp *hr_qp) in hns_roce_set_kernel_sq_size()
516 struct hns_roce_qp *hr_qp) in hns_roce_create_qp_common()
[all …]
DMakefile9 hns_roce_ah.o hns_roce_hem.o hns_roce_mr.o hns_roce_qp.o \
Dhns_roce_hw_v1.c70 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()
683 static struct hns_roce_qp *hns_roce_v1_create_lp_qp(struct hns_roce_dev *hr_dev, in hns_roce_v1_create_lp_qp()
713 struct hns_roce_qp *hr_qp; in hns_roce_v1_rsv_lp_qp()
872 struct hns_roce_qp *hr_qp; in hns_roce_v1_release_lp_qp()
998 static int hns_roce_v1_send_lp_wqe(struct hns_roce_qp *hr_qp) in hns_roce_v1_send_lp_wqe()
1032 struct hns_roce_qp *hr_qp; in hns_roce_v1_mr_free_work_fn()
2222 struct hns_roce_qp **cur_qp, struct ib_wc *wc) in hns_roce_v1_poll_one()
2230 struct hns_roce_qp *hr_qp; in hns_roce_v1_poll_one()
2426 struct hns_roce_qp *cur_qp = NULL; in hns_roce_v1_poll_cq()
[all …]
Dhns_roce_hw_v2.c57 static void set_extend_sge(struct hns_roce_qp *qp, const struct ib_send_wr *wr, in set_extend_sge()
111 struct hns_roce_qp *qp = to_hr_qp(ibqp); in set_rwqe_data_seg()
181 struct hns_roce_qp *qp = to_hr_qp(ibqp); in hns_roce_v2_post_send()
559 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_v2_post_recv()
2009 struct hns_roce_qp **cur_qp, in hns_roce_handle_recv_inl_wqe()
2043 struct hns_roce_qp **cur_qp, struct ib_wc *wc) in hns_roce_v2_poll_one()
2047 struct hns_roce_qp *hr_qp; in hns_roce_v2_poll_one()
2304 struct hns_roce_qp *cur_qp = NULL; in hns_roce_v2_poll_cq()
2464 struct hns_roce_qp *hr_qp) in hns_roce_v2_qp_modify()
2484 static void set_access_flags(struct hns_roce_qp *hr_qp, in set_access_flags()
[all …]
Dhns_roce_hw_v1.h1064 struct hns_roce_qp *qp;
1093 struct hns_roce_qp *mr_free_qp[HNS_ROCE_V1_RESV_QP];