]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'af_xdp-stats'
authorAlexei Starovoitov <ast@kernel.org>
Mon, 13 Jul 2020 22:32:56 +0000 (15:32 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 13 Jul 2020 22:33:48 +0000 (15:33 -0700)
commit1dc6c8c5dbdfc9ba3edf055f8aaa06793cec5c54
treee623617e4cb293fd0a0c98047493c580de65f9a6
parente6df193342ff6aa5d38b3a890458bb602a15fe9e
parentc40e8fcde898dda9d5fb22b67d2028488d87f38c
Merge branch 'af_xdp-stats'

Ciara Loftus says:

====================
This series introduces new statistics for af_xdp:
1. drops due to rx ring being full
2. drops due to fill ring being empty
3. failures pulling an item from the tx ring

These statistics should assist users debugging and troubleshooting
peformance issues and packet drops.

The statistics are made available though the getsockopt and xsk_diag
interfaces, and the ability to dump these extended statistics is made
available in the xdpsock application via the --extra-stats or -x flag.

A separate patch which will add ss/iproute2 support will follow.
====================

Acked-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>