ethdev: add device flag to bypass auto-filled queue xstats
[dpdk.git] / drivers / net / iavf / iavf_ethdev.c
index 3671213..0ef023c 100644 (file)
@@ -1434,6 +1434,7 @@ iavf_dev_init(struct rte_eth_dev *eth_dev)
                return 0;
        }
        rte_eth_copy_pci_info(eth_dev, pci_dev);
+       eth_dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
 
        hw->vendor_id = pci_dev->id.vendor_id;
        hw->device_id = pci_dev->id.device_id;