[dpdk-stable] patch 'net/ena: fix Tx doorbell statistics' has been queued to stable release 20.11.1

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Feb 5 12:19:15 CET 2021


Hi,

FYI, your patch has been queued to stable release 20.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/07/21. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/e48f9900d0055a9a2bf9c5b4a438c53d973d7704

Thanks.

Luca Boccassi

---
>From e48f9900d0055a9a2bf9c5b4a438c53d973d7704 Mon Sep 17 00:00:00 2001
From: Amit Bernstein <amitbern at amazon.com>
Date: Tue, 26 Jan 2021 19:32:23 +0100
Subject: [PATCH] net/ena: fix Tx doorbell statistics

[ upstream commit 1f949ad90bb558d0b10756bff7bfa909ff9ff7b3 ]

Increment Tx doorbell statistics on tx_pkt_burst
after writing to doorbell and in case max burst size achieved

Fixes: c7519ea5eb8d ("net/ena: call additional doorbells if needed")

Signed-off-by: Amit Bernstein <amitbern at amazon.com>
Reviewed-by: Michal Krawczyk <mk at semihalf.com>
Reviewed-by: Igor Chauskin <igorch at amazon.com>
---
 drivers/net/ena/ena_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c
index 516e244295..111e830bfa 100644
--- a/drivers/net/ena/ena_ethdev.c
+++ b/drivers/net/ena/ena_ethdev.c
@@ -2519,6 +2519,7 @@ static int ena_xmit_mbuf(struct ena_ring *tx_ring, struct rte_mbuf *mbuf)
 			"llq tx max burst size of queue %d achieved, writing doorbell to send burst\n",
 			tx_ring->id);
 		ena_com_write_sq_doorbell(tx_ring->ena_com_io_sq);
+		tx_ring->tx_stats.doorbells++;
 	}
 
 	/* prepare the packet's descriptors to dma engine */
-- 
2.29.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-02-05 11:18:41.053447219 +0000
+++ 0269-net-ena-fix-Tx-doorbell-statistics.patch	2021-02-05 11:18:29.350701469 +0000
@@ -1 +1 @@
-From 1f949ad90bb558d0b10756bff7bfa909ff9ff7b3 Mon Sep 17 00:00:00 2001
+From e48f9900d0055a9a2bf9c5b4a438c53d973d7704 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 1f949ad90bb558d0b10756bff7bfa909ff9ff7b3 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index dde6e9ce8b..623b6dd2a0 100644
+index 516e244295..111e830bfa 100644


More information about the stable mailing list