xref: /OK3568_Linux_fs/kernel/net/xdp/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyunconfig XDP_SOCKETS
3*4882a593Smuzhiyun	bool "XDP sockets"
4*4882a593Smuzhiyun	depends on BPF_SYSCALL
5*4882a593Smuzhiyun	default n
6*4882a593Smuzhiyun	help
7*4882a593Smuzhiyun	  XDP sockets allows a channel between XDP programs and
8*4882a593Smuzhiyun	  userspace applications.
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunconfig XDP_SOCKETS_DIAG
11*4882a593Smuzhiyun	tristate "XDP sockets: monitoring interface"
12*4882a593Smuzhiyun	depends on XDP_SOCKETS
13*4882a593Smuzhiyun	default n
14*4882a593Smuzhiyun	help
15*4882a593Smuzhiyun	  Support for PF_XDP sockets monitoring interface used by the ss tool.
16*4882a593Smuzhiyun	  If unsure, say Y.
17