DPDK build: fix l3fwd build and update Meson opts 67/33567/3
authorJuraj Linkeš <juraj.linkes@pantheon.tech>
Mon, 23 Aug 2021 08:22:37 +0000 (10:22 +0200)
committerPeter Mikus <pmikus@cisco.com>
Mon, 23 Aug 2021 08:48:55 +0000 (08:48 +0000)
commitc849edfc256df9c3de1ece6babcd4757bb2a8072
treee2f69e978be386cd94429ec2f873610ea4475a74
parent442a8b449fea1f632d7a3d5d31c9c4f21de0c76b
DPDK build: fix l3fwd build and update Meson opts

Fix l3fwd patch which broke because the code got moved.
Rework two Meson options:
* RTE_LIBRTE_I40E_16BYTE_RX_DESC using Meson option c_args instead of
CFLAGS. According to Meson docs, using c_args is the proper way to pass
C compiler arguments and the support for CFLAGS is there for legacy
reasons and not guaranteed to work.
* Add platform=generic which mirrors VPP configuration. This removes the
need to hack Arm CPU and NUMA values as the generic build uses high
enough values.

Change-Id: Ibcb17879bdf26329881819c332c1782b9c713182
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
resources/libraries/bash/entry/patch_l3fwd_flip_routes
resources/libraries/bash/function/dpdk.sh