summaryrefslogtreecommitdiff
path: root/net/xdp/xsk_diag.c
diff options
context:
space:
mode:
authorCiara Loftus <ciara.loftus@intel.com>2020-07-08 10:28:34 +0300
committerAlexei Starovoitov <ast@kernel.org>2020-07-14 01:32:56 +0300
commitb36c3206f9ef3ea2844e9092c12d29c0d1f56c54 (patch)
tree5e623949d3348abf4d22bc114e9cdb982bc9c3b2 /net/xdp/xsk_diag.c
parent8aa5a33578e9685d06020bd10d1637557423e945 (diff)
downloadlinux-b36c3206f9ef3ea2844e9092c12d29c0d1f56c54.tar.xz
samples: bpf: Add an option for printing extra statistics in xdpsock
Introduce the --extra-stats (or simply -x) flag to the xdpsock application which prints additional statistics alongside the regular rx and tx counters. The new statistics printed report error conditions eg. rx ring full, invalid descriptors, etc. Signed-off-by: Ciara Loftus <ciara.loftus@intel.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200708072835.4427-3-ciara.loftus@intel.com
Diffstat (limited to 'net/xdp/xsk_diag.c')
0 files changed, 0 insertions, 0 deletions