From: Ronak Doshi <dos...@vmware.com> Date: Thu, 28 May 2020 14:53:18 -0700
> vmxnet3 emulation has recently added several new features which includes > offload support for tunnel packets, support for new commands the driver > can issue to emulation, change in descriptor fields, etc. This patch > series extends the vmxnet3 driver to leverage these new features. > > 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 4. > - 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 4 comparison > and updates Copyright information. > > Patch 2: > This patch implements get_rss_hash_opts and set_rss_hash_opts methods > to allow querying and configuring different Rx flow hash configurations > which can be used to support UDP/ESP RSS. > > Patch 3: > This patch introduces segmentation and checksum offload support for > encapsulated packets. This avoids segmenting and calculating checksum > for each segment and hence gives performance boost. > > Patch 4: > With all vmxnet3 version 4 changes incorporated in the vmxnet3 driver, > with this patch, the driver can configure emulation to run at vmxnet3 > version 4. > > Changes in v3 -> v4: > - Replaced BUG_ON() with WARN_ON_ONCE() ... Series applied, thanks.