On 4/21/07, Sebastien Roy <[EMAIL PROTECTED]> wrote:
It would be good to fix the kstat issues you documented prior to publicizing the driver interfaces. We should certainly discuss possible solutions to this in the context of making these interfaces public.
The stat interfaces was never satisfactorily finished off, although the original Nemo code did allow the driver to set a mask of supported stats such that Nemo would only create the relevant set. The idea behind the 'pull a single stat' entry point in the MAC interface is more to support querying of things like link state or duplex which tend to be pulled independently of other stats, plus the efficiency of stat. gathering is really down the to the h/w driver. Only it knows how much it costs to query the h/w and can easily set up a shadow area in memory that can be accessed without locks. Paul -- Paul Durrant http://www.linkedin.com/in/pdurrant _______________________________________________ networking-discuss mailing list [email protected]
