]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/enetc/enetc_ethdev.c
net/ice: fix VSI array out of bounds access
[dpdk.git] / drivers / net / enetc / enetc_ethdev.c
index 4d2c9c047481105508c61c2214e6ab9854b89d89..b496cd470045dadf3c5343e1343b91c39e58aca9 100644 (file)
@@ -3,7 +3,7 @@
  */
 
 #include <stdbool.h>
-#include <rte_ethdev_pci.h>
+#include <ethdev_pci.h>
 #include <rte_random.h>
 #include <dpaax_iova_table.h>
 
@@ -960,4 +960,4 @@ static struct rte_pci_driver rte_enetc_pmd = {
 RTE_PMD_REGISTER_PCI(net_enetc, rte_enetc_pmd);
 RTE_PMD_REGISTER_PCI_TABLE(net_enetc, pci_id_enetc_map);
 RTE_PMD_REGISTER_KMOD_DEP(net_enetc, "* vfio-pci");
-RTE_LOG_REGISTER(enetc_logtype_pmd, pmd.net.enetc, NOTICE);
+RTE_LOG_REGISTER_DEFAULT(enetc_logtype_pmd, NOTICE);