From: Tony Nguyen <anthony.l.nguyen@intel.com>
To: Ivan Vecera <ivecera@redhat.com>, <netdev@vger.kernel.org>
Cc: <pawel.chmielewski@intel.com>, <aleksandr.loktionov@intel.com>,
<mschmidt@redhat.com>, Hugo Ferreira <hferreir@redhat.com>,
Jesse Brandeburg <jesse.brandeburg@intel.com>,
"David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Jacob Keller <jacob.e.keller@intel.com>,
"moderated list:INTEL ETHERNET DRIVERS"
<intel-wired-lan@lists.osuosl.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net v3] i40e: Enforce software interrupt during busy-poll exit
Date: Fri, 15 Mar 2024 14:31:22 -0700 [thread overview]
Message-ID: <26841417-aee6-a996-4602-fcc00875d604@intel.com> (raw)
In-Reply-To: <20240315092042.145669-1-ivecera@redhat.com>
On 3/15/2024 2:20 AM, Ivan Vecera wrote:
...
> -static inline u32 i40e_buildreg_itr(const int type, u16 itr)
> +/**
> + * i40e_buildreg_itr - build a value for writing to I40E_PFINT_DYN_CTLN register
> + * @itr_idx - interrupt throttling index
> + * @interval - interrupt throttling interval value in usecs
> + * @force_swint - force software interrupt
nit: kdoc doesn't like this style
New warnings added
1a2,4
> drivers/net/ethernet/intel/i40e/i40e_txrx.c:2650: warning: Function
parameter or struct member 'itr_idx' not described in 'i40e_buildreg_itr'
> drivers/net/ethernet/intel/i40e/i40e_txrx.c:2650: warning: Function
parameter or struct member 'interval' not described in 'i40e_buildreg_itr'
> drivers/net/ethernet/intel/i40e/i40e_txrx.c:2650: warning: Function
parameter or struct member 'force_swint' not described in
'i40e_buildreg_itr'
Per-file breakdown
Thanks,
Tony
> + *
> + * The function builds a value for I40E_PFINT_DYN_CTLN register that
> + * is used to update interrupt throttling interval for specified ITR index
> + * and optionally enforces a software interrupt. If the @itr_idx is equal
> + * to I40E_ITR_NONE then no interval change is applied and only @force_swint
> + * parameter is taken into account. If the interval change and enforced
> + * software interrupt are not requested then the built value just enables
> + * appropriate vector interrupt.
> + **/
> +static u32 i40e_buildreg_itr(enum i40e_dyn_idx itr_idx, u16 interval,
> + bool force_swint)
> {
> u32 val;
>
prev parent reply other threads:[~2024-03-15 21:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-15 9:20 [PATCH net v3] i40e: Enforce software interrupt during busy-poll exit Ivan Vecera
2024-03-15 10:12 ` Michal Schmidt
2024-03-15 21:31 ` Tony Nguyen [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=26841417-aee6-a996-4602-fcc00875d604@intel.com \
--to=anthony.l.nguyen@intel.com \
--cc=aleksandr.loktionov@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hferreir@redhat.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=ivecera@redhat.com \
--cc=jacob.e.keller@intel.com \
--cc=jesse.brandeburg@intel.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mschmidt@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pawel.chmielewski@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).