src/dpdk/drivers/common/mlx5/mlx5_common_devx.c
static void
mlx5_cq_init(struct mlx5_devx_cq *cq_obj, uint16_t cq_size)
{
	volatile struct mlx5_cqe *cqe = cq_obj->cqes;
	uint16_t i;

	for (i = 0; i < cq_size; i++, cqe++)
		cqe->op_own = (MLX5_CQE_INVALID << 4) | MLX5_CQE_OWNER_MASK;
}
/* Mark all CQEs initially as invalid. */
Mark all CQEs initially as invalid.
Mark all CQEs initially as invalid .
static void
mlx5_cq_init(struct mlx5_devx_cq *cq_obj, uint16_t cq_size)
{
	volatile struct mlx5_cqe *cqe = cq_obj->cqes;
	uint16_t i;
	for (i = 0; i < cq_size; i++, cqe++)
		cqe->op_own = (MLX5_CQE_INVALID << 4) | MLX5_CQE_OWNER_MASK;
}
static void mlx5_cq_init ( struct mlx5_devx_cq * cq_obj , uint16_t cq_size ) { volatile struct mlx5_cqe * cqe = cq_obj -> cqes ; uint16_t i ; for ( i = 0 ; i < cq_size ; i ++ , cqe ++ ) cqe -> op_own = ( MLX5_CQE_INVALID << 4 ) | MLX5_CQE_OWNER_MASK ; }
Mark all CQEs initially as invalid.
Mark all CQEs initially as invalid .