Re: [PATCH v3 19/19] vdpa: split vdpasim to core and net modules

From: Randy Dunlap
Date: Thu Dec 03 2020 - 12:26:59 EST


Hi,

On 12/3/20 9:05 AM, Stefano Garzarella wrote:
> diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig
> index 2c892e890b9e..b0f91ad8eb47 100644
> --- a/drivers/vdpa/Kconfig
> +++ b/drivers/vdpa/Kconfig
> @@ -9,15 +9,20 @@ menuconfig VDPA
> if VDPA
>
> config VDPA_SIM
> - tristate "vDPA device simulator"
> + tristate "vDPA device simulator core"
> depends on RUNTIME_TESTING_MENU && HAS_DMA
> select DMA_OPS
> select VHOST_RING
> + help
> + Enable this module to support vDPA device simulators. These devices
> + are used for testing, prototyping and development of vDPA.
> +
> +config VDPA_SIM_NET
> + tristate "vDPA simulator for networking device"
> + depends on VDPA_SIM
> select GENERIC_NET_UTILS
> help
> - vDPA networking device simulator which loop TX traffic back
> - to RX. This device is used for testing, prototyping and
> - development of vDPA.
> + vDPA networking device simulator which loop TX traffic back to RX.

loops


thanks.
--
~Randy