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

From: Stefano Garzarella
Date: Fri Dec 04 2020 - 02:50:21 EST


On Thu, Dec 03, 2020 at 09:25:52AM -0800, Randy Dunlap wrote:
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

It was pre-existing, but since I'm there I'll fix it, thanks!

Stefano