[PATCH 09/13] lib: include rte_bus_pci
From: Gaetan Rivet <hidden>
Date: 2017-08-25 09:05:01
Subsystem:
library code, the rest · Maintainers:
Andrew Morton, Linus Torvalds
From: Gaetan Rivet <hidden>
Date: 2017-08-25 09:05:01
Subsystem:
library code, the rest · Maintainers:
Andrew Morton, Linus Torvalds
Devices and drivers are now defined within the bus-specific PCI header. Update the libraries, as structuraly unsound as it may be. Signed-off-by: Gaetan Rivet <redacted> --- lib/librte_ether/rte_ethdev_pci.h | 1 + lib/librte_eventdev/rte_eventdev_pmd_pci.h | 1 + 2 files changed, 2 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev_pci.h b/lib/librte_ether/rte_ethdev_pci.h
index 56b1072..722075e 100644
--- a/lib/librte_ether/rte_ethdev_pci.h
+++ b/lib/librte_ether/rte_ethdev_pci.h@@ -36,6 +36,7 @@ #include <rte_malloc.h> #include <rte_pci.h> +#include <rte_bus_pci.h> #include <rte_ethdev.h> /**
diff --git a/lib/librte_eventdev/rte_eventdev_pmd_pci.h b/lib/librte_eventdev/rte_eventdev_pmd_pci.h
index b6bd731..ade32b5 100644
--- a/lib/librte_eventdev/rte_eventdev_pmd_pci.h
+++ b/lib/librte_eventdev/rte_eventdev_pmd_pci.h@@ -50,6 +50,7 @@ extern "C" { #include <rte_eal.h> #include <rte_lcore.h> #include <rte_pci.h> +#include <rte_bus_pci.h> #include "rte_eventdev_pmd.h"
--
2.1.4