Lines Matching refs:mlx5_ib_qp

110 static void *get_wqe(struct mlx5_ib_qp *qp, int offset)  in get_wqe()
115 static void *get_recv_wqe(struct mlx5_ib_qp *qp, int n) in get_recv_wqe()
120 void *mlx5_get_send_wqe(struct mlx5_ib_qp *qp, int n) in mlx5_get_send_wqe()
142 int mlx5_ib_read_user_wqe(struct mlx5_ib_qp *qp, int send, int wqe_index, in mlx5_ib_read_user_wqe()
245 int has_rq, struct mlx5_ib_qp *qp, struct mlx5_ib_create_qp *ucmd) in set_rq_size()
391 struct mlx5_ib_qp *qp) in calc_sq_size()
439 struct mlx5_ib_qp *qp, in set_user_buf_size()
774 struct mlx5_ib_qp *qp, struct ib_udata *udata, in create_user_qp()
901 struct mlx5_ib_qp *qp, struct mlx5_ib_qp_base *base) in destroy_qp_user()
920 struct mlx5_ib_qp *qp, in create_kernel_qp()
1029 static void destroy_qp_kernel(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp) in destroy_qp_kernel()
1040 static u32 get_rx_type(struct mlx5_ib_qp *qp, struct ib_qp_init_attr *attr) in get_rx_type()
1061 struct mlx5_ib_qp *qp, in create_raw_packet_qp_tis()
1193 struct mlx5_ib_qp *mqp = rq->base.container_mibqp; in create_raw_packet_qp_rq()
1297 static int create_raw_packet_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in create_raw_packet_qp()
1359 struct mlx5_ib_qp *qp) in destroy_raw_packet_qp()
1376 static void raw_packet_qp_copy_info(struct mlx5_ib_qp *qp, in raw_packet_qp_copy_info()
1388 static void destroy_rss_raw_qp_tir(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp) in destroy_rss_raw_qp_tir()
1393 static int create_rss_raw_qp_tir(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in create_rss_raw_qp_tir()
1605 struct ib_udata *udata, struct mlx5_ib_qp *qp) in create_qp_common()
2017 static struct mlx5_ib_pd *get_pd(struct mlx5_ib_qp *qp) in get_pd()
2057 static int modify_raw_packet_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp,
2061 static void destroy_qp_common(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp) in destroy_qp_common()
2172 struct mlx5_ib_qp *qp; in mlx5_ib_create_dct()
2254 struct mlx5_ib_qp *qp; in mlx5_ib_create_qp()
2371 static int mlx5_ib_destroy_dct(struct mlx5_ib_qp *mqp) in mlx5_ib_destroy_dct()
2393 struct mlx5_ib_qp *mqp = to_mqp(qp); in mlx5_ib_destroy_qp()
2408 static __be32 to_mlx5_access_flags(struct mlx5_ib_qp *qp, const struct ib_qp_attr *attr, in to_mlx5_access_flags()
2510 static int mlx5_set_path(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in mlx5_set_path()
2776 struct mlx5_ib_qp *ibqp = sq->base.container_mibqp; in modify_raw_packet_qp_sq()
2845 static int modify_raw_packet_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in modify_raw_packet_qp()
2955 struct mlx5_ib_qp *qp = to_mqp(ibqp); in __mlx5_ib_modify_qp()
3280 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5_ib_modify_dct()
3363 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5_ib_modify_qp()
3512 struct mlx5_ib_qp *qp, int *size) in set_eth_seg()
3819 static void set_reg_umr_inline_seg(void *seg, struct mlx5_ib_qp *qp, in set_reg_umr_inline_seg()
3869 static int set_data_inl_seg(struct mlx5_ib_qp *qp, const struct ib_send_wr *wr, in set_data_inl_seg()
4016 struct mlx5_ib_qp *qp, void **seg, int *size) in set_sig_data_segment()
4149 struct mlx5_ib_qp *qp, void **seg, int *size) in set_sig_umr_wr()
4225 static int set_reg_wr(struct mlx5_ib_qp *qp, in set_reg_wr()
4263 static void set_linv_wr(struct mlx5_ib_qp *qp, void **seg, int *size) in set_linv_wr()
4277 static void dump_wqe(struct mlx5_ib_qp *qp, int idx, int size_16) in dump_wqe()
4297 static int __begin_wqe(struct mlx5_ib_qp *qp, void **seg, in __begin_wqe()
4320 static int begin_wqe(struct mlx5_ib_qp *qp, void **seg, in begin_wqe()
4330 static void finish_wqe(struct mlx5_ib_qp *qp, in finish_wqe()
4357 struct mlx5_ib_qp *qp; in _mlx5_ib_post_send()
4692 struct mlx5_ib_qp *qp = to_mqp(ibqp); in _mlx5_ib_post_recv()
4889 struct mlx5_ib_qp *qp, u8 *qp_state) in sqrq_state_to_qp_state()
4934 struct mlx5_ib_qp *qp, in query_raw_packet_qp_state()
4960 static int query_qp_attr(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in query_qp_attr()
5025 static int mlx5_ib_dct_query_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *mqp, in mlx5_ib_dct_query_qp()
5094 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5_ib_query_qp()