diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2019-01-24 19:59:39 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-01-25 01:50:03 +0100 |
commit | a36b38aa2af61146ea80980a01cf6e952ab021c1 (patch) | |
tree | 910d7378db7613ea6d36759dce35211dfb9766b8 /net/xdp/Makefile | |
parent | 50e74c0131a5b3a3e387798a5705158c04fb3bd0 (diff) | |
download | linux-a36b38aa2af61146ea80980a01cf6e952ab021c1.tar.bz2 |
xsk: add sock_diag interface for AF_XDP
This patch adds the 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 user-space ABI is defined in linux/xdp_diag.h and includes netlink
request and response structs. The request can query sockets and the
response contains socket information about the rings, umems, inode and
more.
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/xdp/Makefile')
-rw-r--r-- | net/xdp/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/xdp/Makefile b/net/xdp/Makefile index 04f073146256..59dbfdf93dca 100644 --- a/net/xdp/Makefile +++ b/net/xdp/Makefile @@ -1 +1,2 @@ obj-$(CONFIG_XDP_SOCKETS) += xsk.o xdp_umem.o xsk_queue.o +obj-$(CONFIG_XDP_SOCKETS_DIAG) += xsk_diag.o |