| To: | "Randy.Dunlap" <rddunlap@xxxxxxxx> |
|---|---|
| Subject: | Re: How to count tx and rx bytes? |
| From: | Ben Greear <greearb@xxxxxxxxxxxxxxx> |
| Date: | Tue, 16 Dec 2003 11:38:40 -0800 |
| Cc: | Rask Ingemann Lambertsen <rask@xxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <20031216074520.40f59afd.rddunlap@xxxxxxxx> |
| Organization: | Candela Technologies |
| References: | <3FDE13AE.3050402@xxxxxxxxxxxxxxx> <20031216143816.A1546@xxxxxxxxxx> <20031216074520.40f59afd.rddunlap@xxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 |
Randy.Dunlap wrote: On Tue, 16 Dec 2003 14:38:16 +0100 Rask Ingemann Lambertsen <rask@xxxxxxxxxx> wrote: | On Mon, Dec 15, 2003 at 12:03:58PM -0800, Ben Greear wrote:| > | > 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?| | Should they include the frame padding in tx-bytes? Some do, some don't.| IMHO they should, because you do actually transmit those bytes on the wire. If you are referring to padding that is put there by software, then Yes. The padding is often done in the NIC itself, and since the bytes are put on the wire, they should be counted... -- ~Randy -- Ben Greear <greearb@xxxxxxxxxxxxxxx> Candela Technologies Inc http://www.candelatech.com |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [BUG] can't unload network device's if IPV6 is loaded, Stephen Hemminger |
|---|---|
| Next by Date: | Re: [RFC] SO_PEERSEC - security credentials for Unix stream sockets, James Morris |
| Previous by Thread: | Re: How to count tx and rx bytes?, Randy.Dunlap |
| Next by Thread: | [BK PATCHES] 2.6.x experimental net driver updates, Jeff Garzik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |