[v4,0/6] net/ena: v2.4.0 driver update

Message ID 20210723102454.12206-1-mk@semihalf.com (mailing list archive)


Michal Krawczyk July 23, 2021, 10:24 a.m. UTC

this set contains 2 major ENA features:

* RSS hash function key and reconfiguration - API for changing hf was
  also introduced, although it's not supported in the device right now.
* Rx interrupts support.

Moreover support for the RTE_ETHDEV_DEBUG_[TR]X flags introduced in
v21.05 was added and the driver uses the Tx and Rx loggers.

ENA logs was reworked a bit and especially the new line characters were
fixed across all the loggers.

* "net/ena: rework RSS configuration" (5/6) changes:
  * Fix checkpatch warning - use format type %PRIx64 instead of %llx.
  * Above change alone causes compilation warning, so ENA_ALL_RSS_HF
    in this log must be casted explicitly to uint64_t.

* Remove Gerrit Change-Id from the commit messages (regression in v2).

* "net/ena: rework RSS configuration" (5/6) changes:
  * Fix documentation for the ena_reorder_rss_hash_key() - the HW just
    needs to use the reverse order, the endianness don't need to be
  * Fix alignment of the ena_reorder_rss_hash_key() arguments.

Michal Krawczyk (6):
  net/ena: adjust driver logs
  net/ena: make use of the IO debug build option
  net/ena: trigger reset when Tx prepare fails
  net/ena: add support for Rx interrupts
  net/ena: rework RSS configuration
  net/ena: update version to v2.4.0

 doc/guides/nics/ena.rst                |  12 +
 doc/guides/nics/features/ena.ini       |   2 +
 doc/guides/rel_notes/release_21_08.rst |   8 +
 drivers/net/ena/base/ena_plat_dpdk.h   |   7 -
 drivers/net/ena/ena_ethdev.c           | 560 +++++++++++------------
 drivers/net/ena/ena_ethdev.h           |  34 ++
 drivers/net/ena/ena_logs.h             |  21 +-
 drivers/net/ena/ena_rss.c              | 591 +++++++++++++++++++++++++
 drivers/net/ena/meson.build            |   1 +
 9 files changed, 923 insertions(+), 313 deletions(-)
 create mode 100644 drivers/net/ena/ena_rss.c