netdev
[Top] [All Lists]

Re: [PATCH,pktgen] account for preamble and inter-packet gap

To: Lennert Buytenhek <buytenh@xxxxxxxxxxxxxx>
Subject: Re: [PATCH,pktgen] account for preamble and inter-packet gap
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Sun, 28 Nov 2004 19:21:31 -0800
Cc: robert.olsson@xxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20041128213251.GA9330@xxxxxxxxxxxxxxxxx>
Organization: Candela Technologies
References: <20041128213251.GA9330@xxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20041020
Lennert Buytenhek wrote:
Hi!

If you account for the Frame Check Sequence when computing bandwidth
stats, it's only fair that you count the preamble and inter-packet gap
as well.  Suggested patch attached.

a) When an ethernet NIC claims 100Mbps, does this count the preamble and IPG?

b) Or, can send and receive 100Mbps of data by only counting
   the ethernet header + payload + CRC?

If b is true, then I definately would not want to see the IPG and preamble
counted.  If a is true, then I still don't want it counted, but I would
agree that it is worth considering :)

Ben

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


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