162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# 9P protocol configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_cimenuconfig NET_9P
762306a36Sopenharmony_ci	tristate "Plan 9 Resource Sharing Support (9P2000)"
862306a36Sopenharmony_ci	help
962306a36Sopenharmony_ci	  If you say Y here, you will get experimental support for
1062306a36Sopenharmony_ci	  Plan 9 resource sharing via the 9P2000 protocol.
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci	  See <http://v9fs.sf.net> for more information.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci	  If unsure, say N.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciif NET_9P
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciconfig NET_9P_FD
1962306a36Sopenharmony_ci	default NET_9P
2062306a36Sopenharmony_ci	imply INET
2162306a36Sopenharmony_ci	imply UNIX
2262306a36Sopenharmony_ci	tristate "9P FD Transport"
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  This builds support for transports over TCP, Unix sockets and
2562306a36Sopenharmony_ci	  filedescriptors.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig NET_9P_VIRTIO
2862306a36Sopenharmony_ci	depends on VIRTIO
2962306a36Sopenharmony_ci	tristate "9P Virtio Transport"
3062306a36Sopenharmony_ci	help
3162306a36Sopenharmony_ci	  This builds support for a transports between
3262306a36Sopenharmony_ci	  guest partitions and a host partition.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciconfig NET_9P_XEN
3562306a36Sopenharmony_ci	depends on XEN
3662306a36Sopenharmony_ci	select XEN_XENBUS_FRONTEND
3762306a36Sopenharmony_ci	tristate "9P Xen Transport"
3862306a36Sopenharmony_ci	help
3962306a36Sopenharmony_ci	  This builds support for a transport for 9pfs between
4062306a36Sopenharmony_ci	  two Xen domains.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ci
4362306a36Sopenharmony_ciconfig NET_9P_RDMA
4462306a36Sopenharmony_ci	depends on INET && INFINIBAND && INFINIBAND_ADDR_TRANS
4562306a36Sopenharmony_ci	tristate "9P RDMA Transport (Experimental)"
4662306a36Sopenharmony_ci	help
4762306a36Sopenharmony_ci	  This builds support for an RDMA transport.
4862306a36Sopenharmony_ci
4962306a36Sopenharmony_ciconfig NET_9P_DEBUG
5062306a36Sopenharmony_ci	bool "Debug information"
5162306a36Sopenharmony_ci	help
5262306a36Sopenharmony_ci	  Say Y if you want the 9P subsystem to log debug information.
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ciendif
55