| To: | Jason Lunz <j@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | NAPI question about old drivers |
| From: | Robert Olsson <Robert.Olsson@xxxxxxxxxxx> |
| Date: | Sat, 16 Feb 2002 10:55:59 +0100 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20020215185646.GA6614@xxxxxxxxxxxxxx> |
| References: | <20020215185646.GA6614@xxxxxxxxxxxxxx> |
| Sender: | owner-netdev@xxxxxxxxxxx |
Jason Lunz writes:
>
> I'm reading the NAPI patch and I don't understand how old drivers can
> continue to work.
> 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.
All netif_rx drivers are handled as one common net_device with name
blog_dev it's defined in struct softnet_data. It's "dev->poll" method is
process_backlog in dev.c.
Cheers.
--ro
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | about time measurement, Laurence |
|---|---|
| Next by Date: | Re: about time measurement, Martin Devera |
| Previous by Thread: | NAPI question about old drivers, Jason Lunz |
| Next by Thread: | about time measurement, Laurence |
| Indexes: | [Date] [Thread] [Top] [All Lists] |