]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/thunderx/nicvf_ethdev.c
ethdev: add device flag to bypass auto-filled queue xstats
[dpdk.git] / drivers / net / thunderx / nicvf_ethdev.c
index ac87fbcc3c1f7fde16ca55da94925471de725996..f0bd20a22b6a6f4aa32b35c6f8290fdd5622999a 100644 (file)
@@ -2155,6 +2155,7 @@ nicvf_eth_dev_init(struct rte_eth_dev *eth_dev)
 
        pci_dev = RTE_ETH_DEV_TO_PCI(eth_dev);
        rte_eth_copy_pci_info(eth_dev, pci_dev);
+       eth_dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
 
        nic->device_id = pci_dev->id.device_id;
        nic->vendor_id = pci_dev->id.vendor_id;