From: Jason Lunz <lunz@falooley.org>
To: netdev@oss.sgi.com
Subject: Re: Where is netif_rx() not safe to use?
Date: Mon, 12 May 2003 15:16:55 +0000 (UTC) [thread overview]
Message-ID: <slrnbbveq6.321.lunz@stoli.localnet> (raw)
In-Reply-To: 20030512145943.GB27111@gtf.org
jgarzik@pobox.com said:
>> I'd like to know if there are situations where netif_rx() is not safe to use.
>> For example, is it safe to call from a timer or from dev->poll()?
>
> Sure, that's fine.
from dev->poll()? It could work, but that's abusing the napi design.
netif_rx() is for non-napi drivers. If a dev has a ->poll() method, it
should use netif_receive_skb().
Jason
next prev parent reply other threads:[~2003-05-12 15:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3ebfa567b38e59.35614148@not right>
2003-05-12 14:59 ` Where is netif_rx() not safe to use? Jeff Garzik
2003-05-12 15:16 ` Jason Lunz [this message]
2003-05-12 15:44 ` Jeff Garzik
2003-05-12 13:45 Rask Ingemann Lambertsen
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=slrnbbveq6.321.lunz@stoli.localnet \
--to=lunz@falooley.org \
--cc=netdev@oss.sgi.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).