From: Stephen Hemminger <shemminger@vyatta.com>
To: Usha Srinivasan <usha.srinivasan@qlogic.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: Receive processing stops when dev->poll returns 1
Date: Thu, 5 Aug 2010 09:16:38 -0700 [thread overview]
Message-ID: <20100805091638.75c6328f@nehalam> (raw)
In-Reply-To: <7866DA1F8D2D4541B87FEE88E633ABAA2B72081FDF@MNEXMB1.qlogic.org>
On Thu, 5 Aug 2010 11:11:51 -0500
Usha Srinivasan <usha.srinivasan@qlogic.com> wrote:
> Thanks for your response. What you said is exactly what my driver is doing:
>
>
> <= 2.6.23
> Calls netif_rx_complete if done < budget; decrements quota & *budget by done; returns 0 if done < budget and 1 otherwise.
>
> When 1 is returned, I encounter the problem I described)
>
> > 2.6.23
> Calls napi-complete if done < budget; returns done.
>
> When done==budget, I encounter the problem I described.
>
Your driver did not call napi_complete (and re-enable interrupts).
next prev parent reply other threads:[~2010-08-05 16:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-05 14:20 Receive processing stops when dev->poll returns 1 Usha Srinivasan
2010-08-05 16:04 ` Stephen Hemminger
2010-08-05 16:11 ` Usha Srinivasan
2010-08-05 16:16 ` Stephen Hemminger [this message]
2010-08-05 16:22 ` Stephen Hemminger
2010-08-05 16:36 ` Usha Srinivasan
2010-08-05 17:37 ` Stephen Hemminger
2010-08-05 18:11 ` Usha Srinivasan
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=20100805091638.75c6328f@nehalam \
--to=shemminger@vyatta.com \
--cc=netdev@vger.kernel.org \
--cc=usha.srinivasan@qlogic.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 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.