ethdev: add device flag to bypass auto-filled queue xstats
[dpdk.git] / drivers / net / ring / rte_eth_ring.c
index 9511a87..d6115ab 100644 (file)
@@ -361,6 +361,7 @@ do_eth_dev_ring_create(const char *name,
        data->mac_addrs = &internals->address;
        data->promiscuous = 1;
        data->all_multicast = 1;
+       data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
 
        eth_dev->dev_ops = &ops;
        data->numa_node = numa_node;