netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Govindarajulu Varadarajan <_govind@gmx.com>
To: davem@davemloft.net, netdev@vger.kernel.org, ariel.elior@qlogic.com
Cc: ssujith@cisco.com, benve@cisco.com,
	Govindarajulu Varadarajan <_govind@gmx.com>
Subject: [PATCH net 0/2] fix napi return value
Date: Tue, 20 Jan 2015 18:46:14 +0530	[thread overview]
Message-ID: <1421759776-376-1-git-send-email-_govind@gmx.com> (raw)

Since d75b1ade567ffab ("net: less interrupt masking in NAPI") we should return
budget for napi repoll.

In enic, we return 0 when busy_poll is happening. Fix this by returning budget.

Looks like bnx2x needs this fix as well. On bnx2x I performed compile
test only. I do not have hardware. 

Govindarajulu Varadarajan (2):
  enic: fix rx napi poll return value
  bnx2x: fix napi poll return value for repoll

 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 4 ++--
 drivers/net/ethernet/cisco/enic/enic_main.c     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.2.2

             reply	other threads:[~2015-01-20 13:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-20 13:16 Govindarajulu Varadarajan [this message]
2015-01-20 13:16 ` [PATCH net 1/2] enic: fix rx napi poll return value Govindarajulu Varadarajan
2015-01-25  6:39   ` David Miller
2015-01-20 13:16 ` [PATCH net 2/2] bnx2x: fix napi poll return value for repoll Govindarajulu Varadarajan
2015-01-20 14:51   ` Eric Dumazet
2015-01-20 14:54     ` Eric Dumazet
2015-01-20 15:26       ` Govindarajulu Varadarajan
2015-01-20 15:24     ` Govindarajulu Varadarajan
2015-01-20 15:44       ` Eric Dumazet
2015-01-25  6:40   ` David Miller

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=1421759776-376-1-git-send-email-_govind@gmx.com \
    --to=_govind@gmx.com \
    --cc=ariel.elior@qlogic.com \
    --cc=benve@cisco.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=ssujith@cisco.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).