xref: /linux/drivers/vhost/Kconfig (revision 9a393b5d5988ea4eaa3e0da138321abe0dc03a68)
13a4d5c94SMichael S. Tsirkinconfig VHOST_NET
243893cbeSKees Cook	tristate "Host kernel accelerator for virtio net"
3*9a393b5dSSainath Grandhi	depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP)
46ac1afbfSAsias He	select VHOST
53a4d5c94SMichael S. Tsirkin	---help---
63a4d5c94SMichael S. Tsirkin	  This kernel module can be loaded in host kernel to accelerate
73a4d5c94SMichael S. Tsirkin	  guest networking with virtio_net. Not to be confused with virtio_net
83a4d5c94SMichael S. Tsirkin	  module itself which needs to be loaded in guest kernel.
93a4d5c94SMichael S. Tsirkin
103a4d5c94SMichael S. Tsirkin	  To compile this driver as a module, choose M here: the module will
113a4d5c94SMichael S. Tsirkin	  be called vhost_net.
123a4d5c94SMichael S. Tsirkin
13181c04a3SMichael S. Tsirkinconfig VHOST_SCSI
14181c04a3SMichael S. Tsirkin	tristate "VHOST_SCSI TCM fabric driver"
15181c04a3SMichael S. Tsirkin	depends on TARGET_CORE && EVENTFD && m
166ac1afbfSAsias He	select VHOST
17181c04a3SMichael S. Tsirkin	default n
18181c04a3SMichael S. Tsirkin	---help---
19181c04a3SMichael S. Tsirkin	Say M here to enable the vhost_scsi TCM fabric module
20181c04a3SMichael S. Tsirkin	for use with virtio-scsi guests
21f87d0fbbSRusty Russell
22304ba62fSAsias Heconfig VHOST_VSOCK
23304ba62fSAsias He	tristate "vhost virtio-vsock driver"
24304ba62fSAsias He	depends on VSOCKETS && EVENTFD
25304ba62fSAsias He	select VIRTIO_VSOCKETS_COMMON
26304ba62fSAsias He	select VHOST
27304ba62fSAsias He	default n
28304ba62fSAsias He	---help---
29304ba62fSAsias He	This kernel module can be loaded in the host kernel to provide AF_VSOCK
30304ba62fSAsias He	sockets for communicating with guests.  The guests must have the
31304ba62fSAsias He	virtio_transport.ko driver loaded to use the virtio-vsock device.
32304ba62fSAsias He
33304ba62fSAsias He	To compile this driver as a module, choose M here: the module will be called
34304ba62fSAsias He	vhost_vsock.
35304ba62fSAsias He
366ac1afbfSAsias Heconfig VHOST
376ac1afbfSAsias He	tristate
386ac1afbfSAsias He	---help---
396ac1afbfSAsias He	  This option is selected by any driver which needs to access
406ac1afbfSAsias He	  the core of vhost.
412751c988SGreg Kurz
422751c988SGreg Kurzconfig VHOST_CROSS_ENDIAN_LEGACY
432751c988SGreg Kurz	bool "Cross-endian support for vhost"
442751c988SGreg Kurz	default n
452751c988SGreg Kurz	---help---
462751c988SGreg Kurz	  This option allows vhost to support guests with a different byte
472751c988SGreg Kurz	  ordering from host while using legacy virtio.
482751c988SGreg Kurz
492751c988SGreg Kurz	  Userspace programs can control the feature using the
502751c988SGreg Kurz	  VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls.
512751c988SGreg Kurz
522751c988SGreg Kurz	  This is only useful on a few platforms (ppc64 and arm64). Since it
532751c988SGreg Kurz	  adds some overhead, it is disabled by default.
542751c988SGreg Kurz
552751c988SGreg Kurz	  If unsure, say "N".
56