src/dpdk/drivers/net/mlx5/mlx5_txq.c
int
mlx5_txq_verify(struct rte_eth_dev *dev)
{
	struct mlx5_priv *priv = dev->data->dev_private;
	struct mlx5_txq_ctrl *txq_ctrl;
	int ret = 0;

	LIST_FOREACH(txq_ctrl, &priv->txqsctrl, next) {
		DRV_LOG(DEBUG, "port %u Tx queue %u still referenced",
			dev->data->port_id, txq_ctrl->txq.idx);
		++ret;
	}
	return ret;
}
/**
 * Verify the Tx Queue list is empty
 *
 * @param dev
 *   Pointer to Ethernet device.
 *
 * @return
 *   The number of object not released.
 */
Verify the Tx Queue list is empty
@param dev
Pointer to Ethernet device.

@return
The number of object not released.
Verify the Tx Queue list is empty @param dev Pointer to Ethernet device . @return The number of object not released .
int
mlx5_txq_verify(struct rte_eth_dev *dev)
{
	struct mlx5_priv *priv = dev->data->dev_private;
	struct mlx5_txq_ctrl *txq_ctrl;
	int ret = 0;
	LIST_FOREACH(txq_ctrl, &priv->txqsctrl, next) {
		DRV_LOG(DEBUG, "port %u Tx queue %u still referenced",
			dev->data->port_id, txq_ctrl->txq.idx);
		++ret;
	}
	return ret;
}
int mlx5_txq_verify ( struct rte_eth_dev * dev ) { struct mlx5_priv * priv = dev -> data -> dev_private ; struct mlx5_txq_ctrl * txq_ctrl ; int ret = 0 ; LIST_FOREACH ( txq_ctrl , & priv -> txqsctrl , next ) { DRV_LOG ( DEBUG , " " , dev -> data -> port_id , txq_ctrl -> txq . idx ) ; ++ ret ; } return ret ; }
Verify the Tx Queue list is empty
 @param dev
   Pointer to Ethernet device.
Verify the Tx Queue list is empty @param dev Pointer to Ethernet device .