Bug #8030
openNone worker threads in af-xdp mode while use veth interface
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
No data to display