Michael S. Tsirkin | 3a4d5c9 | 2010-01-14 06:17:27 +0000 | [diff] [blame] | 1 | config VHOST_NET |
Kees Cook | 43893cb | 2013-01-16 18:53:56 -0800 | [diff] [blame] | 2 | tristate "Host kernel accelerator for virtio net" |
| 3 | depends on NET && EVENTFD && (TUN || !TUN) && (MACVTAP || !MACVTAP) |
Asias He | 6ac1afb | 2013-05-06 16:38:21 +0800 | [diff] [blame] | 4 | select VHOST |
Rusty Russell | f87d0fb | 2013-03-20 13:50:14 +1030 | [diff] [blame] | 5 | select VHOST_RING |
Michael S. Tsirkin | 3a4d5c9 | 2010-01-14 06:17:27 +0000 | [diff] [blame] | 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 | |
Michael S. Tsirkin | 181c04a | 2013-05-02 03:52:59 +0300 | [diff] [blame] | 14 | config VHOST_SCSI |
| 15 | tristate "VHOST_SCSI TCM fabric driver" |
| 16 | depends on TARGET_CORE && EVENTFD && m |
Asias He | 6ac1afb | 2013-05-06 16:38:21 +0800 | [diff] [blame] | 17 | select VHOST |
Linus Torvalds | 736a2dd | 2013-05-02 14:14:04 -0700 | [diff] [blame] | 18 | select VHOST_RING |
Michael S. Tsirkin | 181c04a | 2013-05-02 03:52:59 +0300 | [diff] [blame] | 19 | default n |
| 20 | ---help--- |
| 21 | Say M here to enable the vhost_scsi TCM fabric module |
| 22 | for use with virtio-scsi guests |
Rusty Russell | f87d0fb | 2013-03-20 13:50:14 +1030 | [diff] [blame] | 23 | |
| 24 | config 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 He | 6ac1afb | 2013-05-06 16:38:21 +0800 | [diff] [blame] | 29 | |
| 30 | config VHOST |
| 31 | tristate |
| 32 | ---help--- |
| 33 | This option is selected by any driver which needs to access |
| 34 | the core of vhost. |
Greg Kurz | 2751c98 | 2015-04-24 14:27:24 +0200 | [diff] [blame] | 35 | |
| 36 | config 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". |