2018-05-24 0:50 GMT+02:00 Stephen Hemminger <step...@networkplumber.org>: > On Wed, 2 May 2018 13:01:22 +0200 > Björn Töpel <bjorn.to...@gmail.com> wrote: > >> diff --git a/net/xdp/Kconfig b/net/xdp/Kconfig >> new file mode 100644 >> index 000000000000..90e4a7152854 >> --- /dev/null >> +++ b/net/xdp/Kconfig >> @@ -0,0 +1,7 @@ >> +config XDP_SOCKETS >> + bool "XDP sockets" >> + depends on BPF_SYSCALL >> + default n >> + help >> + XDP sockets allows a channel between XDP programs and >> + userspace applications. > > Why is XDP not supported as a module? > 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.
Yes, all good points, and The Grand Plan is adding module support. Unfortunately, it's not there yet.