[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190125071848.25959-1-bjorn.topel@gmail.com>
Date: Fri, 25 Jan 2019 08:18:46 +0100
From: bjorn.topel@...il.com
To: netdev@...r.kernel.org, stephen@...workplumber.org
Cc: Björn Töpel <bjorn.topel@...il.com>,
magnus.karlsson@...el.com, magnus.karlsson@...il.com
Subject: [PATCH iproute2-next 0/2] ss: AF_XDP monitoring support
From: Björn Töpel <bjorn.topel@...il.com>
Hi!
This short series teaches ss about AF_XDP monitoring support using the
sock_diag interface.
The AF_XDP monitoring support was merged to kernel in commit
dbbd79ae166f ("Merge branch 'af-xdp-sock-diag'"), via the bpf-next
tree.
Note libc has to know about AF_XDP for iproute2 to build properly
after this series. For glibc, AF_XDP was added in commit 38b0593e9a86
("Add PF_XDP, AF_XDP and SOL_XDP from Linux 4.18 to bits/socket.h.")
and for musl AF_XDP was introduced in commit 0a9a5c20c7eb ("add AF_XDP
to sys/socket.h from linux v4.18").
Thanks,
Björn
Björn Töpel (2):
uapi: add xdp_diag.h
ss: add AF_XDP support
include/uapi/linux/xdp_diag.h | 72 +++++++++++++++
man/man8/ss.8 | 9 +-
misc/ss.c | 168 +++++++++++++++++++++++++++++++++-
3 files changed, 244 insertions(+), 5 deletions(-)
create mode 100644 include/uapi/linux/xdp_diag.h
--
2.19.1
Powered by blists - more mailing lists