src/dpdk/drivers/net/mlx5/linux/mlx5_verbs.c
static void
mlx5_rxq_ibv_obj_release(struct mlx5_rxq_obj *rxq_obj)
{
	MLX5_ASSERT(rxq_obj);
	MLX5_ASSERT(rxq_obj->wq);
	MLX5_ASSERT(rxq_obj->ibv_cq);
	claim_zero(mlx5_glue->destroy_wq(rxq_obj->wq));
	claim_zero(mlx5_glue->destroy_cq(rxq_obj->ibv_cq));
	if (rxq_obj->ibv_channel)
		claim_zero(mlx5_glue->destroy_comp_channel
							(rxq_obj->ibv_channel));
}
/**
 * Release an Rx verbs queue object.
 *
 * @param rxq_obj
 *   Verbs Rx queue object.
 */
Release an Rx verbs queue object.
@param rxq_obj
Verbs Rx queue object.
Release an Rx verbs queue object . @param rxq_obj Verbs Rx queue object .
static void
mlx5_rxq_ibv_obj_release(struct mlx5_rxq_obj *rxq_obj)
{
	MLX5_ASSERT(rxq_obj);
	MLX5_ASSERT(rxq_obj->wq);
	MLX5_ASSERT(rxq_obj->ibv_cq);
	claim_zero(mlx5_glue->destroy_wq(rxq_obj->wq));
	claim_zero(mlx5_glue->destroy_cq(rxq_obj->ibv_cq));
	if (rxq_obj->ibv_channel)
		claim_zero(mlx5_glue->destroy_comp_channel
							(rxq_obj->ibv_channel));
}
static void mlx5_rxq_ibv_obj_release ( struct mlx5_rxq_obj * rxq_obj ) { MLX5_ASSERT ( rxq_obj ) ; MLX5_ASSERT ( rxq_obj -> wq ) ; MLX5_ASSERT ( rxq_obj -> ibv_cq ) ; claim_zero ( mlx5_glue -> destroy_wq ( rxq_obj -> wq ) ) ; claim_zero ( mlx5_glue -> destroy_cq ( rxq_obj -> ibv_cq ) ) ; if ( rxq_obj -> ibv_channel ) claim_zero ( mlx5_glue -> destroy_comp_channel ( rxq_obj -> ibv_channel ) ) ; }
Release an Rx verbs queue object.
Release an Rx verbs queue object .