DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/i40e: reduce the ITR interval of multi-driver mode
@ 2022-12-16  3:11 Qiming Yang
  2022-12-26  5:50 ` Zhang, Qi Z
  0 siblings, 1 reply; 4+ messages in thread
From: Qiming Yang @ 2022-12-16  3:11 UTC (permalink / raw)
  To: dev, beilei.xing; +Cc: Qiming Yang

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@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 fe943a45ff..7c4cc44a27 100644
--- a/drivers/net/i40e/i40e_ethdev.h
+++ b/drivers/net/i40e/i40e_ethdev.h
@@ -1497,7 +1497,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.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-23  4:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-16  3:11 [PATCH] net/i40e: reduce the ITR interval of multi-driver mode Qiming Yang
2022-12-26  5:50 ` Zhang, Qi Z
2023-02-22 16:49   ` Kevin Traynor
2023-02-23  4:34     ` Zhang, Qi Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).