Hello vpp-dev and csit-dev, When run CSIT test, it first run verify_vpp_on_all_duts with default startup.conf without uio-driver field setup in it, Then VPP will probe uio-driver automatically, due to iommu_group=-1, VPP will change the value of /sys/module/vfio/parameters/enable_unsafe_noiommu_mode in the system from N to Y, this will cause that VPP always mistake to run with vfio-noiommu driver within the platform that is on intel_iommu=on state.
I proposed a patch [1] to fix this issue, please kindly help to review to see if it is acceptable. [1] https://gerrit.fd.io/r/c/vpp/+/22805 Normally to configure vfio-noiommu with intel_iommu=on on the platform that has IOMMU should be regarded as invalid config, But below test result(on intel cascadelake platform) made me puzzled, 1. VPP worked fine with vfio noiommu driver and intel_iommu=on when running with 1G hugepages. 2. VPP do not work with vfio noiommu driver and intel_iommu=on when running with 2M hugepages. So here need your expert's comment if vfio noiommu driver and intel_iommu=on is a valid configuration for VPP ? If Yes, it may to your expert to fix issue of running with 2M hugepages. Best Regards Yulong Pei
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14248): https://lists.fd.io/g/vpp-dev/message/14248 Mute This Topic: https://lists.fd.io/mt/35943087/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-