patch 'net/i40e: reduce interrupt interval in multi-driver mode' has been queued to stable release 20.11.8

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Feb 23 10:36:58 CET 2023


Hi,

FYI, your patch has been queued to stable release 20.11.8

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/25/23. 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/db41cc1510c34326c1f9b93358c9de76a261f5a3

Thanks.

Luca Boccassi

---
>From db41cc1510c34326c1f9b93358c9de76a261f5a3 Mon Sep 17 00:00:00 2001
From: Qiming Yang <qiming.yang at intel.com>
Date: Fri, 16 Dec 2022 03:11:40 +0000
Subject: [PATCH] net/i40e: reduce interrupt interval in multi-driver mode

[ upstream commit d730fd0a9fa98e2600cea53208f60d4d0f2cc301 ]

This patch change the interrupt interval from 8160us to 32us
to improve the performance of multi-driver mode.

Signed-off-by: Qiming Yang <qiming.yang at intel.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
---
 drivers/net/i40e/i40e_ethdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/i40e/i40e_ethdev.h b/drivers/net/i40e/i40e_ethdev.h
index 601520ca66..81763b957c 100644
--- a/drivers/net/i40e/i40e_ethdev.h
+++ b/drivers/net/i40e/i40e_ethdev.h
@@ -1560,7 +1560,7 @@ i40e_calc_itr_interval(bool is_pf, bool is_multi_drv)
 	uint16_t interval = 0;
 
 	if (is_multi_drv) {
-		interval = I40E_QUEUE_ITR_INTERVAL_MAX;
+		interval = I40E_QUEUE_ITR_INTERVAL_DEFAULT;
 	} else {
 		if (is_pf)
 			interval = I40E_QUEUE_ITR_INTERVAL_DEFAULT;
-- 
2.39.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2023-02-23 09:36:30.390094432 +0000
+++ 0054-net-i40e-reduce-interrupt-interval-in-multi-driver-m.patch	2023-02-23 09:36:28.318171634 +0000
@@ -1 +1 @@
-From d730fd0a9fa98e2600cea53208f60d4d0f2cc301 Mon Sep 17 00:00:00 2001
+From db41cc1510c34326c1f9b93358c9de76a261f5a3 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit d730fd0a9fa98e2600cea53208f60d4d0f2cc301 ]
+
@@ -9,2 +10,0 @@
-Cc: stable at dpdk.org
-
@@ -18 +18 @@
-index fe943a45ff..7c4cc44a27 100644
+index 601520ca66..81763b957c 100644
@@ -21 +21 @@
-@@ -1497,7 +1497,7 @@ i40e_calc_itr_interval(bool is_pf, bool is_multi_drv)
+@@ -1560,7 +1560,7 @@ i40e_calc_itr_interval(bool is_pf, bool is_multi_drv)


More information about the stable mailing list