Hi, On a Intel xeon E5-2697 chip with iommu turned on with Intel NIC 82599, i am getting the following error while doing the NIC binding using VFIO. kernel: 4.23 fedora 23, i haven't tried the latest kernel yet.
E5-2697 supports IOMMU VT-d, does VFIO NIC binding steps, modprobe vfio-pci sudo /usr/bin/chmod a+x /dev/vfio sudo /usr/bin/chmod 0666 /dev/vfio/* $DPDK_DIR/tools/dpdk_nic_bind.py --bind=vfio-pci 0000:04:00.0 $DPDK_DIR/tools/dpdk_nic_bind.py --status Error ===== EAL: Detected 48 lcore(s) EAL: Probing VFIO support... EAL: IOMMU type 1 (Type 1) is supported EAL: IOMMU type 8 (No-IOMMU) is not supported EAL: VFIO support initialized EAL: Master lcore 1 is ready (tid=83504bc0;cpuset=[1]) EAL: PCI device 0000:04:00.0 on NUMA socket 0 EAL: probe driver: 8086:154d rte_ixgbe_pmd EAL: set IOMMU type 1 (Type 1) failed, error 1 (Operation not permitted) EAL: set IOMMU type 8 (No-IOMMU) failed, error 19 (No such device) EAL: 0000:04:00.0 failed to select IOMMU type EAL: Error - exiting with code: 1 Cause: Requested device 0000:04:00.0 cannot be used dmesg: ====== [ 0.997461] DMAR: Ignoring identity map for HW passthrough device 0000:00:1f.0 [0x0 - 0xffffff] [ 0.997465] DMAR: Intel(R) Virtualization Technology for Directed I/O [ 1.351801] DMAR: 32bit 0000:00:1a.0 uses non-identity mapping [ 1.362623] DMAR: 32bit 0000:00:1d.0 uses non-identity mapping [ 1.373601] DMAR: 32bit 0000:01:00.4 uses non-identity mapping [ 297.035504] vfio-pci 0000:04:00.0: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. [root@localhost bin]# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-4.2.3-300.fc23.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet default_hugepagesz=1G hugepagesz=1G hugepages=16 hugepagesz=2M hugepages=2048 iommu=pt intel_iommu=on demsg | grep 10G - 82599 controller 04:00.0 Ethernet controller: Intel Corporation Ethernet 10G 2P X520 Adapter (rev 01) 04:00.1 Ethernet controller: Intel Corporation Ethernet 10G 2P X520 Adapter (rev 01) Regards Kapil.
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss