]> git.ipfire.org Git - thirdparty/suricata.git/commit
dpdk: reset stats just before the start of packet receive loop 9492/head
authorLukas Sismis <lsismis@oisf.net>
Fri, 15 Sep 2023 10:15:23 +0000 (06:15 -0400)
committerVictor Julien <victor@inliniac.net>
Fri, 15 Sep 2023 15:09:01 +0000 (17:09 +0200)
commitaf4bb917dc9842229445683b5ce2f955faa464c2
tree693bc80a40026c5e72f8c3af86c05c0c4b7d3e64
parent3eac0f15c0cff65a7f81f4d6b04426d6599a24ad
dpdk: reset stats just before the start of packet receive loop

While Suricata initializes, the device must be started to e.g.
apply rte_flow rules on some devices. But in the meantime, the
NIC started receiving packets but accounted those as missed.
Stats reset was added to better represent true packet drop.
src/source-dpdk.c