]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_ethdev.c
net/sfc: rely on native thread safety in flow mechanism
[dpdk.git] / drivers / net / sfc / sfc_ethdev.c
index db81e705fa6a79dc6ec3f1d32a162250d6290547..93fc7baa0dfa2cb42127c7424b90a211c94d0103 100644 (file)
@@ -2198,6 +2198,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;
+       dev->data->dev_flags |= RTE_ETH_DEV_FLOW_OPS_THREAD_SAFE;
 
        rc = sfc_kvargs_parse(sa);
        if (rc != 0)