Lines Matching refs:mlx5_ib_qp
133 static int mlx5_ib_read_kernel_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, in mlx5_ib_read_kernel_wqe_sq()
168 static int mlx5_ib_read_user_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, in mlx5_ib_read_user_wqe_sq()
219 int mlx5_ib_read_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer, in mlx5_ib_read_wqe_sq()
235 static int mlx5_ib_read_user_wqe_rq(struct mlx5_ib_qp *qp, int wqe_index, in mlx5_ib_read_user_wqe_rq()
255 int mlx5_ib_read_wqe_rq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer, in mlx5_ib_read_wqe_rq()
352 int has_rq, struct mlx5_ib_qp *qp, struct mlx5_ib_create_qp *ucmd) in set_rq_size()
510 struct mlx5_ib_qp *qp) in calc_sq_size()
555 struct mlx5_ib_qp *qp, in set_user_buf_size()
891 struct mlx5_ib_qp *qp, struct ib_udata *udata, in _create_user_qp()
1008 static void destroy_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in destroy_qp()
1042 struct mlx5_ib_qp *qp, u32 **in, int *inlen, in _create_kernel_qp()
1159 static u32 get_rx_type(struct mlx5_ib_qp *qp, struct ib_qp_init_attr *attr) in get_rx_type()
1171 struct mlx5_ib_qp *qp, in create_raw_packet_qp_tis()
1300 struct mlx5_ib_qp *mqp = rq->base.container_mibqp; in create_raw_packet_qp_rq()
1421 static int create_raw_packet_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in create_raw_packet_qp()
1515 struct mlx5_ib_qp *qp) in destroy_raw_packet_qp()
1532 static void raw_packet_qp_copy_info(struct mlx5_ib_qp *qp, in raw_packet_qp_copy_info()
1544 static void destroy_rss_raw_qp_tir(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp) in destroy_rss_raw_qp_tir()
1566 struct mlx5_ib_qp *qp, in create_rss_raw_qp_tir()
1772 struct mlx5_ib_qp *qp, in configure_requester_scat_cqe()
1842 static int create_xrc_tgt_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in create_xrc_tgt_qp()
1921 struct mlx5_ib_qp *qp, in create_user_qp()
2113 struct mlx5_ib_qp *qp, in create_kernel_qp()
2330 static int modify_raw_packet_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp,
2334 static void destroy_qp_common(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in destroy_qp_common()
2406 struct mlx5_ib_qp *qp, in create_dct()
2524 bool cond, struct mlx5_ib_qp *qp) in process_vendor_flag()
2551 static int process_vendor_flags(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in process_vendor_flags()
2627 bool cond, struct mlx5_ib_qp *qp) in process_create_flag()
2649 static int process_create_flags(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in process_create_flags()
2766 struct mlx5_ib_qp *qp, in create_qp()
2818 static int check_qp_attr(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in check_qp_attr()
2845 static int get_qp_uidx(struct mlx5_ib_qp *qp, in get_qp_uidx()
2859 static int mlx5_ib_destroy_dct(struct mlx5_ib_qp *mqp) in mlx5_ib_destroy_dct()
2917 struct mlx5_ib_qp *qp; in mlx5_ib_create_qp()
3029 struct mlx5_ib_qp *mqp = to_mqp(qp); in mlx5_ib_destroy_qp()
3044 static int set_qpc_atomic_flags(struct mlx5_ib_qp *qp, in set_qpc_atomic_flags()
3194 static int mlx5_set_path(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in mlx5_set_path()
3491 struct mlx5_ib_qp *ibqp = sq->base.container_mibqp; in modify_raw_packet_qp_sq()
3563 static int modify_raw_packet_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in modify_raw_packet_qp()
3667 static bool qp_supports_affinity(struct mlx5_ib_qp *qp) in qp_supports_affinity()
3685 struct mlx5_ib_qp *mqp = to_mqp(qp); in get_tx_affinity()
3718 struct mlx5_ib_qp *mqp = to_mqp(qp); in __mlx5_ib_qp_set_counter()
3786 struct mlx5_ib_qp *qp = to_mqp(ibqp); in __mlx5_ib_modify_qp()
4132 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5_ib_modify_dct()
4243 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5_ib_modify_qp()
4463 struct mlx5_ib_qp *qp, u8 *qp_state) in sqrq_state_to_qp_state()
4508 struct mlx5_ib_qp *qp, in query_raw_packet_qp_state()
4534 static int query_qp_attr(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in query_qp_attr()
4596 static int mlx5_ib_dct_query_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *mqp, in mlx5_ib_dct_query_qp()
4665 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5_ib_query_qp()
5405 struct mlx5_ib_qp *mqp = to_mqp(qp); in mlx5_ib_qp_set_counter()