summaryrefslogtreecommitdiffstats
path: root/src/source-dpdk.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:40:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 17:40:14 +0000
commit666c8268e8bdf745f609f7f389e5c67be45f0065 (patch)
tree93948ffd948bd0f56bd3b454cef09bd00a01224e /src/source-dpdk.c
parentAdding upstream version 1:7.0.3. (diff)
downloadsuricata-666c8268e8bdf745f609f7f389e5c67be45f0065.tar.xz
suricata-666c8268e8bdf745f609f7f389e5c67be45f0065.zip
Adding upstream version 1:7.0.4.upstream/1%7.0.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/source-dpdk.c')
-rw-r--r--src/source-dpdk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/source-dpdk.c b/src/source-dpdk.c
index 54503e2..cf26af5 100644
--- a/src/source-dpdk.c
+++ b/src/source-dpdk.c
@@ -564,7 +564,7 @@ static TmEcode ReceiveDPDKThreadInit(ThreadVars *tv, const void *initdata, void
if (inconsistent_numa_cnt > 0 && ptv->port_socket_id != SOCKET_ID_ANY) {
SCLogWarning("%s: NIC is on NUMA %d, %u threads on different NUMA node(s)",
dpdk_config->iface, ptv->port_socket_id, inconsistent_numa_cnt);
- } else if (ptv->port_socket_id == SOCKET_ID_ANY) {
+ } else if (ptv->port_socket_id == SOCKET_ID_ANY && rte_socket_count() > 1) {
SCLogNotice(
"%s: unable to determine NIC's NUMA node, degraded performance can be expected",
dpdk_config->iface);