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: 7976
(cherry picked from commit 8f63094744)
pull/14122/head
parent
84c3fdc5f4
commit
5b8f14a67f
Loading…
Reference in New Issue