netdev
[Top] [All Lists]

Re: netdev.stats change suggestion

To: garzik@xxxxxxxxxxxxx (Jeff Garzik)
Subject: Re: netdev.stats change suggestion
From: kuznet@xxxxxxxxxxxxx
Date: Fri, 25 Jan 2002 21:57:51 +0300 (MSK)
Cc: devik@xxxxxx, davem@xxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20020125133308.B1978@xxxxxxxxxxxxx> from "Jeff Garzik" at Jan 25, 2 01:33:08 pm
Sender: owner-netdev@xxxxxxxxxxx
Hello!


> If we do -not- have a way for NICs to dump 64-bit stats, each driver is
> going to have scale stats down to 32 bits,

Look at my previous mail, by the way. It covers this.

Well, just a note: driver has to transform in any case,
f.e. to canonicalize the number to host word order.

I proposed to solve all the issues in one shot: no transforms,
direct access, set of offsets.

Well, and provided bits remain undefined, everyone will use
only u32 part.

What's about MIBs, it is _user_ _space_ thing, they can be 256 bit
with the same success and equally easily.


>                                       and perhaps implement
> in-driver sampling code.

OK, I will wait with rates until such hardware will appear. :-)

Alexey

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