ethdev: add device flag to bypass auto-filled queue xstats
[dpdk.git] / drivers / net / bnx2x / bnx2x_ethdev.c
index 28f8aae..d35c75a 100644 (file)
@@ -648,6 +648,7 @@ bnx2x_common_dev_init(struct rte_eth_dev *eth_dev, int is_vf)
        }
 
        rte_eth_copy_pci_info(eth_dev, pci_dev);
+       eth_dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
 
        sc->pcie_bus    = pci_dev->addr.bus;
        sc->pcie_device = pci_dev->addr.devid;