Hi,
I’m encountering an issue when attempting to run doca_flow_ct_udp sample. I have tried to use different port but got same results. The followings are the logs and all configures. What am I missing?
I’d appreciate any help.
logs:
root@node3:/tmp/flow_ct_udp# /tmp/flow_ct_udp/doca_flow_ct_udp -- -l 70 -a pci/98:00.0
[2025-12-18 07:42:56:842035][3307092224][DOCA][INF][doca_log.cpp:633] DOCA version 3.2.0118
[2025-12-18 07:42:56:842058][3307092224][DOCA][INF][flow_ct_udp_main.c:76][main] Starting the sample
EAL: Detected CPU lcores: 48
EAL: Detected NUMA nodes: 2
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: VFIO support initialized
TELEMETRY: No legacy callbacks, legacy socket not created
EAL: Probe PCI driver: mlx5_pci (15b3:1023) device: 0000:98:00.0 (socket 1)
mlx5_net: Metadata mode 4 is not supported (no E-Switch).
[2025-12-18 07:42:57:207547][3307092224][DOCA][DBG][dpdk_utils.c:181][port_init] Port 0 MAC: 38 25 f3 54 2b 16
[2025-12-18 07:42:57:207557][3307092224][DOCA][WRN][dpdk_utils.c:195][port_init] Port 0 is on remote NUMA node to polling thread
[2025-12-18 07:42:57:207560][3307092224][DOCA][WRN][dpdk_utils.c:196][port_init] Performance will not be optimal
[2025-12-18 07:42:57:207574][3307092224][DOCA][WRN][engine_model.c:90] adapting queue depth to 128.
Segmentation fault (core dumped)
configures:
# system config
echo '2048' | sudo tee -a /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
sudo mkdir /mnt/huge
sudo mount -t hugetlbfs -o pagesize=2M nodev /mnt/huge
# nic config
sudo mlxconfig -y -d /dev/mst/mt4131_pciconf0 s SRIOV_EN=1
sudo mlxconfig -y -d /dev/mst/mt4131_pciconf0 s NUM_OF_VFS=16
echo 2 > /sys/class/net/ens21f0np0/device/sriov_numvfs
root@node3:/tmp/flow_ct_udp# lspci | grep Virtual
98:00.2 Ethernet controller: Mellanox Technologies ConnectX Family mlx5Gen Virtual Function
98:00.3 Ethernet controller: Mellanox Technologies ConnectX Family mlx5Gen Virtual Function
echo ON | tee /sys/class/net/ens21f0np0/device/sriov/0/trust
echo ON | tee /sys/class/net/ens21f0np0/device/sriov/1/trust
echo 0000:98:00.2 > /sys/bus/pci/drivers/mlx5_core/unbind
echo 0000:98:00.2 > /sys/bus/pci/drivers/mlx5_core/bind