Re: [PATCH bpf-next 14/15] xsk: statistics support

2018-04-25 Thread Magnus Karlsson
On Tue, Apr 24, 2018 at 6:58 PM, Willem de Bruijn wrote: > On Mon, Apr 23, 2018 at 9:56 AM, Björn Töpel wrote: >> From: Magnus Karlsson >> >> In this commit, a new getsockopt is added: XDP_STATISTICS. This is >>

Re: [PATCH bpf-next 14/15] xsk: statistics support

2018-04-24 Thread Willem de Bruijn
On Mon, Apr 23, 2018 at 9:56 AM, Björn Töpel wrote: > From: Magnus Karlsson > > In this commit, a new getsockopt is added: XDP_STATISTICS. This is > used to obtain stats from the sockets. > > Signed-off-by: Magnus Karlsson

[PATCH bpf-next 14/15] xsk: statistics support

2018-04-23 Thread Björn Töpel
From: Magnus Karlsson In this commit, a new getsockopt is added: XDP_STATISTICS. This is used to obtain stats from the sockets. Signed-off-by: Magnus Karlsson --- include/uapi/linux/if_xdp.h | 7 +++ net/xdp/xsk.c | 42