src/dpdk/drivers/net/mlx5/mlx5_devx.c
static void
mlx5_txq_release_devx_resources(struct mlx5_txq_obj *txq_obj)
{
	mlx5_devx_sq_destroy(&txq_obj->sq_obj);
	memset(&txq_obj->sq_obj, 0, sizeof(txq_obj->sq_obj));
	mlx5_devx_cq_destroy(&txq_obj->cq_obj);
	memset(&txq_obj->cq_obj, 0, sizeof(txq_obj->cq_obj));
}
/**
 * Destroy the Tx queue DevX object.
 *
 * @param txq_obj
 *   Txq object to destroy.
 */
Destroy the Tx queue DevX object.
@param txq_obj
Txq object to destroy.
Destroy the Tx queue DevX object . @param txq_obj Txq object to destroy .
static void
mlx5_txq_release_devx_resources(struct mlx5_txq_obj *txq_obj)
{
	mlx5_devx_sq_destroy(&txq_obj->sq_obj);
	memset(&txq_obj->sq_obj, 0, sizeof(txq_obj->sq_obj));
	mlx5_devx_cq_destroy(&txq_obj->cq_obj);
	memset(&txq_obj->cq_obj, 0, sizeof(txq_obj->cq_obj));
}
static void mlx5_txq_release_devx_resources ( struct mlx5_txq_obj * txq_obj ) { mlx5_devx_sq_destroy ( & txq_obj -> sq_obj ) ; memset ( & txq_obj -> sq_obj , 0 , sizeof ( txq_obj -> sq_obj ) ) ; mlx5_devx_cq_destroy ( & txq_obj -> cq_obj ) ; memset ( & txq_obj -> cq_obj , 0 , sizeof ( txq_obj -> cq_obj ) ) ; }
Destroy the Tx queue DevX object.
Destroy the Tx queue DevX object .