Use proper DPDK EAL parameter name: --allow 42/73842/1
authorLuc Provoost <luc.provoost@gmail.com>
Wed, 1 Feb 2023 15:26:27 +0000 (16:26 +0100)
committerLuc Provoost <luc.provoost@gmail.com>
Wed, 1 Feb 2023 15:26:27 +0000 (16:26 +0100)
commit347404a0956ed949c94428a9c8fc4eb71dbc8c06
treef081f7f8d45ba6f0bdc45fb72b72d5c67618c23e
parent942d5e737729a030bd8f436c1c41a71911e6dd45
Use proper DPDK EAL parameter name: --allow

The name of one of the EAL parameters has changed. Depending on the DPDK
version, we need to use a different name. While building the PROX image,
we need now to create a file /opt/rapid/dpdk_version that contains the
DPDK version. When running runrapid.py, we will now check this file to
decide if we use the old --whitelist, or the new --allow parameter name
for the PCI address to be used.

Signed-off-by: Luc Provoost <luc.provoost@gmail.com>
Change-Id: I3e07c552d014c818138d389abce936e275108776
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_k8s_pod.py
VNFs/DPPD-PROX/helper-scripts/rapid/rapid_machine.py