]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/cnxk/cn9k_ethdev.c
net/cnxk: support custom SA index
[dpdk.git] / drivers / net / cnxk / cn9k_ethdev.c
index be1276180cbb71c3da193975ac57a4d7326b79a4..1ee674f2d993601267958f303c6aedf23ba674e0 100644 (file)
@@ -739,6 +739,12 @@ cn9k_nix_probe(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev)
        /* Update HW erratas */
        if (roc_errata_nix_has_cq_min_size_4k())
                dev->cq_min_4k = 1;
+
+       if (dev->nix.custom_sa_action) {
+               dev->nix.custom_sa_action = 0;
+               plt_info("WARNING: Custom SA action is enabled. It's not supported"
+                        " on cn9k device. Disabling it");
+       }
        return 0;
 }