netdev
[Top] [All Lists]

How to count tx and rx bytes?

To: "'netdev@xxxxxxxxxxx'" <netdev@xxxxxxxxxxx>
Subject: How to count tx and rx bytes?
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Mon, 15 Dec 2003 12:03:58 -0800
Organization: Candela Technologies
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Is there an agreed upon standard for exactly what ethernet drivers
should be counting for rx-bytes and tx-bytes?  For example, should the
counters include the 4-byte FCS?  Should they include the ethernet header?

From what I can tell, various drivers count the rx and tx bytes differently,
which cannot be correct....

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com



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