src/dpdk/drivers/net/mlx5/mlx5_devx.c
static void
mlx5_rxq_release_devx_resources(struct mlx5_rxq_obj *rxq_obj)
{
	mlx5_devx_rq_destroy(&rxq_obj->rq_obj);
	memset(&rxq_obj->rq_obj, 0, sizeof(rxq_obj->rq_obj));
	mlx5_devx_cq_destroy(&rxq_obj->cq_obj);
	memset(&rxq_obj->cq_obj, 0, sizeof(rxq_obj->cq_obj));
}
/**
 * Destroy the Rx queue DevX object.
 *
 * @param rxq_obj
 *   Rxq object to destroy.
 */
Destroy the Rx queue DevX object.
@param rxq_obj
Rxq object to destroy.
Destroy the Rx queue DevX object . @param rxq_obj Rxq object to destroy .
static void
mlx5_rxq_release_devx_resources(struct mlx5_rxq_obj *rxq_obj)
{
	mlx5_devx_rq_destroy(&rxq_obj->rq_obj);
	memset(&rxq_obj->rq_obj, 0, sizeof(rxq_obj->rq_obj));
	mlx5_devx_cq_destroy(&rxq_obj->cq_obj);
	memset(&rxq_obj->cq_obj, 0, sizeof(rxq_obj->cq_obj));
}
static void mlx5_rxq_release_devx_resources ( struct mlx5_rxq_obj * rxq_obj ) { mlx5_devx_rq_destroy ( & rxq_obj -> rq_obj ) ; memset ( & rxq_obj -> rq_obj , 0 , sizeof ( rxq_obj -> rq_obj ) ) ; mlx5_devx_cq_destroy ( & rxq_obj -> cq_obj ) ; memset ( & rxq_obj -> cq_obj , 0 , sizeof ( rxq_obj -> cq_obj ) ) ; }
Destroy the Rx queue DevX object.
Destroy the Rx queue DevX object .