]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/dpaa2/dpaa2_ethdev.c
ethdev: add device flag to bypass auto-filled queue xstats
[dpdk.git] / drivers / net / dpaa2 / dpaa2_ethdev.c
index f9d9a93fc14f2e8b7b5615605d43a55b25e4db87..04e60c56f22b299d38e64bc22f50579c08cb6d95 100644 (file)
@@ -2794,6 +2794,8 @@ rte_dpaa2_probe(struct rte_dpaa2_driver *dpaa2_drv,
        if (dpaa2_drv->drv_flags & RTE_DPAA2_DRV_INTR_LSC)
                eth_dev->data->dev_flags |= RTE_ETH_DEV_INTR_LSC;
 
+       eth_dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
+
        /* Invoke PMD device initialization function */
        diag = dpaa2_dev_init(eth_dev);
        if (diag == 0) {