dpdk: add base-virtaddr config option
Type: improvement
Allow the use of the base-virtaddr config option to be passed through
to DPDK. This is useful to allow use of devices with an IOMMU in
nested VMs without resorting to PA IOVA mode.
@@ -40,6 +40,7 @@ _(nchannels, n) \
_(mem-alloc-request, m) \
_(force-ranks, r)
+/* clang-format off */
/* These args are preceded by "--" and followed by a single string */
#define foreach_eal_double_hyphen_arg \
_(huge-dir) \
@@ -47,7 +48,9 @@ _(proc-type) \
_(file-prefix) \
_(vdev) \
_(log-level) \
-_(iova-mode)
+_(iova-mode) \
+_(base-virtaddr)
+/* clang-format on */
static inline void
dpdk_get_xstats (dpdk_device_t * xd)
