| To: | Andi Kleen <ak@xxxxxxx> |
|---|---|
| Subject: | Re: how to report network device errors to userspace? |
| From: | Jes Sorensen <jes@xxxxxxxxxxxxxxxxxx> |
| Date: | 19 Jun 2002 17:45:55 -0400 |
| Cc: | Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx>, Donald Becker <becker@xxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | Andi Kleen's message of "Wed, 19 Jun 2002 23:36:59 +0200" |
| References: | <Pine.LNX.4.33.0206191616060.1669-100000@presario> <3D10F552.C05ADD53@xxxxxxxxxxxxxxxxxx> <20020619233659.A7368@xxxxxxxxxxxxx> |
| Sender: | owner-netdev@xxxxxxxxxxx |
>>>>> "Andi" == Andi Kleen <ak@xxxxxxx> writes: Andi> On Wed, Jun 19, 2002 at 05:19:14PM -0400, Chris Friesen wrote: >> Currently the way we are doing it for ethernet is that the >> userspace app calls a device ioctl() with SIOCGMIIREG multiple >> times per second, but it would be nice to have the driver notify us >> asynchronously. Andi> I would suggest sending a netlink message from the driver. Andi> That's really what netlink was designed for. Hmmm, the broader issue here is that we should aim for a generic interface - if netlink is the way, maybe it would be worth documenting it and moving towards getting it into more/all drivers. I have had this question from other sides as well - hadn't thought of netlink. Cheers, Jes |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: how to report network device errors to userspace?, Chris Friesen |
|---|---|
| Next by Date: | Re: how to report network device errors to userspace?, Chris Friesen |
| Previous by Thread: | Re: how to report network device errors to userspace?, jamal |
| Next by Thread: | Re: how to report network device errors to userspace?, Chris Friesen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |