xsk: add new statistics
Status from this message: Applied. Thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xsk: add new statisticsinclude/ include/ net/ +3 more | +50 | 0 replies | |
| 2/3 | samples: bpf: add an option for printing extra statistics in xdpsocksamples/ | +85 | 0 replies | |
| 3/3 | xsk: add xdp statistics to xsk_diaginclude/ net/ | +28 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Björn Töpel |
|---|---|
| Series | A-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/3] xsk: add new statistics
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.
Ciara Loftus (3):
xsk: add new statistics
samples: bpf: add an option for printing extra statistics in xdpsock
xsk: add xdp statistics to xsk_diag
include/net/xdp_sock.h | 4 ++ include/uapi/linux/if_xdp.h | 5 +- include/uapi/linux/xdp_diag.h | 11 ++++ net/xdp/xsk.c | 36 +++++++++++-- net/xdp/xsk_buff_pool.c | 1 + net/xdp/xsk_diag.c | 17 ++++++ net/xdp/xsk_queue.h | 6 +++ samples/bpf/xdpsock_user.c | 87 ++++++++++++++++++++++++++++++- tools/include/uapi/linux/if_xdp.h | 5 +- 9 files changed, 163 insertions(+), 9 deletions(-)
Signature · 1 line
2.17.1