From: Alexander Beregalov <a.beregalov@gmail.com>
To: Sathya Perla <sathyap@serverengines.com>,
Greg Kroah-Hartman <gregkh@suse.de>,
linux-kernel@vger.kernel.org
Subject: Staging: benet: convert netif_rx_* to napi_*
Date: Wed, 4 Feb 2009 15:38:37 +0300 [thread overview]
Message-ID: <20090204123837.GA12987@orion> (raw)
*netif_rx_* functions were removed by 288379f ("net: Remove redundant NAPI
functions")
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
drivers/staging/benet/be_int.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/benet/be_int.c b/drivers/staging/benet/be_int.c
index cba95d0..38bf61c 100644
--- a/drivers/staging/benet/be_int.c
+++ b/drivers/staging/benet/be_int.c
@@ -717,7 +717,7 @@ int be_poll(struct napi_struct *napi, int budget)
/* All consumed */
if (work_done < budget) {
- netif_rx_complete(napi);
+ napi_complete(napi);
/* enable intr */
be_notify_cmpl(pnob, work_done, pnob->rx_cq_id, 1);
} else {
@@ -752,7 +752,7 @@ static inline u32 process_events(struct be_net_object *pnob)
rid = AMAP_GET_BITS_PTR(EQ_ENTRY, ResourceID, eqp);
if (rid == pnob->rx_cq_id) {
adapter->be_stat.bes_rx_events++;
- netif_rx_schedule(&pnob->napi);
+ napi_schedule(&pnob->napi);
} else if (rid == pnob->tx_cq_id) {
process_nic_tx_completions(pnob);
} else if (rid == pnob->mcc_cq_id) {
reply other threads:[~2009-02-04 12:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20090204123837.GA12987@orion \
--to=a.beregalov@gmail.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=sathyap@serverengines.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.