src/drivers/trex_i40e_fdir.c
static void
trex_i40e_fdir_rx_proc_enable(struct rte_eth_dev *dev, bool on)
{
	int32_t i;

	for (i = 0; i < dev->data->nb_rx_queues; i++) {
		struct i40e_rx_queue *rxq = dev->data->rx_queues[i];
		if (!rxq)
			continue;
		rxq->fdir_enabled = on;
	}
	PMD_DRV_LOG(DEBUG, "Flow Director processing on RX set to %d", on);
}
/*
 * Enable/disable flow director RX processing in vector routines.
 */
Enable/disable flow director RX processing in vector routines.
Enable / disable flow director RX processing in vector routines .
static void
trex_i40e_fdir_rx_proc_enable(struct rte_eth_dev *dev, bool on)
{
	int32_t i;
	for (i = 0; i < dev->data->nb_rx_queues; i++) {
		struct i40e_rx_queue *rxq = dev->data->rx_queues[i];
		if (!rxq)
			continue;
		rxq->fdir_enabled = on;
	}
	PMD_DRV_LOG(DEBUG, "Flow Director processing on RX set to %d", on);
}
static void trex_i40e_fdir_rx_proc_enable ( struct rte_eth_dev * dev , bool on ) { int32_t i ; for ( i = 0 ; i < dev -> data -> nb_rx_queues ; i ++ ) { struct i40e_rx_queue * rxq = dev -> data -> rx_queues [ i ] ; if ( ! rxq ) continue ; rxq -> fdir_enabled = on ; } PMD_DRV_LOG ( DEBUG , " " , on ) ; }
Enable/disable flow director RX processing in vector routines.
Enable / disable flow director RX processing in vector routines .