Re: [PATCH 5/5] vdpasim: vDPA device simulator

From: Jason Wang
Date: Fri Jan 17 2020 - 04:35:32 EST



On 2020/1/17 äå12:12, Randy Dunlap wrote:
On 1/16/20 4:42 AM, Jason Wang wrote:
diff --git a/drivers/virtio/vdpa/Kconfig b/drivers/virtio/vdpa/Kconfig
index 3032727b4d98..12ec25d48423 100644
--- a/drivers/virtio/vdpa/Kconfig
+++ b/drivers/virtio/vdpa/Kconfig
@@ -7,3 +7,20 @@ config VDPA
datapath which complies with virtio specifications with
vendor specific control path.
+menuconfig VDPA_MENU
+ bool "VDPA drivers"
+ default n
+
+if VDPA_MENU
+
+config VDPA_SIM
+ tristate "vDPA device simulator"
+ select VDPA
+ default n
+ help
+ vDPA networking device simulator which loop TX traffic back
loops

+ to RX. This device is used for testing, prototyping and
+ development of vDPA.
+
+endif # VDPA_MENU
Most lines above use spaces for indentation, while they should use
tab + 2 spaces.


Right, will fix.

Thanks