[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <377c0c78-2eb2-5662-f4cb-a9286feab0d1@gmail.com>
Date: Wed, 30 Jan 2019 22:01:46 -0700
From: David Ahern <dsahern@...il.com>
To: bjorn.topel@...il.com, netdev@...r.kernel.org,
stephen@...workplumber.org
Cc: Björn Töpel <bjorn.topel@...el.com>,
magnus.karlsson@...el.com, magnus.karlsson@...il.com
Subject: Re: [PATCH iproute2-next v2] ss: add AF_XDP support
On 1/29/19 11:57 PM, bjorn.topel@...il.com wrote:
> From: Björn Töpel <bjorn.topel@...el.com>
>
> AF_XDP is an address family that is optimized for high performance
> packet processing.
>
> This patch adds AF_XDP support to ss(8) so that sockets can be queried
> and monitored.
>
> Example:
> $ sudo ss --xdp -e -p -m
> Recv-Q Send-Q Local Address:Port Peer Address:Port
>
> 0 0 enp134s0f0:q20 *
> users:(("xdpsock",pid=17787,fd=3)) ino:39424 sk:4
> rx(entries:2048)
> tx(entries:2048)
> umem(id:1,size:8388608,num_pages:2048,chunk_size:2048,headroom:0,ifindex:7,
> qid:20,zc:0,refs:1)
> fr(entries:2048)
> cr(entries:2048) skmem:(r0,rb212992,t0,tb212992,f0,w0,o0,bl0,d0)
> 0 0 enp24s0f0:q0 *
> users:(("xdpsock",pid=17780,fd=3)) ino:37384 sk:5
> rx(entries:2048)
> tx(entries:2048)
> umem(id:0,size:8388608,num_pages:2048,chunk_size:2048,headroom:0,ifindex:6,
> qid:0,zc:1,refs:1)
> fr(entries:2048)
> cr(entries:2048) skmem:(r0,rb212992,t0,tb212992,f0,w0,o0,bl0,d0)
>
> Signed-off-by: Björn Töpel <bjorn.topel@...el.com>
> ---
> v1->v2:
> * Define/redefine AF_XDP/AF_MAX if missing. (David)
> * Add example to the commit log. (David)
> ---
> include/utils.h | 8 +++
> man/man8/ss.8 | 9 ++-
> misc/ss.c | 168 +++++++++++++++++++++++++++++++++++++++++++++++-
> 3 files changed, 180 insertions(+), 5 deletions(-)
>
applied to iproute2-next. Thanks
Powered by blists - more mailing lists