netdev
[Top] [All Lists]

Re: how to report network device errors to userspace?

To: Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx>
Subject: Re: how to report network device errors to userspace?
From: Donald Becker <becker@xxxxxxxxx>
Date: Wed, 19 Jun 2002 16:21:48 -0400 (EDT)
Cc: <netdev@xxxxxxxxxxx>
In-reply-to: <3D10CFF9.B4072FEA@xxxxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
On Wed, 19 Jun 2002, Chris Friesen wrote:

> I'm curious about the proper way for a network device driver to report
> faults to userspace.

What type of fault?

Errors are counted in /proc/net/dev.

> I haven't been able to find a standard interface for this--does nobody care
> about this kind of thing?

People very much care.  There are sufficient reporting mechanisms for
most errors -- it's much more consistent, orthogonal and thorough than
other device types.  Compare /proc/net/dev with the errors reported for
disks, serial, USB, keyboard...

-- 
Donald Becker                           becker@xxxxxxxxx
Scyld Computing Corporation             http://www.scyld.com
410 Severn Ave. Suite 210               Second Generation Beowulf Clusters
Annapolis MD 21403                      410-990-9993


<Prev in Thread] Current Thread [Next in Thread>