src/dpdk/drivers/net/mlx5/linux/mlx5_verbs.c
static void
mlx5_ibv_drop_action_destroy(struct rte_eth_dev *dev)
{
	struct mlx5_priv *priv = dev->data->dev_private;
	struct mlx5_hrxq *hrxq = priv->drop_queue.hrxq;
	struct ibv_rwq_ind_table *ind_tbl = hrxq->ind_table->ind_table;

#ifdef HAVE_IBV_FLOW_DV_SUPPORT
	claim_zero(mlx5_glue->destroy_flow_action(hrxq->action));
#endif
	claim_zero(mlx5_glue->destroy_qp(hrxq->qp));
	claim_zero(mlx5_glue->destroy_rwq_ind_table(ind_tbl));
	mlx5_rxq_ibv_obj_drop_release(dev);
}
/**
 * Release a drop hash Rx queue.
 *
 * @param dev
 *   Pointer to Ethernet device.
 */
Release a drop hash Rx queue.
@param dev
Pointer to Ethernet device.
Release a drop hash Rx queue . @param dev Pointer to Ethernet device .
static void
mlx5_ibv_drop_action_destroy(struct rte_eth_dev *dev)
{
	struct mlx5_priv *priv = dev->data->dev_private;
	struct mlx5_hrxq *hrxq = priv->drop_queue.hrxq;
	struct ibv_rwq_ind_table *ind_tbl = hrxq->ind_table->ind_table;
#ifdef HAVE_IBV_FLOW_DV_SUPPORT
	claim_zero(mlx5_glue->destroy_flow_action(hrxq->action));
#endif
	claim_zero(mlx5_glue->destroy_qp(hrxq->qp));
	claim_zero(mlx5_glue->destroy_rwq_ind_table(ind_tbl));
	mlx5_rxq_ibv_obj_drop_release(dev);
}
static void mlx5_ibv_drop_action_destroy ( struct rte_eth_dev * dev ) { struct mlx5_priv * priv = dev -> data -> dev_private ; struct mlx5_hrxq * hrxq = priv -> drop_queue . hrxq ; struct ibv_rwq_ind_table * ind_tbl = hrxq -> ind_table -> ind_table ; #ifdef HAVE_IBV_FLOW_DV_SUPPORT claim_zero ( mlx5_glue -> destroy_flow_action ( hrxq -> action ) ) ; #endif claim_zero ( mlx5_glue -> destroy_qp ( hrxq -> qp ) ) ; claim_zero ( mlx5_glue -> destroy_rwq_ind_table ( ind_tbl ) ) ; mlx5_rxq_ibv_obj_drop_release ( dev ) ; }
Release a drop hash Rx queue.
Release a drop hash Rx queue .