xref: /openbmc/linux/drivers/vhost/Kconfig (revision 7e567624)
1config VHOST_NET
2	tristate "Host kernel accelerator for virtio net"
3	depends on NET && EVENTFD && (TUN || !TUN) && (MACVTAP || !MACVTAP)
4	select VHOST
5	select VHOST_RING
6	---help---
7	  This kernel module can be loaded in host kernel to accelerate
8	  guest networking with virtio_net. Not to be confused with virtio_net
9	  module itself which needs to be loaded in guest kernel.
10
11	  To compile this driver as a module, choose M here: the module will
12	  be called vhost_net.
13
14config VHOST_SCSI
15	tristate "VHOST_SCSI TCM fabric driver"
16	depends on TARGET_CORE && EVENTFD && m
17	select VHOST
18	select VHOST_RING
19	default n
20	---help---
21	Say M here to enable the vhost_scsi TCM fabric module
22	for use with virtio-scsi guests
23
24config VHOST_RING
25	tristate
26	---help---
27	  This option is selected by any driver which needs to access
28	  the host side of a virtio ring.
29
30config VHOST
31	tristate
32	---help---
33	  This option is selected by any driver which needs to access
34	  the core of vhost.
35
36config VHOST_CROSS_ENDIAN_LEGACY
37	bool "Cross-endian support for vhost"
38	default n
39	---help---
40	  This option allows vhost to support guests with a different byte
41	  ordering from host while using legacy virtio.
42
43	  Userspace programs can control the feature using the
44	  VHOST_SET_VRING_ENDIAN and VHOST_GET_VRING_ENDIAN ioctls.
45
46	  This is only useful on a few platforms (ppc64 and arm64). Since it
47	  adds some overhead, it is disabled by default.
48
49	  If unsure, say "N".
50