Merge branch 'vmxnet3-upgrade-to-version-9'
authorJakub Kicinski <kuba@kernel.org>
Wed, 5 Jun 2024 22:56:52 +0000 (15:56 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Jun 2024 22:56:52 +0000 (15:56 -0700)
commitd223d1947dadec37d2bb5efbda9fc34c03b9a784
tree26ff97f68a01f0b4f7d13bb786a0b788957e30a2
parent1467713eb2244a54c99028a2eacd44f2d1badaf7
parent63587234d42ad59391cac3619bbb3c9a78c5afaa
Merge branch 'vmxnet3-upgrade-to-version-9'

Ronak Doshi says:

====================
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.
====================

Link: https://lore.kernel.org/r/20240531193050.4132-1-ronak.doshi@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>