Lines Matching defs:qp
80 struct mlx5_core_qp *qp; member
146 static int mlx5_ib_read_kernel_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, in mlx5_ib_read_kernel_wqe_sq()
181 static int mlx5_ib_read_user_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, in mlx5_ib_read_user_wqe_sq()
232 int mlx5_ib_read_wqe_sq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer, in mlx5_ib_read_wqe_sq()
248 static int mlx5_ib_read_user_wqe_rq(struct mlx5_ib_qp *qp, int wqe_index, in mlx5_ib_read_user_wqe_rq()
268 int mlx5_ib_read_wqe_rq(struct mlx5_ib_qp *qp, int wqe_index, void *buffer, in mlx5_ib_read_wqe_rq()
321 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5_ib_qp_err_syndrome() local
406 static void mlx5_ib_qp_event(struct mlx5_core_qp *qp, int type) in mlx5_ib_qp_event()
434 int has_rq, struct mlx5_ib_qp *qp, struct mlx5_ib_create_qp *ucmd) in set_rq_size()
592 struct mlx5_ib_qp *qp) in calc_sq_size()
637 struct mlx5_ib_qp *qp, in set_user_buf_size()
942 struct mlx5_ib_qp *qp, struct ib_udata *udata, in _create_user_qp()
1067 static void destroy_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in destroy_qp()
1101 struct mlx5_ib_qp *qp, u32 **in, int *inlen, in _create_kernel_qp()
1217 static u32 get_rx_type(struct mlx5_ib_qp *qp, struct ib_qp_init_attr *attr) in get_rx_type()
1229 struct mlx5_ib_qp *qp, in create_raw_packet_qp_tis()
1567 static int create_raw_packet_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in create_raw_packet_qp()
1663 struct mlx5_ib_qp *qp) in destroy_raw_packet_qp()
1680 static void raw_packet_qp_copy_info(struct mlx5_ib_qp *qp, in raw_packet_qp_copy_info()
1692 static void destroy_rss_raw_qp_tir(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp) in destroy_rss_raw_qp_tir()
1714 struct mlx5_ib_qp *qp, in create_rss_raw_qp_tir()
1920 struct mlx5_ib_qp *qp, in configure_requester_scat_cqe()
1963 struct mlx5_ib_qp *qp) in get_atomic_mode()
1994 static int create_xrc_tgt_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in create_xrc_tgt_qp()
2071 struct mlx5_ib_qp *qp, in create_dci()
2232 struct mlx5_ib_qp *qp, in create_user_qp()
2435 struct mlx5_ib_qp *qp, in create_kernel_qp()
2660 static void destroy_qp_common(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in destroy_qp_common()
2732 struct mlx5_ib_qp *qp, in create_dct()
2870 bool cond, struct mlx5_ib_qp *qp) in process_vendor_flag()
2897 static int process_vendor_flags(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in process_vendor_flags()
2976 bool cond, struct mlx5_ib_qp *qp) in process_create_flag()
2990 static int process_create_flags(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in process_create_flags()
3102 struct mlx5_ib_qp *qp, in create_qp()
3161 static int check_qp_attr(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in check_qp_attr()
3188 static int get_qp_uidx(struct mlx5_ib_qp *qp, in get_qp_uidx()
3259 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5_ib_create_qp() local
3354 int mlx5_ib_destroy_qp(struct ib_qp *qp, struct ib_udata *udata) in mlx5_ib_destroy_qp()
3369 static int set_qpc_atomic_flags(struct mlx5_ib_qp *qp, in set_qpc_atomic_flags()
3534 static int mlx5_set_path(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in mlx5_set_path()
3916 static int modify_raw_packet_qp(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in modify_raw_packet_qp()
4020 static bool qp_supports_affinity(struct mlx5_ib_qp *qp) in qp_supports_affinity()
4030 static unsigned int get_tx_affinity(struct ib_qp *qp, in get_tx_affinity()
4066 static int __mlx5_ib_qp_set_raw_qp_counter(struct mlx5_ib_qp *qp, u32 set_id, in __mlx5_ib_qp_set_raw_qp_counter()
4090 static int __mlx5_ib_qp_set_counter(struct ib_qp *qp, in __mlx5_ib_qp_set_counter()
4167 struct mlx5_ib_qp *qp = to_mqp(ibqp); in __mlx5_ib_modify_qp() local
4523 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5_ib_modify_dct() local
4639 struct mlx5_ib_qp *qp) in mlx5_ib_modify_qp_allowed()
4689 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5_ib_modify_qp() local
4897 struct mlx5_ib_qp *qp, u8 *qp_state) in sqrq_state_to_qp_state()
4942 struct mlx5_ib_qp *qp, in query_raw_packet_qp_state()
4968 static int query_qp_attr(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, in query_qp_attr()
5101 struct mlx5_ib_qp *qp = to_mqp(ibqp); in mlx5_ib_query_qp() local
5772 void mlx5_ib_drain_sq(struct ib_qp *qp) in mlx5_ib_drain_sq()
5807 void mlx5_ib_drain_rq(struct ib_qp *qp) in mlx5_ib_drain_rq()
5841 int mlx5_ib_qp_set_counter(struct ib_qp *qp, struct rdma_counter *counter) in mlx5_ib_qp_set_counter()