dpdk: Add iova-mode to startup 66/25066/2
authorVladimir Ratnikov <vratnikov@netgate.com>
Thu, 13 Feb 2020 08:36:21 +0000 (03:36 -0500)
committerDamjan Marion <dmarion@me.com>
Thu, 13 Feb 2020 11:56:43 +0000 (11:56 +0000)
commit4e96ddaec8837b8c0bd27a75418e033da68e299b
treed3ed2d2f7ff1ef998364f452de19c6d287b3e04e
parent6ede570259a91cd0c34b9faf9fec7e4ec8275200
dpdk: Add iova-mode to startup

In some cases of using vfio-pci driver, it should be required
to enable pa or va mode. Without it, rtl_eal_init unable to
allocate memory required. Debugging told that iova-mode pa/va
could help. And it helps.

This patch allows to pass iova-mode to vpp startup.conf

Type: feature
Change-Id: I36b87f5d3d141891b37cda2c306d50433954a34a
Signed-off-by: Vladimir Ratnikov <vratnikov@netgate.com>
src/plugins/dpdk/device/dpdk_priv.h