From: "Xing, Beilei" <beilei.xing@intel.com>
To: "Yigit, Ferruh" <ferruh.yigit@intel.com>,
"Zhang, Qi Z" <qi.z.zhang@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v3] net/i40e: add alarm handler
Date: Tue, 18 Sep 2018 02:52:41 +0000 [thread overview]
Message-ID: <94479800C636CB44BD422CB454846E01322193DE@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <bf3607e2-4847-d9be-4d6d-2e2ffe8746dc@intel.com>
> -----Original Message-----
> From: Yigit, Ferruh
> Sent: Monday, September 17, 2018 7:08 PM
> To: Xing, Beilei <beilei.xing@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v3] net/i40e: add alarm handler
>
> On 9/11/2018 4:35 AM, Beilei Xing wrote:
> > This patch adds alarm handler, and then i40e PF will use alarm handler
> > instead of interrupt handler when device is started and Rx interrupt
> > mode is disabled. This way will save CPU cycles during receiving
> > packets.
> >
> > Signed-off-by: Beilei Xing <beilei.xing@intel.com>
>
> <...>
>
> > +static void
> > +i40e_dev_alarm_handler(void *param)
> > +{
> > + struct rte_eth_dev *dev = (struct rte_eth_dev *)param;
> > + struct i40e_hw *hw = I40E_DEV_PRIVATE_TO_HW(dev->data-
> >dev_private);
> > + uint32_t icr0;
> > +
> > + /* Disable interrupt */
> > + i40e_pf_disable_irq0(hw);
> > +
> > + /* read out interrupt causes */
> > + icr0 = I40E_READ_REG(hw, I40E_PFINT_ICR0);
> > +
> > + /* No interrupt event indicated */
> > + if (!(icr0 & I40E_PFINT_ICR0_INTEVENT_MASK)) {
> > + PMD_DRV_LOG(INFO, "No interrupt event");
>
> Hi Beilei, Qi,
>
> This prints an "info" level log each 50ms which makes console unusable.
>
> This patch already merged in master repo.
> So can you please send another patch to remove the log?
OK. I will send another patch.
>
> Thanks,
> ferruh
prev parent reply other threads:[~2018-09-18 2:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-26 5:14 [dpdk-dev] [PATCH] net/i40e: remove PF interrupt handler Beilei Xing
2018-07-27 1:36 ` [dpdk-dev] [PATCH v2] net/i40e: remove PF interrupt handler for multi-driver Beilei Xing
2018-09-11 3:35 ` [dpdk-dev] [PATCH v3] net/i40e: add alarm handler Beilei Xing
2018-09-11 13:04 ` Zhang, Qi Z
2018-09-17 11:07 ` Ferruh Yigit
2018-09-18 2:52 ` Xing, Beilei [this message]
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=94479800C636CB44BD422CB454846E01322193DE@SHSMSX101.ccr.corp.intel.com \
--to=beilei.xing@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=qi.z.zhang@intel.com \
/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).