| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | Re: Where is netif_rx() not safe to use? |
| From: | Jason Lunz <lunz@xxxxxxxxxxxx> |
| Date: | Mon, 12 May 2003 15:16:55 +0000 (UTC) |
| Organization: | PBR Streetgang |
| References: | <3ebfa567b38e59.35614148@not right> <20030512145943.GB27111@xxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | slrn/0.9.7.4 (Linux) |
jgarzik@xxxxxxxxx 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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Where is netif_rx() not safe to use?, Jeff Garzik |
|---|---|
| Next by Date: | Re: Where is netif_rx() not safe to use?, Jeff Garzik |
| Previous by Thread: | Re: Where is netif_rx() not safe to use?, Jeff Garzik |
| Next by Thread: | Re: Where is netif_rx() not safe to use?, Jeff Garzik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |