mirror of https://github.com/OISF/suricata
dpdk: fix the CPU exclude logic
The exclude function incorrectly performs a XOR operation. While it
works when the worker cores occupy all cores, it is not the correct
operation. For example, when a core is affined to only management
and not worker threads, the XOR operation affines it to the worker set.
(1 XOR 0 -> 1, where in fact the desired outcome is 0)
Ticket: 7977
(cherry picked from commit 8f63094744)
pull/14124/head
parent
4952744dec
commit
e965320c9a
Loading…
Reference in New Issue