net/vmxnet3: upgrade to version 7
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 2 repliesIn review
- v27 patches 0 repliesSuperseded
- v17 patches 13 repliesSuperseded
Changes in v3 from the cover letter
- removed reference to old performance document
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | net/vmxnet3: prepare for version 7 changesdrivers/ | +2 | 0 replies | |
| 2/7 | net/vmxnet3: add support for capability registersdrivers/ drivers/ drivers/ | +110 | 0 replies | |
| 3/7 | net/vmxnet3: add support for large passthrough BAR registerdrivers/ drivers/ drivers/ +1 more | +31 | 0 replies | |
| 4/7 | net/vmxnet3: add command to set ring buffer sizesdrivers/ drivers/ drivers/ +1 more | +41 | 0 replies | |
| 5/7 | net/vmxnet3: limit number of TXDs used for TSO packetdrivers/ drivers/ | +16 | 0 replies | |
| 6/7 | net/vmxnet3: avoid updating rxprod register frequentlydrivers/ | +9 | 0 replies | |
| 7/7 | net/vmxnet3: update to version 7doc/ doc/ drivers/ +1 more | +38 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Jochen Behrens |
|---|---|
| 1/7 | A-b |
| 2/7 | A-b |
| 3/7 | A-b |
| 4/7 | A-b |
| 5/7 | A-b |
| 6/7 | A-b |
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 next 0/7] net/vmxnet3: upgrade to version 7
vmxnet3 emulation has recently added several new features including support for uniform passthrough(UPT). To make UPT work vmxnet3 has to be enhanced as per the new specification. 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 7.
- 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 7 comparison and updates Copyright information.
Patch 2:
This patch adds new capability registers to fine control enablement of individual features based on emulation and passthrough.
Patch 3:
This patch adds support for large passthrough BAR register.
Patch 4:
This patch introduces new command to set ring buffer sizes to pass this information to the hardware.
Patch 5:
For better performance, hardware has a requirement to limit number of TSO descriptors. This patch adds that support.
Patch 6:
Avoid updating rxprod register when in UPT for performance reasons.
Patch 7:
With all vmxnet3 version 7 changes incorporated in the vmxnet3 driver, with this patch, the driver can configure emulation to run at vmxnet3 version 7.
Changes v2->v3:
- removed reference to old performance document
Changes in v2:
- modified the title to include "net/"
- addressed checkpatch complaints and some typo in patch commits
- removed RTE_ETH_DEV_CAPA_PASS_THRU as it was specific to vmxnet3
- added new features information in release notes
- updated feature related information in vmxnet3 driver documentation
Ronak Doshi (7):
net/vmxnet3: prepare for version 7 changes net/vmxnet3: add support for capability registers net/vmxnet3: add support for large passthrough BAR register net/vmxnet3: add command to set ring buffer sizes net/vmxnet3: limit number of TXDs used for TSO packet net/vmxnet3: avoid updating rxprod register frequently net/vmxnet3: update to version 7
doc/guides/nics/vmxnet3.rst | 30 +++++++++-- doc/guides/rel_notes/release_23_07.rst | 6 +++ drivers/net/vmxnet3/base/vmxnet3_defs.h | 74 ++++++++++++++++++++++--- drivers/net/vmxnet3/vmxnet3_ethdev.c | 95 ++++++++++++++++++++++++++++++++- drivers/net/vmxnet3/vmxnet3_ethdev.h | 16 ++++++ drivers/net/vmxnet3/vmxnet3_ring.h | 2 +- drivers/net/vmxnet3/vmxnet3_rxtx.c | 48 ++++++++++++----- 7 files changed, 245 insertions(+), 26 deletions(-)
Signature · 1 line
2.11.0