Re: vDPA: explain in Kconfig what vDPA is, capitalise it consistenly

From: Jason Wang
Date: Sun Mar 21 2021 - 23:07:41 EST



在 2021/3/22 上午12:34, Pavel Machek 写道:
Not everyone knows what vDPA stands for, explain it in Kconfig.

Signed-off-by: Pavel Machek (CIP) <pavel@xxxxxxx>

diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig
index ffd1e098bfd2..8cb37b3dd279 100644
--- a/drivers/vdpa/Kconfig
+++ b/drivers/vdpa/Kconfig
@@ -3,9 +3,9 @@ menuconfig VDPA
tristate "vDPA drivers"
depends on NET
help
- Enable this module to support vDPA device that uses a
- datapath which complies with virtio specifications with
- vendor specific control path.
+ Enable this module to support Virtual Data Path Acceleration


My understading is that "v" is short for "virtio" here.

Thanks


+ (vDPA) device that uses a datapath which complies with
+ virtio specifications with vendor specific control path.
if VDPA
@@ -38,8 +38,8 @@ config MLX5_VDPA
bool
select VHOST_IOTLB
help
- Support library for Mellanox VDPA drivers. Provides code that is
- common for all types of VDPA drivers. The following drivers are planned:
+ Support library for Mellanox vDPA drivers. Provides code that is
+ common for all types of vDPA drivers. The following drivers are planned:
net, block.
config MLX5_VDPA_NET
@@ -47,7 +47,7 @@ config MLX5_VDPA_NET
select MLX5_VDPA
depends on MLX5_CORE
help
- VDPA network driver for ConnectX6 and newer. Provides offloading
+ vDPA network driver for ConnectX6 and newer. Provides offloading
of virtio net datapath such that descriptors put on the ring will
be executed by the hardware. It also supports a variety of stateless
offloads depending on the actual device used and firmware version.