Failed to create avf interface on Intel XL710 port from AMD platform(EPYC 7742) _______ _ _ _____ ___ __/ __/ _ \ (_)__ | | / / _ \/ _ \ _/ _// // / / / _ \ | |/ / ___/ ___/ /_/ /____(_)_/\___/ |___/_/ /_/ vpp# create interface avf 0000:01:02.0 rx-queue-size 2048 tx-queue-size 2048 num-rx-queues 4 create interface avf: physmem DMA map failed: File exists vpp#
/var/log/syslog Sep 30 16:39:51 amd kernel: [35283.928922] vfio-pci 0000:01:02.0: enabling device (0000 -> 0002) Sep 30 16:39:51 amd vpp: vfio: map DMA page:4 va:0x1000000000 iova:1000000000 size:0x40000000 failed, error File exists (errno 17) Sep 30 16:39:51 amd vpp: vfio: map DMA page:5 va:0x1040000000 iova:1040000000 size:0x40000000 failed, error File exists (errno 17) Sep 30 16:39:51 amd vpp: vfio: map DMA page:6 va:0x1080000000 iova:1080000000 size:0x40000000 failed, error File exists (errno 17) Sep 30 16:39:51 amd vpp: vfio: map DMA page:7 va:0x10c0000000 iova:10c0000000 size:0x40000000 failed, error File exists (errno 17) Sep 30 16:39:51 amd vpp: vfio: map DMA page:8 va:0x1000000000 iova:1000000000 size:0x40000000 failed, error File exists (errno 17) Sep 30 16:39:51 amd vpp: avf: 0000:00:00.0: error: vfio_map_physmem_page: physmem DMA map failed: File exists#012from avf_create_if: pci-addr 0000:01:02.0 amd@amd:~$ cat /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-5.0.0-29-generic root=UUID=18c7ab3e-011a-4f6c-825f-2ed6d5e4813c ro default_hugepagesz=1G hugepagesz=1G hugepages=64 hugepagesz=2M hugepages=8192 isolcpus=48-51,176-179 transparent_hugepages=never iommu=pt amd_iommu=on numa_balancing=disable nmi_watchdog=0 audit=0 nosoftlockup hpet=disable tsc=reliable amd@amd:~$ ls /sys/class/iommu/ ivhd0 ivhd1 ivhd2 ivhd3 ivhd4 ivhd5 ivhd6 ivhd7
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14094): https://lists.fd.io/g/vpp-dev/message/14094 Mute This Topic: https://lists.fd.io/mt/34348589/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-