1# SPDX-License-Identifier: GPL-2.0-only
2#
3# 9P protocol configuration
4#
5
6menuconfig NET_9P
7	tristate "Plan 9 Resource Sharing Support (9P2000)"
8	select NETFS_SUPPORT
9	help
10	  If you say Y here, you will get experimental support for
11	  Plan 9 resource sharing via the 9P2000 protocol.
12
13	  See <http://v9fs.sf.net> for more information.
14
15	  If unsure, say N.
16
17if NET_9P
18
19config NET_9P_FD
20	default NET_9P
21	imply INET
22	imply UNIX
23	tristate "9P FD Transport"
24	help
25	  This builds support for transports over TCP, Unix sockets and
26	  filedescriptors.
27
28config NET_9P_VIRTIO
29	depends on VIRTIO
30	tristate "9P Virtio Transport"
31	help
32	  This builds support for a transports between
33	  guest partitions and a host partition.
34
35config NET_9P_XEN
36	depends on XEN
37	select XEN_XENBUS_FRONTEND
38	tristate "9P Xen Transport"
39	help
40	  This builds support for a transport for 9pfs between
41	  two Xen domains.
42
43config NET_9P_USBG
44	bool "9P USB Gadget Transport"
45	depends on USB_GADGET=y || USB_GADGET=NET_9P
46	select CONFIGFS_FS
47	select USB_LIBCOMPOSITE
48	help
49	  This builds support for a transport for 9pfs over
50	  usb gadget.
51
52config NET_9P_RDMA
53	depends on INET && INFINIBAND && INFINIBAND_ADDR_TRANS
54	tristate "9P RDMA Transport (Experimental)"
55	help
56	  This builds support for an RDMA transport.
57
58config NET_9P_DEBUG
59	bool "Debug information"
60	help
61	  Say Y if you want the 9P subsystem to log debug information.
62
63endif
64