Skip to content

vmxnet3: upgrade to version 9

Ronak Doshi lkml llvm netdev oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vmxnet3: prepare for version 9 changesdrivers/net/vmxnet3/Makefile drivers/net/vmxnet3/vmxnet3_defs.h drivers/net/vmxnet3/vmxnet3_drv.c +2 more+11 -50 replies
2/4vmxnet3: add latency measurement support in vmxnet3drivers/net/vmxnet3/vmxnet3_defs.h drivers/net/vmxnet3/vmxnet3_drv.c drivers/net/vmxnet3/vmxnet3_int.h+222 -53 replies
3/4vmxnet3: add command to allow disabling of offloadsdrivers/net/vmxnet3/vmxnet3_defs.h drivers/net/vmxnet3/vmxnet3_drv.c drivers/net/vmxnet3/vmxnet3_ethtool.c +1 more+32 -01 reply
4/4vmxnet3: update to version 9drivers/net/vmxnet3/vmxnet3_drv.c drivers/net/vmxnet3/vmxnet3_int.h+11 -391 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchGuolin Yang
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/4] vmxnet3: upgrade to version 9

vmxnet3 emulation has recently added timestamping feature which allows the hypervisor (ESXi) to calculate latency from guest virtual NIC driver to all the way up to the physical NIC. This patch series extends vmxnet3 driver to leverage these new feature.

Compatibility is maintained using existing vmxnet3 versioning mechanism as follows:
- new features added to vmxnet3 emulation are associated with new vmxnet3 version viz. vmxnet3 version 9.
- emulation advertises all the versions it supports to the driver.
- during initialization, vmxnet3 driver picks the highest version number supported by both the emulation and the driver and configures emulation to run at that version.

In particular, following changes are introduced:

Patch 1:
This patch introduces utility macros for vmxnet3 version 9 comparison and updates Copyright information.

Patch 2:
This patch adds support to timestamp the packets so as to allow latency measurement in the ESXi.

Patch 3:
This patch adds support to disable certain offloads on the device based on the request specified by the user in the VM configuration.

Patch 4:
With all vmxnet3 version 9 changes incorporated in the vmxnet3 driver, with this patch, the driver can configure emulation to run at vmxnet3 version 9.

Ronak Doshi (4):
vmxnet3: prepare for version 9 changes
vmxnet3: add latency measurement support in vmxnet3
vmxnet3: add command to allow disabling of offloads
vmxnet3: update to version 9

 drivers/net/vmxnet3/Makefile          |   2 +-
 drivers/net/vmxnet3/vmxnet3_defs.h    |  61 +++++++++-
 drivers/net/vmxnet3/vmxnet3_drv.c     | 219 +++++++++++++++++++++++++++-------
 drivers/net/vmxnet3/vmxnet3_ethtool.c |  10 +-
 drivers/net/vmxnet3/vmxnet3_int.h     |  33 ++++-
 5 files changed, 276 insertions(+), 49 deletions(-)
Signature · 1 line
2.11.0