| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | NAPI question about old drivers |
| From: | Jason Lunz <j@xxxxxxxxxxxxxx> |
| Date: | Fri, 15 Feb 2002 13:56:46 -0500 |
| Sender: | owner-netdev@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.27i |
I'm reading the NAPI patch and I don't understand how old drivers can
continue to work.
in net_rx_action(), NAPI does this:
if (dev->quota <= 0 || dev->poll(dev, &budget)) {
what happens to legacy drivers that don't set dev->poll? I see
netif_rx() has been modified, but drivers that call that and don't have
a dev->poll will be in trouble when net_rx_action() runs.
am i missing something?
--
Jason Lunz Trellis Network Security
j@xxxxxxxxxxxxxx http://www.trellisinc.com/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | ifconfig, ip and ethernet driver module, Joachim Franek |
|---|---|
| Next by Date: | Re: Re: T/TCP Problems can be solved., Laurence |
| Previous by Thread: | ifconfig, ip and ethernet driver module, Joachim Franek |
| Next by Thread: | NAPI question about old drivers, Robert Olsson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |