blob: 533eaf04f12faff85ba90791647c08a1f7a17599 [file] [log] [blame]
Michael S. Tsirkin3a4d5c94e2010-01-14 06:17:27 +00001config VHOST_NET
Kees Cook43893cb2013-01-16 18:53:56 -08002 tristate "Host kernel accelerator for virtio net"
3 depends on NET && EVENTFD && (TUN || !TUN) && (MACVTAP || !MACVTAP)
Asias He6ac1afb2013-05-06 16:38:21 +08004 select VHOST
Rusty Russellf87d0fb2013-03-20 13:50:14 +10305 select VHOST_RING
Michael S. Tsirkin3a4d5c94e2010-01-14 06:17:27 +00006 ---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
Michael S. Tsirkin181c04a2013-05-02 03:52:59 +030014config VHOST_SCSI
15 tristate "VHOST_SCSI TCM fabric driver"
16 depends on TARGET_CORE && EVENTFD && m
Asias He6ac1afb2013-05-06 16:38:21 +080017 select VHOST
Linus Torvalds736a2dd2013-05-02 14:14:04 -070018 select VHOST_RING
Michael S. Tsirkin181c04a2013-05-02 03:52:59 +030019 default n
20 ---help---
21 Say M here to enable the vhost_scsi TCM fabric module
22 for use with virtio-scsi guests
Rusty Russellf87d0fb2013-03-20 13:50:14 +103023
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.
Asias He6ac1afb2013-05-06 16:38:21 +080029
30config VHOST
31 tristate
32 ---help---
33 This option is selected by any driver which needs to access
34 the core of vhost.
Greg Kurz2751c982015-04-24 14:27:24 +020035
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".