From dd7e21ce9288c77e7d23d4912a525d1dcc0a735d Mon Sep 17 00:00:00 2001
From: Michal Krawczyk <mk@semihalf.com>
Date: Thu, 24 Sep 2020 07:34:06 +0200
Subject: [PATCH 076/107] net/ena: upgrade driver version to v2.2.0

The v2.2.0 adds support for network interface metrics, includes some bug
fixes and updates HAL to the latest version.

Change-Id: Icec619d0014b43bd681d64af9fdd0753615e7d00
Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Igor Chauskin <igorch@amazon.com>
Reviewed-by: Guy Tzalik <gtzalik@amazon.com>
---
 doc/guides/rel_notes/release_18_11.rst | 3 ++-
 drivers/net/ena/ena_ethdev.c           | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guides/rel_notes/release_18_11.rst
index 6aef572417..4bb3c5510c 100644
--- a/doc/guides/rel_notes/release_18_11.rst
+++ b/doc/guides/rel_notes/release_18_11.rst
@@ -352,7 +352,7 @@ New Features
   additional command-line parameter values from the ``DPDK_TEST_PARAMS``
   environment variable to make this application easier to use.
 
-* **Release of the ENA PMD v2.0.3**
+* **Release of the ENA PMD v2.2.0**
 
   * Added Low Latency Queue v2 (LLQv2). This feature reduces the latency
     of the packets by pushing the header directly through the PCI to the
@@ -367,6 +367,7 @@ New Features
   * Added per queue statistics.
   * Added extended statistics using xstats DPDK API.
   * Added Tx drops as new extended driver statistic.
+  * Added network interface metrics which can be read using xstats.
   * The reset routine was aligned with the DPDK API, so now it can be
     handled as in other PMDs.
   * Fixed out of order (OOO) completion.
diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c
index 17152b4161..7040c7160f 100644
--- a/drivers/net/ena/ena_ethdev.c
+++ b/drivers/net/ena/ena_ethdev.c
@@ -26,7 +26,7 @@
 #include <ena_eth_io_defs.h>
 
 #define DRV_MODULE_VER_MAJOR	2
-#define DRV_MODULE_VER_MINOR	1
+#define DRV_MODULE_VER_MINOR	2
 #define DRV_MODULE_VER_SUBMINOR	0
 
 #define ENA_IO_TXQ_IDX(q)	(2 * (q))
-- 
2.25.1

