]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/null/rte_eth_null.c
compress/qat: enable compression on GEN3
[dpdk.git] / drivers / net / null / rte_eth_null.c
index 9ed88f110f54b9d717b2d15abf03793a22304bce..32764e8f0e80f7ff645add014f1c9392ee31e12a 100644 (file)
@@ -4,8 +4,8 @@
  */
 
 #include <rte_mbuf.h>
-#include <rte_ethdev_driver.h>
-#include <rte_ethdev_vdev.h>
+#include <ethdev_driver.h>
+#include <ethdev_vdev.h>
 #include <rte_malloc.h>
 #include <rte_memcpy.h>
 #include <rte_bus_vdev.h>
@@ -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;