net/i40e: config flow director automatically
[dpdk.git] / drivers / net / szedata2 / rte_eth_szedata2.c
index 986b5de..8f92e72 100644 (file)
@@ -1841,6 +1841,8 @@ static int szedata2_eth_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
                        rte_free(list_entry);
                        return ret;
                }
+
+               rte_eth_dev_probing_finish(eth_devs[i]);
        }
 
        /*
@@ -1918,11 +1920,9 @@ static struct rte_pci_driver szedata2_eth_driver = {
 RTE_PMD_REGISTER_PCI(RTE_SZEDATA2_DRIVER_NAME, szedata2_eth_driver);
 RTE_PMD_REGISTER_PCI_TABLE(RTE_SZEDATA2_DRIVER_NAME, rte_szedata2_pci_id_table);
 RTE_PMD_REGISTER_KMOD_DEP(RTE_SZEDATA2_DRIVER_NAME,
-       "* combo6core & combov3 & szedata2 & szedata2_cv3");
+       "* combo6core & combov3 & szedata2 & ( szedata2_cv3 | szedata2_cv3_fdt )");
 
-RTE_INIT(szedata2_init_log);
-static void
-szedata2_init_log(void)
+RTE_INIT(szedata2_init_log)
 {
        szedata2_logtype_init = rte_log_register("pmd.net.szedata2.init");
        if (szedata2_logtype_init >= 0)