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>
This commit is contained in:
Vladimir Ratnikov
2020-02-13 03:36:21 -05:00
committed by Damjan Marion
parent 6ede570259
commit 4e96ddaec8

View File

@@ -47,7 +47,8 @@ _(huge-dir) \
_(proc-type) \
_(file-prefix) \
_(vdev) \
_(log-level)
_(log-level) \
_(iova-mode)
static inline void
dpdk_get_xstats (dpdk_device_t * xd)