From: Qiming Yang <qiming.yang@intel.com>
To: dev@dpdk.org, beilei.xing@intel.com
Cc: Qiming Yang <qiming.yang@intel.com>
Subject: [PATCH] net/i40e: reduce the ITR interval of multi-driver mode
Date: Fri, 16 Dec 2022 03:11:40 +0000 [thread overview]
Message-ID: <20221216031140.2913274-1-qiming.yang@intel.com> (raw)
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
next reply other threads:[~2022-12-16 3:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-16 3:11 Qiming Yang [this message]
2022-12-26 5:50 ` Zhang, Qi Z
2023-02-22 16:49 ` Kevin Traynor
2023-02-23 4:34 ` Zhang, Qi Z
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221216031140.2913274-1-qiming.yang@intel.com \
--to=qiming.yang@intel.com \
--cc=beilei.xing@intel.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).