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

From: Stephen Hemminger <[email-masked]>
Date: Wed, 23 May 2018 15:50:47 -0700

On Wed,  2 May 2018 13:01:22 +0200
Björn Töpel <[email-masked]> 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.