diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2019-01-25 01:50:03 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-01-25 01:50:04 +0100 |
commit | dbbd79ae166fbd37ceaef77a96b5a99cce0022c3 (patch) | |
tree | 910d7378db7613ea6d36759dce35211dfb9766b8 /arch | |
parent | 2f0921262ba943fe9d9f59037a033927d8c4789b (diff) | |
parent | a36b38aa2af61146ea80980a01cf6e952ab021c1 (diff) |
Merge branch 'af-xdp-sock-diag'
Björn Töpel says:
====================
This series adds an AF_XDP sock_diag interface for querying sockets
from user-space. Tools like iproute2 ss(8) can use this interface to
list open AF_XDP sockets.
The diagnostic provides information about the Rx/Tx/fill/completetion
rings, umem, memory usage and such. For a complete list, please refer
to the xsk_diag.c file.
The AF_XDP sock_diag interface is optional, and can be built as a
module. A separate patch series, adding ss(8) iproute2 support, will
follow.
v1->v2:
* Removed extra newline
* Zero-out all user-space facing structures prior setting the
members
* Added explicit "pad" member in _msg struct
* Removed unused variable "req" in xsk_diag_handler_dump()
Thanks to Daniel for reviewing the series!
====================
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions