提交 85166d13 编写于 作者: S Shile Zhang 提交者: Caspar Zhang

configs: add VFIO_NOIOMMU supports for dpdk

Dpdk needs NOIOMMU mode for virtualization in Aliyun. It depends
on vfio in Alinux2.
With VFIO_NOIOMMU configured, NOIOMMU mode can be enabled by:
/sys/module/vfio/parameters/enable_unsafe_noiommu_mode. The default
is IOMMU mode.
Signed-off-by: NShile Zhang <shile.zhang@linux.alibaba.com>
Reviewed-by: NJoseph Qi <joseph.qi@linux.alibaba.com>
上级 dd1c3918
......@@ -3096,7 +3096,7 @@ CONFIG_SYNC_FILE=y
CONFIG_VFIO_IOMMU_TYPE1=m
CONFIG_VFIO_VIRQFD=m
CONFIG_VFIO=m
# CONFIG_VFIO_NOIOMMU is not set
CONFIG_VFIO_NOIOMMU=y
CONFIG_VFIO_PCI=m
# CONFIG_VFIO_PCI_VGA is not set
CONFIG_VFIO_PCI_MMAP=y
......
......@@ -3098,7 +3098,7 @@ CONFIG_SYNC_FILE=y
CONFIG_VFIO_IOMMU_TYPE1=m
CONFIG_VFIO_VIRQFD=m
CONFIG_VFIO=m
# CONFIG_VFIO_NOIOMMU is not set
CONFIG_VFIO_NOIOMMU=y
CONFIG_VFIO_PCI=m
# CONFIG_VFIO_PCI_VGA is not set
CONFIG_VFIO_PCI_MMAP=y
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册