]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/iavf/iavf_ethdev.c
ethdev: add device flag to bypass auto-filled queue xstats
[dpdk.git] / drivers / net / iavf / iavf_ethdev.c
index 36712133b2007be87dd65ab126aacc71f2571f5e..0ef023c0aee4548cfc24b719750c354aa8f01381 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;