From a085fb09d70d024413844df9d1c343fdc28ded1d Mon Sep 17 00:00:00 2001 From: Patrice Buriez Date: Mon, 2 Jan 2023 12:51:54 +0000 Subject: Restore rw_reg and hw_direct_stats Note that DPDK 21.11 and above must be built with 'enable_driver_sdk' option enabled, in order to expose the rte_eth_devices array, now marked as internal. See http://doc.dpdk.org/guides-21.11/rel_notes/release_21_11.html#abi-changes for details. This is done by supplying the '-Denable_driver_sdk=true' command line parameter, either to 'meson setup', or later on to 'meson configure', before running 'ninja' and 'ninja install'. Signed-off-by: Patrice Buriez Change-Id: I20db8971818a29ec495b6d8d79cf46f2204631a5 --- VNFs/DPPD-PROX/rw_reg.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'VNFs/DPPD-PROX/rw_reg.c') diff --git a/VNFs/DPPD-PROX/rw_reg.c b/VNFs/DPPD-PROX/rw_reg.c index a0e59085..b4f6c214 100644 --- a/VNFs/DPPD-PROX/rw_reg.c +++ b/VNFs/DPPD-PROX/rw_reg.c @@ -14,6 +14,10 @@ // limitations under the License. */ +#include +#if RTE_VERSION >= RTE_VERSION_NUM(21,11,0,0) +#include // Please configure DPDK with meson option -Denable_driver_sdk=true +#endif #include #include "rw_reg.h" -- cgit 1.2.3-korg