Forward to SFT IPV4-UDP failed, error=no PMD support for SFT

hello i have this error here, do you know how i can solve it?
what does “no PMD support for SFT” mean?

ubuntu@localhost:~$ sudo /opt/mellanox/doca/examples/url_filter/bin/doca_url_filter -a 0000:03:00.0,class=regex:eth,representor=[65535],sft_en=0 –p
EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-32768kB
EAL: No available hugepages reported in hugepages-64kB
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   Device is not NUMA-aware, defaulting socket to 0
EAL: Probe PCI driver: mlx5_pci (15b3:a2d6) device: 0000:03:00.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
[10:23:08:278380][DOCA][E][FOFLD]: Forward to SFT IPV4-UDP failed, error=no PMD support for SFT

Hey there. Normally that’s due to the SF (and the representor) are not in trusted mode.

https://docs.nvidia.com/doca/sdk/scalable-functions/index.html It’s in Step 2. Prerequisites

mlxreg -d /dev/mst/mt41686_pciconf0 --reg_id 0xc007 --reg_len 0x40 --indexes "0x0.0:32=0x80000000" --yes --set "0x4.0:32=0x1"

This will only affect SFs that are created after the command is entered. That means you have to either delete/recreate the SF, or create another SF and use that one.

The way we set trusted/untrusted mode for the SFs will be changing in the upcoming DOCA 1.2 release.

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