Hi all,
I’m new to DOCA SDK. I’m trying to run the example applications but I’m getting the following error, can anyone help?
$ sudo /opt/mellanox/doca/examples/url_filter/bin/doca_url_filter -a 0000:03:00.0,class=regex -a auxiliary:mlx5_core.sf.2,sft_en=1 -a auxiliary:mlx5_core.sf.4,sft_en=1 -c3 – -p -l 3
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)
mlx5_net: dr_create_flow_tbl failed
mlx5_net: dr_create_flow_tbl failed
EAL: No legacy callbacks, legacy socket not created
[09:23:12:180936][DOCA][E][FOFLD]: Forward to SFT IPV4-UDP failed, error=SFT was not initialized
Some other information that might be helpful:
$ sudo mlnx-sf -a show
$ numastat -mc | egrep “Node|Huge”
Token Node not in hash table.
Token Node not in hash table.
Token Node not in hash table.
Token Node not in hash table.
Token Node not in hash table.
Node 0 Total
AnonHugePages 0 0
HugePages_Total 4096 4096
HugePages_Free 3762 3762
HugePages_Surp 0 0
It might be possible that you’re on the DOCA 1.0 release and following the DOCA 1.1 (SDK 0.2) guide for running the sample application. Stateful flow table support was added in DOCA 1.1
See if these instructions work:
/opt/mellanox/doca/examples/url_filter/bin/doca_url_filter -a 0000:03:00.0,class=regex:eth,representor=[65535],sft_en=0 –p
Alternatively, upgrading or reimaging to the DOCA 1.1 release should resolve this one.
# /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
[01:37:40:216568][DOCA][E][FOFLD]: Forward to SFT IPV4-UDP failed, error=no PMD support for SFT
The SFT error you received is usually shown when supplying the DOCA application an SF (Scalable Function) without first setting them to “trusted”. You can find more information about it in the Scalable Function Documentation.
As for the DOCA version, it looks like you installed DOCA 1.1, meaning you have everything needed for testing the application. The configuration steps should be: