]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_ethdev.c
examples/ipsec-secgw: fix session mempool initialisation
[dpdk.git] / drivers / net / sfc / sfc_ethdev.c
index 105afc21980d584994ca42e9b138e43dd1134280..c0672083ec32442c940a13737b00df24ea470a1c 100644 (file)
@@ -2217,6 +2217,7 @@ sfc_eth_dev_init(struct rte_eth_dev *dev)
 
        /* Copy PCI device info to the dev->data */
        rte_eth_copy_pci_info(dev, pci_dev);
+       dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
 
        rc = sfc_kvargs_parse(sa);
        if (rc != 0)