diff options
author | Patrice Buriez <patrice.buriez@chenapan.org> | 2022-12-16 13:46:59 +0000 |
---|---|---|
committer | Patrice Buriez <patrice.buriez@chenapan.org> | 2022-12-16 13:46:59 +0000 |
commit | 52af0b5b6f713815e935c8b19076d6ef25a33773 (patch) | |
tree | 38a8c4374bb95092712b234499fc49c9b932e184 /VNFs/DPPD-PROX/handle_lb_5tuple.c | |
parent | 37ac0f739020646ce94e44aadee389386f9de957 (diff) |
Fix linker errors with older DPDK versions
when __rte_cache_aligned was defined in rte_memory.h,
rather than in rte_common.h now.
Signed-off-by: Patrice Buriez <patrice.buriez@chenapan.org>
Change-Id: Id6fb6d9adc8b1324ef436aab3897f898a9304e9c
Diffstat (limited to 'VNFs/DPPD-PROX/handle_lb_5tuple.c')
-rw-r--r-- | VNFs/DPPD-PROX/handle_lb_5tuple.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/handle_lb_5tuple.c b/VNFs/DPPD-PROX/handle_lb_5tuple.c index d320ca9d..ec229386 100644 --- a/VNFs/DPPD-PROX/handle_lb_5tuple.c +++ b/VNFs/DPPD-PROX/handle_lb_5tuple.c @@ -14,6 +14,11 @@ // limitations under the License. */ +#include <rte_common.h> +#ifndef __rte_cache_aligned +#include <rte_memory.h> +#endif + #include <rte_hash.h> #include <rte_ether.h> #include <rte_memcpy.h> |