From: Eric Leblond Date: Tue, 11 Jun 2019 21:38:25 +0000 (+0200) Subject: util-ebpf: log bypassed flow maps count X-Git-Tag: suricata-5.0.0-rc1~284 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0963fea3904b4b675b1b565acba492e9571e6bba;p=thirdparty%2Fsuricata.git util-ebpf: log bypassed flow maps count --- diff --git a/src/util-ebpf.c b/src/util-ebpf.c index e4d4e45d64..4ea5a034b3 100644 --- a/src/util-ebpf.c +++ b/src/util-ebpf.c @@ -754,6 +754,7 @@ static int EBPFForEachFlowV4Table(ThreadVars *th_v, LiveDevice *dev, const char SC_ATOMIC_ADD(dev->bypassed, flowstats->packets); LiveDevSetBypassStats(dev, hash_cnt, AF_INET); + SCLogInfo("IPv4 bypassed flow table size: %" PRIu64, hash_cnt); return found; } @@ -870,6 +871,7 @@ static int EBPFForEachFlowV6Table(ThreadVars *th_v, SC_ATOMIC_ADD(dev->bypassed, flowstats->packets); LiveDevSetBypassStats(dev, hash_cnt, AF_INET6); + SCLogInfo("IPv6 bypassed flow table size: %" PRIu64, hash_cnt); return found; }