src/dpdk/lib/librte_eventdev/rte_event_eth_rx_adapter.c
static void
rxa_calc_nb_post_intr_del(struct rte_event_eth_rx_adapter *rx_adapter,
			struct eth_device_info *dev_info,
			int rx_queue_id,
			uint32_t *nb_rx_intr)
{
	uint32_t intr_diff;

	if (rx_queue_id == -1)
		intr_diff = dev_info->nb_rx_intr;
	else
		intr_diff = rxa_intr_queue(dev_info, rx_queue_id);

	*nb_rx_intr = rx_adapter->num_rx_intr - intr_diff;
}
/* Calculate nb_rx_intr after deleting interrupt mode rx queues
 */
Calculate nb_rx_intr after deleting interrupt mode rx queues
Calculate nb_rx_intr after deleting interrupt mode rx queues
static void
rxa_calc_nb_post_intr_del(struct rte_event_eth_rx_adapter *rx_adapter,
			struct eth_device_info *dev_info,
			int rx_queue_id,
			uint32_t *nb_rx_intr)
{
	uint32_t intr_diff;
	if (rx_queue_id == -1)
		intr_diff = dev_info->nb_rx_intr;
	else
		intr_diff = rxa_intr_queue(dev_info, rx_queue_id);
	*nb_rx_intr = rx_adapter->num_rx_intr - intr_diff;
}
static void rxa_calc_nb_post_intr_del ( struct rte_event_eth_rx_adapter * rx_adapter , struct eth_device_info * dev_info , int rx_queue_id , uint32_t * nb_rx_intr ) { uint32_t intr_diff ; if ( rx_queue_id == -1 ) intr_diff = dev_info -> nb_rx_intr ; else intr_diff = rxa_intr_queue ( dev_info , rx_queue_id ) ; * nb_rx_intr = rx_adapter -> num_rx_intr - intr_diff ; }
Calculate nb_rx_intr after deleting interrupt mode rx queues
Calculate nb_rx_intr after deleting interrupt mode rx queues