All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH 1/2] fm10k: napi polling routine must return actual work done
Date: Tue, 21 Jun 2016 10:46:54 +0200	[thread overview]
Message-ID: <1466498814.11695.1.camel@redhat.com> (raw)
In-Reply-To: <20160620173933.5638-1-jacob.e.keller@intel.com>

On Mon, 2016-06-20 at 10:39 -0700, Jacob Keller wrote:
> When fm10k_poll fully cleans rings it returns 0. This is incorrect as it
> messes up the budget accounting in the core napi code. Fix this by
> returning actual work done, capped at budget - 1 since the core doesn't
> expect a return of the full budget when the driver modifies the napi
> status.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
> Cc: Paolo Abeni <pabeni@redhat.com>
> Cc: Venkatesh Srinivas <venkateshs@google.com>
> Cc: Alexander Duyck <aduyck@mirantis.com>
> ---
>  drivers/net/ethernet/intel/fm10k/fm10k_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Paolo Abeni <pabeni@redhat.com>


  parent reply	other threads:[~2016-06-21  8:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-20 17:39 [Intel-wired-lan] [PATCH 1/2] fm10k: napi polling routine must return actual work done Jacob Keller
2016-06-20 17:39 ` [Intel-wired-lan] [PATCH 2/2] fm10k: return smaller of actual work done or budget in fm10k_poll Jacob Keller
2016-08-10 19:49   ` Keller, Jacob E
2016-08-10 20:07     ` Keller, Jacob E
2016-06-21  8:46 ` Paolo Abeni [this message]
2016-08-10 19:49 ` [Intel-wired-lan] [PATCH 1/2] fm10k: napi polling routine must return actual work done Keller, Jacob E
2016-08-10 20:08   ` Keller, Jacob E
2016-08-30 16:15 ` Singh, Krishneil K

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=1466498814.11695.1.camel@redhat.com \
    --to=pabeni@redhat.com \
    --cc=intel-wired-lan@osuosl.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.