From 0e1a4173ff53f6eb156630f216e195e1f38caa70 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Wed, 17 Jan 2018 16:59:23 +0100 Subject: [PATCH] doc: how to get live info about ebpf behavior --- doc/userguide/capture-hardware/ebpf-xdp.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/userguide/capture-hardware/ebpf-xdp.rst b/doc/userguide/capture-hardware/ebpf-xdp.rst index 44751f147d..51fbe6026f 100644 --- a/doc/userguide/capture-hardware/ebpf-xdp.rst +++ b/doc/userguide/capture-hardware/ebpf-xdp.rst @@ -338,3 +338,8 @@ Confirm you have the XDP filter engaged in the output (example):: (util-runmodes.c:296) (RunModeSetLiveCaptureWorkersForDevice) -- Going to use 8 thread(s) ... ... + +You can get information about bypass via the stats event and through the unix socket. +`ìface-stat` will return the number of bypassed packets (adding packets for a flow when it timeout). +`ebpf-bypassed-stats` command will return the number of element in IPv4 and IPv6 flow tables for +each interfaces.