Re: [PATCH] vhost: introduce vDPA based backend

From: Randy Dunlap
Date: Fri Jan 31 2020 - 00:13:21 EST


On 1/30/20 7:56 PM, Randy Dunlap wrote:
> Hi,
>
> On 1/30/20 7:36 PM, Tiwei Bie wrote:
>> diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig
>> index f21c45aa5e07..13e6a94d0243 100644
>> --- a/drivers/vhost/Kconfig
>> +++ b/drivers/vhost/Kconfig
>> @@ -34,6 +34,18 @@ config VHOST_VSOCK
>> To compile this driver as a module, choose M here: the module will be called
>> vhost_vsock.
>>
>> +config VHOST_VDPA
>> + tristate "Vhost driver for vDPA based backend"

oops, missed this one:
vDPA-based

>> + depends on EVENTFD && VDPA
>> + select VHOST
>> + default n
>> + ---help---
>> + This kernel module can be loaded in host kernel to accelerate
>> + guest virtio devices with the vDPA based backends.
>
> vDPA-based
>
>> +
>> + To compile this driver as a module, choose M here: the module
>> + will be called vhost_vdpa.
>> +
>
> The preferred Kconfig style nowadays is
> (a) use "help" instead of "---help---"
> (b) indent the help text with one tab + 2 spaces
>
> and don't use "default n" since that is already the default.
>
>> config VHOST
>> tristate
>> depends on VHOST_IOTLB
>
> thanks.
>


--
~Randy