Re: [PATCH bpf-next v3 01/15] net: initial AF_XDP skeleton

2018-05-24 Thread Alexei Starovoitov
On Wed, May 23, 2018 at 03:50:47PM -0700, Stephen Hemminger wrote: > Most distributions will want it to be a module so that it is not loaded > unless used, and AF_XDP could be also be disabled by blacklisting the module. I think the opposite will be the case. Anyone who cares about performance wou

Re: [PATCH bpf-next v3 01/15] net: initial AF_XDP skeleton

2018-05-23 Thread Björn Töpel
2018-05-24 0:50 GMT+02:00 Stephen Hemminger : > On Wed, 2 May 2018 13:01:22 +0200 > Björn Töpel wrote: > >> diff --git a/net/xdp/Kconfig b/net/xdp/Kconfig >> new file mode 100644 >> index ..90e4a7152854 >> --- /dev/null >> +++ b/net/xdp/Kconfig >> @@ -0,0 +1,7 @@ >> +config XDP_SOCKET

Re: [PATCH bpf-next v3 01/15] net: initial AF_XDP skeleton

2018-05-23 Thread Stephen Hemminger
On Wed, 2 May 2018 13:01:22 +0200 Björn Töpel wrote: > diff --git a/net/xdp/Kconfig b/net/xdp/Kconfig > new file mode 100644 > index ..90e4a7152854 > --- /dev/null > +++ b/net/xdp/Kconfig > @@ -0,0 +1,7 @@ > +config XDP_SOCKETS > + bool "XDP sockets" > + depends on BPF_SYSCAL

[PATCH bpf-next v3 01/15] net: initial AF_XDP skeleton

2018-05-02 Thread Björn Töpel
From: Björn Töpel Buildable skeleton of AF_XDP without any functionality. Just what it takes to register a new address family. Signed-off-by: Björn Töpel --- MAINTAINERS | 8 include/linux/socket.h | 5 - net/Kconfig |