]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/af_xdp/rte_eth_af_xdp.c
net/mlx5: enforce limitation on IPv6 next protocol
[dpdk.git] / drivers / net / af_xdp / rte_eth_af_xdp.c
index 1c1e3cadd65e738479042db7ebc77a50339ad679..df2767b81c6677f91528c1ea36c646cb2f0aaf8b 100644 (file)
@@ -1562,6 +1562,7 @@ init_internals(struct rte_vdev_device *dev, const char *if_name,
        eth_dev->data->dev_private = internals;
        eth_dev->data->dev_link = pmd_link;
        eth_dev->data->mac_addrs = &internals->eth_addr;
+       eth_dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
        eth_dev->dev_ops = &ops;
        eth_dev->rx_pkt_burst = eth_af_xdp_rx;
        eth_dev->tx_pkt_burst = eth_af_xdp_tx;