Execute DOCA URL filter

hi i have problems running the url filter application.I also followed the advice in this post(https://forums.developer.nvidia.com/t/doca-examples-url-filter/186476/9) but to no avail.

ubuntu@localhost:~$ /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 /run/user/1000/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
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: Couldn't get fd on hugepage file
EAL: error allocating rte services array
EAL: FATAL: rte_service_init() failed
EAL: rte_service_init() failed
[22:43:19:330613][DOCA][E][FOFLD]: EAL initialization failed

ovs configuration

ubuntu@localhost:~$ sudo ovs-vsctl show
1015867f-3b53-4fd7-88dc-303b8b7d94eb
    Bridge OVS-BR1
        Port OVS-BR1
            Interface OVS-BR1
                type: internal
        Port enp3s0f0s2
            Interface enp3s0f0s2
    Bridge OVS-BR2
        Port OVS-BR2
            Interface OVS-BR2
                type: internal
        Port enp3s0f0s3
            Interface enp3s0f0s3
        Port p0
            Interface p0
    ovs_version: "2.14.1"

scalable function configuration

ubuntu@localhost:~$ sudo mlnx-sf --action show 

SF Index: pci/0000:03:00.0/229376
  Parent PCI dev: 0000:03:00.0
  Representor netdev: en3f0pf0sf2
  Function HWADDR: 02:85:57:18:83:eb
  Auxiliary device: mlx5_core.sf.2
    netdev: enp3s0f0s2
    RDMA dev: mlx5_2

SF Index: pci/0000:03:00.0/229377
  Parent PCI dev: 0000:03:00.0
  Representor netdev: en3f0pf0sf3
  Function HWADDR: 02:f4:eb:38:00:00
  Auxiliary device: mlx5_core.sf.3
    netdev: enp3s0f0s3
    RDMA dev: mlx5_3

For this one, I think its permissions with access to the sysfs for the hugepages. Can you try to sudo this or change to root and run it (with the trusted SF config in place too).

Thanks!

exactly here I have not put “sudo”

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
[23:05:58:911679][DOCA][E][FOFLD]: Forward to SFT IPV4-UDP failed, error=no PMD support for SFT

now I close this post because it is equal to this one

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