]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/atlantic/atl_ethdev.c
examples/ipsec-secgw: fix session mempool initialisation
[dpdk.git] / drivers / net / atlantic / atl_ethdev.c
index 419ee477afce1a81ab727b905954a8d8de51d1cb..b0716773addb6d3c53edce0d56c4da50dce40c81 100644 (file)
@@ -380,6 +380,8 @@ eth_atl_dev_init(struct rte_eth_dev *eth_dev)
        if (rte_eal_process_type() != RTE_PROC_PRIMARY)
                return 0;
 
+       eth_dev->data->dev_flags |= RTE_ETH_DEV_AUTOFILL_QUEUE_XSTATS;
+
        /* Vendor and Device ID need to be set before init of shared code */
        hw->device_id = pci_dev->id.device_id;
        hw->vendor_id = pci_dev->id.vendor_id;