E: dpdk: Interface “0000:19:00.1”: No such device
Suricata version 7.0.4 DPDK 21.11.3 Centos 8.5.2111
Hi, friend, I have a problem about suricata,
I have intel and mellanox on the device, but I use intel only,
DPDK test no problem, but suricata transfer dpdk not good,please help me
[root@ids01.kj01.zzjg.dxm-int.com /usr/bin]# suricata -c /usr/local/etc/suricata/suricata.yaml --user=root --dpdk
i: suricata: This is Suricata version 7.0.4 RELEASE running in SYSTEM mode
W: detect: No rule files match the pattern /usr/local/var/lib/suricata/rules/suricata.rules
W: detect: 1 rule files specified, but no rules were loaded!
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Invalid NUMA socket, default to 0
mlx5_pci: No kernel/verbs support for VF LAG bonding found.
common_mlx5: Failed to load driver = mlx5_pci.
EAL: Requested device 0000:31:00.0 cannot be used
EAL: Invalid NUMA socket, default to 0
mlx5_pci: No kernel/verbs support for VF LAG bonding found.
common_mlx5: Failed to load driver = mlx5_pci.
EAL: Requested device 0000:31:00.1 cannot be used
E: dpdk: Interface “0000:19:00.1”: No such device
Yes,suricata.yaml file as follows:
dpdk:
eal-params:
proc-type: primary
DPDK capture support
RX queues (and TX queues in IPS mode) are assigned to cores in 1:1 ratio
interfaces:
interface: 0000:19:00.1 # PCIe address of the NIC port
Threading: possible values are either “auto” or number of threads
- auto takes all cores
in IPS mode it is required to specify the number of cores and the numbers on both interfaces must match
threads: auto
promisc: true # promiscuous mode - capture all packets
multicast: true # enables also detection on multicast packets
checksum-checks: true # if Suricata should validate checksums
checksum-checks-offload: true # if possible offload checksum validation to the NIC (saves Suricata resources)
mtu: 1500 # Set MTU of the device in bytes