From 77862d503ac6ec114df075f0f859559127c914e7 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 8 May 2023 11:45:30 +0200 Subject: [PATCH] dpdk: fix variable spelling Thanks to Josh Soref. --- src/source-dpdk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/source-dpdk.c b/src/source-dpdk.c index dd7aef11ab..3537f7b8ce 100644 --- a/src/source-dpdk.c +++ b/src/source-dpdk.c @@ -507,10 +507,10 @@ static TmEcode ReceiveDPDKThreadInit(ThreadVars *tv, const void *initdata, void // some PMDs requires additional actions only after the device has started DevicePostStartPMDSpecificActions(ptv, dev_info.driver_name); - uint16_t inconsist_numa_cnt = SC_ATOMIC_GET(dpdk_config->inconsitent_numa_cnt); - if (inconsist_numa_cnt > 0) { + uint16_t inconsistent_numa_cnt = SC_ATOMIC_GET(dpdk_config->inconsitent_numa_cnt); + if (inconsistent_numa_cnt > 0) { SCLogWarning("%s: NIC is on NUMA %d, %u threads on different NUMA node(s)", - dpdk_config->iface, rte_eth_dev_socket_id(ptv->port_id), inconsist_numa_cnt); + dpdk_config->iface, rte_eth_dev_socket_id(ptv->port_id), inconsistent_numa_cnt); } }