Skip to content

net/ena: ENAv2 release

Michal Krawczyk dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20net/ena: update ena_com for the ENAv2drivers/net/ena/base/ena_com.c drivers/net/ena/base/ena_com.h drivers/net/ena/base/ena_defs/ena_admin_defs.h +10 more+1462 -6610 replies
2/20net/ena: pass number of CPUs to the host info structuredrivers/net/ena/ena_ethdev.c+1 -00 replies
3/20net/ena: add reset reason in rx errordrivers/net/ena/ena_ethdev.c+2 -00 replies
4/20net/ena: add hw queues depth setupdrivers/net/ena/ena_ethdev.c drivers/net/ena/ena_ethdev.h+93 -430 replies
5/20net/ena: skip packet with wrong req_iddrivers/net/ena/ena_ethdev.c+2 -00 replies
6/20net/ena: add LLQv2 supportdrivers/net/ena/ena_ethdev.c drivers/net/ena/ena_ethdev.h+190 -330 replies
7/20net/ena: increase maximum Rx ring sizedrivers/net/ena/ena_ethdev.c+1 -10 replies
8/20net/ena: call additional doorbells if neededdrivers/net/ena/ena_ethdev.c+10 -10 replies
9/20net/ena: destroy queues if start faileddrivers/net/ena/ena_ethdev.c+60 -350 replies
10/20net/ena: reset should not reconfigure queuesdrivers/net/ena/ena_ethdev.c+38 -700 replies
11/20net/ena: adjust new line in log messagesdrivers/net/ena/ena_ethdev.c+14 -140 replies
12/20net/ena: add supported RSS offloads typesdrivers/net/ena/ena_ethdev.c+3 -00 replies
13/20net/ena: fix invalid reference to variable in uniondrivers/net/ena/ena_ethdev.c+1 -10 replies
14/20net/ena: fix cleanup for out of order packetsdrivers/net/ena/ena_ethdev.c+10 -140 replies
15/20net/ena: add per-queue software counters statsdrivers/net/ena/ena_ethdev.c drivers/net/ena/ena_ethdev.h+68 -280 replies
16/20net/ena: expose ENA-specific statistics in extended statsdrivers/net/ena/ena_ethdev.c drivers/net/ena/ena_ethdev.h+220 -760 replies
17/20net/ena: new way of getting rx dropsdrivers/net/ena/ena_ethdev.c drivers/net/ena/ena_ethdev.h+9 -20 replies
18/20net/ena: update completion queue after cleanupdrivers/net/ena/ena_ethdev.c+5 -20 replies
19/20docs: update ENA PMD documentation and featuresdoc/guides/nics/ena.rst doc/guides/nics/features/ena.ini+20 -230 replies
20/20net/ena: release of the ENAv2 driver (v2.0.0)drivers/net/ena/ena_ethdev.c+3 -30 replies

Reviews trailers per patch

14 of 20 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichal Krawczyk
SeriesA-b A-b
1/20
2/20A-b
3/20A-b
4/20A-b
5/20A-b
6/20
7/20A-b
8/20A-b
9/20A-b
10/20A-b
11/20A-b
12/20A-b
13/20A-b
14/20A-b
15/20
16/20
17/20A-b
18/20A-b
19/20
20/20

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 00/20] net/ena: ENAv2 release

Hi,

we are proud to announce ENAv2 driver for the DPDK.
It is already available for the Linux, and now also ENAv2 can be used with DPDK on the appropriate AWS instances.

To summarize, this release contains:

**New major features**
* LLQv2 which is Low Latency Queue v2. This feature reduces the latency of the packets by pushing the header directly through the PCI to the device, before the DMA is even triggered. This allows the NIC to asynchronously prepare for the next incoming packet, when the DMA will be finished.
* Independent configuration of HW Tx and Rx ring depths. Also, on some instances it is possible to create 8k Rx descriptors per ring.
* Additional doorbell check on Tx, to handle Tx more efficiently for big bursts of packets
* Per queue statistics
* Extended statistics using xstats DPDK API

**New major bug fixes**
* The reset routine was aligned with the DPDK API, so now it can be handled as in other PMDs
* Fixes for OOO completion
* Fixes for memory leaks due to port stops and starts in the middle of traffic

There are also minor bug fixes and features in addition to the ones mentioned above.

Michal Krawczyk (4):
net/ena: add LLQv2 support
net/ena: add per-queue software counters stats
docs: update ENA PMD documentation and features
net/ena: release of the ENAv2 driver (v2.0.0)

Rafal Kozik (15):
net/ena: update ena_com for the ENAv2
net/ena: pass number of CPUs to the host info structure net/ena: add reset reason in rx error
net/ena: add hw queues depth setup
net/ena: skip packet with wrong req_id net/ena: increase maximum Rx ring size net/ena: call additional doorbells if needed net/ena: destroy queues if start failed net/ena: reset should not reconfigure queues net/ena: adjust new line in log messages net/ena: add supported RSS offloads types net/ena: fix invalid reference to variable in union net/ena: fix cleanup for out of order packets net/ena: new way of getting rx drops
net/ena: update completion queue after cleanup

Solganik Alexander (1):
net/ena: expose ENA-specific statistics in extended stats

 doc/guides/nics/ena.rst                         |  31 +-
 doc/guides/nics/features/ena.ini                |  12 +-
 drivers/net/ena/base/ena_com.c                  | 479 ++++++++++---
 drivers/net/ena/base/ena_com.h                  | 111 ++-
 drivers/net/ena/base/ena_defs/ena_admin_defs.h  | 567 ++++++++++-----
 drivers/net/ena/base/ena_defs/ena_common_defs.h |   5 +-
 drivers/net/ena/base/ena_defs/ena_eth_io_defs.h | 244 +++----
 drivers/net/ena/base/ena_defs/ena_gen_info.h    |   5 +-
 drivers/net/ena/base/ena_defs/ena_includes.h    |  33 -
 drivers/net/ena/base/ena_defs/ena_regs_defs.h   | 207 +++---
 drivers/net/ena/base/ena_eth_com.c              | 334 ++++++---
 drivers/net/ena/base/ena_eth_com.h              |  87 ++-
 drivers/net/ena/base/ena_plat.h                 |  12 +-
 drivers/net/ena/base/ena_plat_dpdk.h            |  35 +-
 drivers/net/ena/ena_ethdev.c                    | 902 +++++++++++++++++-------
 drivers/net/ena/ena_ethdev.h                    |  79 ++-
 16 files changed, 2174 insertions(+), 969 deletions(-)

--
2.14.1