xref: /linux/net/9p/Kconfig (revision 33625427a38288bc54c5821203e198a661e6b8c2)
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_VSOCK
36	depends on NET_9P_FD
37	depends on VSOCKETS
38	bool "9P VSOCK Transport"
39	help
40	  This builds support for a transport for 9pfs over
41	  virtual sockets (vsock). This is useful for communication
42	  between virtual machines and their host without requiring
43	  TCP/IP networking configuration or additional userspace software.
44
45config NET_9P_XEN
46	depends on XEN
47	select XEN_XENBUS_FRONTEND
48	tristate "9P Xen Transport"
49	help
50	  This builds support for a transport for 9pfs between
51	  two Xen domains.
52
53config NET_9P_USBG
54	tristate "9P USB Gadget Transport"
55	depends on USB_GADGET
56	select CONFIGFS_FS
57	select USB_LIBCOMPOSITE
58	help
59	  This builds support for a transport for 9pfs over
60	  usb gadget.
61
62config NET_9P_RDMA
63	depends on INET && INFINIBAND && INFINIBAND_ADDR_TRANS
64	tristate "9P RDMA Transport (Experimental)"
65	help
66	  This builds support for an RDMA transport.
67
68config NET_9P_DEBUG
69	bool "Debug information"
70	help
71	  Say Y if you want the 9P subsystem to log debug information.
72
73endif
74