VFIO on jetson orin nano not work

Hi,

I was trying to use DPDK on the orin nx so i can capture very high speed data through PCIEX4 from my fpga data sample card without the linux kernel copy part.
In the DPDK , VFIO is recomened to get incharge of the pcie outbund interface and expose it to the user space.
to make it work i use the VFIO offical example. the exmaple need to make the vfio-pci incharge of the whole iommu group, which means all the device in the group. but the iommu assigned the pcieport and tergra194-pcie device in this group too

uranus@ubuntu:~$ ls -l /sys/bus/pci/devices/0004\:01\:00.0/iommu_group/devices/
total 0
lrwxrwxrwx 1 root root 0 Sep  6 19:13 0004:00:00.0 -> ../../../../devices/platform/14160000.pcie/pci0004:00/0004:00:00.0
lrwxrwxrwx 1 root root 0 Sep  6 19:13 0004:01:00.0 -> ../../../../devices/platform/14160000.pcie/pci0004:00/0004:00:00.0/0004:01:00.0
lrwxrwxrwx 1 root root 0 Sep  6 19:13 14160000.pcie -> ../../../../devices/platform/14160000.pcie

so the iommu group is not viable, which make the
ret=ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU); fail

is it possible to use VFIO on the jetson module,is there any example i can follow?

Thanks a lot!

We don’t have much experience about using the driver, hope someone has tried that to share experience,

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.