Hello,
DPDK and Suricata 7 are running fine with 2 Intel 810-C cards (both with 2x100Gb ports). Adding a Mellanox card prevents Suricata from starting up, just stops after some time.
Did some Suricata gdb to get more info.
Cheers,
Andre
Red Hat Enterprise Linux release 8.8 (Ootpa)
Kernel 4.18.0-477.15.1.el8_8.x86_64
Suricata “7.0.1-dev (2786ccb08 2023-08-04)”
DPDK EAL: RTE Version: ‘DPDK 23.11.0-rc0’
]# dpdk-devbind.py -s
Network devices using DPDK-compatible driver
0000:0f:00.0 ‘MT27710 Family [ConnectX-4 Lx] 1015’ drv=vfio-pci unused=mlx5_core
0000:0f:00.1 ‘MT27710 Family [ConnectX-4 Lx] 1015’ drv=vfio-pci unused=mlx5_core
0000:10:00.0 ‘Ethernet Controller E810-C for QSFP 1592’ drv=vfio-pci unused=ice
0000:10:00.1 ‘Ethernet Controller E810-C for QSFP 1592’ drv=vfio-pci unused=ice
0000:84:00.0 ‘Ethernet Controller E810-C for QSFP 1592’ drv=vfio-pci unused=ice
0000:84:00.1 ‘Ethernet Controller E810-C for QSFP 1592’ drv=vfio-pci unused=ice
]# dmesg
[ 64.819193] ice 0000:84:00.0: Removed PTP clock
[ 67.030977] ice 0000:10:00.0: Removed PTP clock
[ 68.551582] mlx5_core 0000:0f:00.0: E-Switch: Unload vfs: mode(LEGACY), nvfs(0), active vports(0)
[ 68.560530] mlx5_core 0000:0f:00.0: E-Switch: Disable: mode(LEGACY), nvfs(0), active vports(0)
[ 73.037492] mlx5_core 0000:0f:00.0: E-Switch: Disable: mode(LEGACY), nvfs(0), active vports(0)
[ 73.670393] mlx5_core 0000:0f:00.0: E-Switch: cleanup
[ 75.335550] mlx5_core 0000:0f:00.1: E-Switch: Unload vfs: mode(LEGACY), nvfs(0), active vports(0)
[ 75.347470] mlx5_core 0000:0f:00.1: E-Switch: Disable: mode(LEGACY), nvfs(0), active vports(0)
[ 79.791446] mlx5_core 0000:0f:00.1: E-Switch: Disable: mode(LEGACY), nvfs(0), active vports(0)
[ 80.498328] mlx5_core 0000:0f:00.1: E-Switch: cleanup
]# gdb --args suricata -c /etc/suricata/suricata.yaml --user root --dpdk
(gdb) run
…
[New Thread 0x7fff91669700 (LWP 6370)]
mlx5_common: Verbs device not found: 0000:0f:00.0
mlx5_common: Failed to initialize device context.
EAL: Requested device 0000:0f:00.0 cannot be used
mlx5_common: Verbs device not found: 0000:0f:00.1
mlx5_common: Failed to initialize device context.
EAL: Requested device 0000:0f:00.1 cannot be used
[New Thread 0x7fff90e68700 (LWP 6371)]
TELEMETRY: No legacy callbacks, legacy socket not created
Error: dpdk: Interface “0000:0f:00.0”: No such device [ConfigSetIface:runmode-dpdk.c:350]
[Thread 0x7fff91669700 (LWP 6370) exited]