Netdev List
 help / color / mirror / Atom feed
* [PATCH iproute2-next 0/2] ss: AF_XDP monitoring support
@ 2019-01-25  7:18 bjorn.topel
  2019-01-25  7:18 ` [PATCH iproute2-next 1/2] uapi: add xdp_diag.h bjorn.topel
  2019-01-25  7:18 ` [PATCH iproute2-next 2/2] ss: add AF_XDP support bjorn.topel
  0 siblings, 2 replies; 5+ messages in thread
From: bjorn.topel @ 2019-01-25  7:18 UTC (permalink / raw)
  To: netdev, stephen; +Cc: Björn Töpel, magnus.karlsson, magnus.karlsson

From: Björn Töpel <bjorn.topel@gmail.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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-01-30  6:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-25  7:18 [PATCH iproute2-next 0/2] ss: AF_XDP monitoring support bjorn.topel
2019-01-25  7:18 ` [PATCH iproute2-next 1/2] uapi: add xdp_diag.h bjorn.topel
2019-01-25  7:18 ` [PATCH iproute2-next 2/2] ss: add AF_XDP support bjorn.topel
2019-01-30  2:39   ` David Ahern
2019-01-30  6:00     ` Björn Töpel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox