napatech: remove superfluous log messages

pull/9441/head
Ralph Eastwood 2 years ago committed by Victor Julien
parent c4059a7f02
commit 405fc580ea

@ -813,7 +813,7 @@ TmEcode NapatechPacketLoop(ThreadVars *tv, void *data, void *slot)
#ifdef NAPATECH_ENABLE_BYPASS
NtFlowStream_t flow_stream[MAX_ADAPTERS] = { 0 };
if (NapatechUseHWBypass()) {
/* Get a FlowStream handle for each adapter so we can efficiently find the
* correct handle corresponding to the port on which a packet is received.
*/
@ -821,6 +821,7 @@ TmEcode NapatechPacketLoop(ThreadVars *tv, void *data, void *slot)
for (adapter = 0; adapter < NapatechGetNumAdapters(); ++adapter) {
flow_stream[adapter] = InitFlowStream(adapter, ntv->stream_id);
}
}
#endif
if (ConfGetBool("napatech.auto-config", &is_autoconfig) == 0) {

@ -1409,8 +1409,6 @@ uint32_t NapatechSetupTraffic(uint32_t first_stream, uint32_t last_stream)
#ifdef NAPATECH_ENABLE_BYPASS
if (NapatechUseHWBypass()) {
SCLogInfo("Napatech Hardware Bypass enabled.");
} else {
SCLogInfo("Napatech Hardware Bypass available but disabled.");
}
#else
if (NapatechUseHWBypass()) {

Loading…
Cancel
Save