Lines Matching refs:mlx5_qp
221 struct mlx5_qp **table;
397 struct mlx5_qp {
507 static inline struct mlx5_qp *to_mqp(struct ibv_qp *ibqp)
511 return container_of(vqp, struct mlx5_qp, verbs_qp);
534 static inline struct mlx5_qp *rsc_to_mqp(struct mlx5_resource *rsc)
536 return (struct mlx5_qp *)rsc;
633 void mlx5_init_qp_indices(struct mlx5_qp *qp);
642 struct mlx5_qp *qp);
643 void mlx5_set_sq_sizes(struct mlx5_qp *qp, struct ibv_qp_cap *cap,
645 struct mlx5_qp *mlx5_find_qp(struct mlx5_context *ctx, uint32_t qpn);
646 int mlx5_store_qp(struct mlx5_context *ctx, uint32_t qpn, struct mlx5_qp *qp);
662 void *mlx5_get_atomic_laddr(struct mlx5_qp *qp, uint16_t idx, int *byte_count);
663 void *mlx5_get_send_wqe(struct mlx5_qp *qp, int n);
664 int mlx5_copy_to_recv_wqe(struct mlx5_qp *qp, int idx, void *buf, int size);
665 int mlx5_copy_to_send_wqe(struct mlx5_qp *qp, int idx, void *buf, int size);