Project

General

Profile

Actions

Bug #8030

open

None worker threads in af-xdp mode while use veth interface

Added by phoenix ikki 3 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

1. af-xdp mode with veth NIC

root@ubuntu:~/sdn/suricata# * ./src/suricata -c ./suricata.yaml --af-xdp -v *
Notice: suricata: This is Suricata version 8.0.1 RELEASE running in SYSTEM mode
Info: cpu: CPUs/cores online: 4
Info: suricata: Setting engine mode to IDS mode by default
Info: exception-policy: master exception-policy set to: auto
Info: ioctl: vethB: MTU 1500
Info: suricata: Preparing unexpected signal handling
Info: conf: Running in live mode, activating unix socket
Info: logopenfile: fast output device (regular) initialized: fast.log
Info: logopenfile: eve-log output device (regular) initialized: eve.json
Info: logopenfile: stats output device (regular) initialized: stats.log
Warning: detect: 1 rule files specified, but no rules were loaded!
Info: threshold-config: Threshold config parsed: 0 rule(s) found
Info: detect: 0 signatures processed. 0 are IP-only rules, 0 are inspecting packet payload, 0 inspect application layer, 0 are decoder event only
Notice: mpm-hs: Rule group caching - loaded: 0 newly cached: 0 total cacheable: 0
Info: unix-manager: unix socket '/opt/suri801/var/run/suricata/suricata-command.socket'
Info: runmodes: vethB: creating 0 thread
Notice: threads: Threads created -> FM: 1 FR: 1 Engine started.

2. By the outputs, we found no worker threads be spawned
3. I found it always return 0 in function GetIfaceRSSQueuesNum
4. The ioctl with SIOCETHTOOL failed, errno == ENOTSUP


Files

2.png (37.1 KB) 2.png phoenix ikki, 10/28/2025 08:00 AM
1.png (45.6 KB) 1.png phoenix ikki, 10/28/2025 08:00 AM
3.png (10.8 KB) 3.png phoenix ikki, 10/28/2025 08:00 AM

No data to display

Actions

Also available in: Atom PDF