src/dpdk/drivers/net/mlx5/linux/mlx5_verbs.c
static void
mlx5_rxq_ibv_obj_drop_release(struct rte_eth_dev *dev)
{
	struct mlx5_priv *priv = dev->data->dev_private;
	struct mlx5_rxq_obj *rxq = priv->drop_queue.rxq;

	if (rxq->wq)
		claim_zero(mlx5_glue->destroy_wq(rxq->wq));
	if (rxq->ibv_cq)
		claim_zero(mlx5_glue->destroy_cq(rxq->ibv_cq));
	mlx5_free(rxq);
	priv->drop_queue.rxq = NULL;
}
/**
 * Release a drop Rx queue Verbs object.
 *
 * @param dev
 *   Pointer to Ethernet device.
 */
Release a drop Rx queue Verbs object.
@param dev
Pointer to Ethernet device.
Release a drop Rx queue Verbs object . @param dev Pointer to Ethernet device .
static void
mlx5_rxq_ibv_obj_drop_release(struct rte_eth_dev *dev)
{
	struct mlx5_priv *priv = dev->data->dev_private;
	struct mlx5_rxq_obj *rxq = priv->drop_queue.rxq;
	if (rxq->wq)
		claim_zero(mlx5_glue->destroy_wq(rxq->wq));
	if (rxq->ibv_cq)
		claim_zero(mlx5_glue->destroy_cq(rxq->ibv_cq));
	mlx5_free(rxq);
	priv->drop_queue.rxq = NULL;
}
static void mlx5_rxq_ibv_obj_drop_release ( struct rte_eth_dev * dev ) { struct mlx5_priv * priv = dev -> data -> dev_private ; struct mlx5_rxq_obj * rxq = priv -> drop_queue . rxq ; if ( rxq -> wq ) claim_zero ( mlx5_glue -> destroy_wq ( rxq -> wq ) ) ; if ( rxq -> ibv_cq ) claim_zero ( mlx5_glue -> destroy_cq ( rxq -> ibv_cq ) ) ; mlx5_free ( rxq ) ; priv -> drop_queue . rxq = NULL ; }
Release a drop Rx queue Verbs object.
Release a drop Rx queue Verbs object .