]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/null/rte_eth_null.c
ethdev: add device flag to bypass auto-filled queue xstats
[dpdk.git] / drivers / net / null / rte_eth_null.c
index 9ed88f110f54b9d717b2d15abf03793a22304bce..49ee8da8e4db1bd5761a17d40e75f76308b7210c 100644 (file)
@@ -550,6 +550,7 @@ eth_dev_null_create(struct rte_vdev_device *dev, struct pmd_options *args)
        data->mac_addrs = &internals->eth_addr;
        data->promiscuous = 1;
        data->all_multicast = 1;
+       data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
 
        eth_dev->dev_ops = &ops;