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