]> 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)
commitc755b7433300656ccd6f7b7ef1d421a7debefe5c
treee623617e4cb293fd0a0c98047493c580de65f9a6
parentec512f7f4bb611393e58efbb8ccd8d46f3b9e851
parent0cd09ce6f59f1fea4dedb2d9a0f9c938644eccda
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>