intel-device-plugins-for-ku.../cmd/qat_plugin/dpdkdrv
Mikko Ylinen c306f5ef68 qat: detect noiommu mode with VFIO
If the kernel has CONFIG_VFIO_NOIOMMU enabled and the node admin
has explicitly set enable_unsafe_noiommu_mode VFIO parameter,
VFIO taints the kernel and writes "vfio-noiommu" to the IOMMU
group name. If these conditions are true, the /dev/vfio/ devices
are prefixed with "noiommu-".

This use-case is documented for DPDK so we don't want to break
it (as it was before because we added DeviceMounts to
/dev/vfio/<iommugroup> files that did not exist).

See DPDK documentation for further information and warnings.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-01-10 06:11:59 +02:00
..
dpdkdrv_test.go qat: detect noiommu mode with VFIO 2022-01-10 06:11:59 +02:00
dpdkdrv.go qat: detect noiommu mode with VFIO 2022-01-10 06:11:59 +02:00