The ice driver does not fill in the queue statistics in the rte_eth_stats structure, meaning that the per-queue xstats reported are meaningless, and always zero. Don't set the device flag "RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS" so these zero-stats are not automatically created by the ethdev layer.
Signed-off-by: Bruce Richardson <[email protected]> --- drivers/net/intel/ice/ice_ethdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/intel/ice/ice_ethdev.c b/drivers/net/intel/ice/ice_ethdev.c index a9a49cd924..31f1419897 100644 --- a/drivers/net/intel/ice/ice_ethdev.c +++ b/drivers/net/intel/ice/ice_ethdev.c @@ -2580,8 +2580,6 @@ ice_dev_init(struct rte_eth_dev *dev) return 0; } - dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS; - ice_set_default_ptype_table(dev); pci_dev = RTE_DEV_TO_PCI(dev->device); intr_handle = pci_dev->intr_handle; -- 2.48.1

