Using Simple Forward VNF but GTP support is not enabled

I tried to use the Simple Forward VNF application but some errors came out below shows that GTP support is not enabled.I don’t know if the application has been successfully launched。

root@localhost:/home/ubuntu# /opt/mellanox/doca/applications/simple_fwd_vnf/bin/doca_simple_fwd_vnf -a auxiliary:mlx5_core.sf.3 -a auxiliary:mlx5_core.sf.2 – -l 30
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: Probing VFIO support…
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
Temporary WARN - Destination table level lower than Source
[09:09:19:244862][DOCA][ERR][dpdk_flow_sws:114]: failed creating flow on port 0 - creation error type 13 message: GTP support is not enabled
[09:09:19:279626][DOCA][ERR][dpdk_flow_sws:114]: failed creating flow on port 1 - creation error type 13 message: GTP support is not enabled

I already set FLEX profile number to 3 by

sudo mlxconfig -d 03:00.0 s FLEX_PARSER_PROFILE_ENABLE=3
sudo mlxconfig -d 03:00.1 s FLEX_PARSER_PROFILE_ENABLE=3

and encap mode is none;
Is there anyone who can help me?

Likely you run fwd app on default sf.2/3, You can try create SF 4.5

Note: The flag -a auxiliary:mlx5_core.sf.4 -a auxiliary:mlx5_core.sf.5 is mandatory for proper usage of the application. Modifying this flag results unexpected behavior as only 2 ports are supported. The SF number is arbitrary and configurable.

Note: SFs must be enabled according to Scalable Function Setup Guide.

On the other hand, have you power cycle server to reset firmware after set flex profile?

Likely, flex profile 3 only support GRE/VXLAN not for GTP.

Thank you very much!
it seems that i forgot power cycle the server and after reboot the server there’s no error came out

root@localhost:/home/ubuntu# /opt/mellanox/doca/applications/simple_fwd_vnf/bin/doca_simple_fwd_vnf -a auxiliary:mlx5_core.sf.2 -a auxiliary:mlx5_core.sf.3 – -l 50
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: Probing VFIO support…
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
[02:32:08:613470][DOCA][INF][engine_model:73]: engine model defined with mode=vnf
[02:32:08:613598][DOCA][INF][engine_model:75]: engine model defined with nr_pipe_queues=7
[02:32:08:613674][DOCA][INF][engine_model:76]: engine model defined with pipe_queue_depth=0
[02:32:08:613933][DOCA][INF][engine_field_mapping:96]: Engine field mapping initialized with 3 focus 12 protocols
[02:32:08:614011][DOCA][INF][engine_shared_resources:94]: Engine shared resources initialized successfully
[02:32:08:614077][DOCA][INF][dpdk_engine:437]: queue depth is zero, set it to default 128.
[02:32:08:614152][DOCA][INF][encap_table:119]: encap table created
[02:32:08:614231][DOCA][INF][dpdk_table:70]: Initializing dpdk table successfully
[02:32:08:614282][DOCA][INF][dpdk_flow:82]: Initializing dpdk flow successfully
[02:32:08:614323][DOCA][INF][engine_shared_resources:133]: Allocated 16 shared resources of type 2
[02:32:08:614363][DOCA][INF][dpdk_resource_manager:184]: Dpdk resource manager register completed
[02:32:08:614549][DOCA][INF][dpdk_layer:260]: Dpdk layer register completed
[02:32:08:614758][DOCA][INF][doca_flow_layer:466]: Doca flow layer initialized
[02:32:08:614814][DOCA][INF][doca_flow:526]: Doca flow initialized successfully
[02:32:08:614998][DOCA][INF][utils_hash_table:123]: hash table grp_fwd port 0 created
[02:32:08:615069][DOCA][INF][dpdk_port:167]: Dpdk port 0 initialized successfully with 8 queues
[02:32:08:812098][DOCA][INF][id_pool:68]: Initialized ID Pool meter_id_p0 with address 0xaaaadb112680 of size 8192, min index 1
[02:32:08:817933][DOCA][INF][id_pool:68]: Initialized ID Pool policy_id_p0 with address 0xaaaadb112f80 of size 8192, min index 1
[02:32:08:819391][DOCA][INF][id_pool:68]: Initialized ID Pool tm_1 with address 0xaaaadb242420 of size 1, min index 0
[02:32:08:826548][DOCA][INF][utils_hash_table:123]: hash table grp_fwd port 1 created
[02:32:08:826685][DOCA][INF][dpdk_port:167]: Dpdk port 1 initialized successfully with 8 queues
[02:32:09:023462][DOCA][INF][id_pool:68]: Initialized ID Pool meter_id_p1 with address 0xaaaadba1ff80 of size 8192, min index 1
[02:32:09:029329][DOCA][INF][id_pool:68]: Initialized ID Pool policy_id_p1 with address 0xaaaadba212b0 of size 8192, min index 1
[02:32:09:030865][DOCA][INF][id_pool:68]: Initialized ID Pool tm_2 with address 0xaaaadba28220 of size 1, min index 0
[02:32:09:039243][DOCA][INF][id_pool:68]: Initialized ID Pool tm_3 with address 0xaaaadba538a0 of size 1, min index 0
[02:32:09:045962][DOCA][INF][id_pool:68]: Initialized ID Pool tm_4 with address 0xaaaadbc7dd80 of size 1, min index 0
[02:32:09:053829][DOCA][INF][id_pool:68]: Initialized ID Pool tm_5 with address 0xaaaadbea8180 of size 1, min index 0
Temporary WARN - Destination table level lower than Source
[02:32:09:066990][DOCA][INF][id_pool:68]: Initialized ID Pool tm_6 with address 0xaaaadc0ccef0 of size 8192, min index 0
[02:32:09:075400][DOCA][INF][id_pool:68]: Initialized ID Pool tm_7 with address 0xaaaadc139bd0 of size 1, min index 0
[02:32:09:083098][DOCA][INF][id_pool:68]: Initialized ID Pool tm_8 with address 0xaaaadc36af00 of size 1, min index 0
[02:32:09:089925][DOCA][INF][id_pool:68]: Initialized ID Pool tm_9 with address 0xaaaadc5953a0 of size 1, min index 0
[02:32:09:103176][DOCA][INF][id_pool:68]: Initialized ID Pool tm_10 with address 0xaaaadc7ba030 of size 8192, min index 0

Thanks again and I am wondering if it is working correctly

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