src/dpdk/drivers/net/netvsc/hn_rxtx.c
uint32_t
hn_dev_rx_queue_count(struct rte_eth_dev *dev, uint16_t queue_id)
{
	struct hn_rx_queue *rxq = dev->data->rx_queues[queue_id];

	return rte_ring_count(rxq->rx_ring);
}
/*
 * Get the number of used descriptor in a rx queue
 * For this device that means how many packets are pending in the ring.
 */
Get the number of used descriptor in a rx queue
For this device that means how many packets are pending in the ring.
Get the number of used descriptor in a rx queue For this device that means how many packets are pending in the ring .
uint32_t
hn_dev_rx_queue_count(struct rte_eth_dev *dev, uint16_t queue_id)
{
	struct hn_rx_queue *rxq = dev->data->rx_queues[queue_id];
	return rte_ring_count(rxq->rx_ring);
}
uint32_t hn_dev_rx_queue_count ( struct rte_eth_dev * dev , uint16_t queue_id ) { struct hn_rx_queue * rxq = dev -> data -> rx_queues [ queue_id ] ; return rte_ring_count ( rxq -> rx_ring ) ; }
Get the number of used descriptor in a rx queue
 For this device that means how many packets are pending in the ring.
Get the number of used descriptor in a rx queue For this device that means how many packets are pending in the ring .