Thread (7 messages) flat view 7 messages, 4 authors, 2009-09-24

Re: ixgbe patch to provide NIC's tx/rx counters via ethtool

From: Rick Jones <hidden>
Date: 2009-09-24 16:30:42

Ben Greear wrote:
Rick Jones wrote:
quoted
Ben Greear wrote:
quoted
When LRO is enabled, the received packet and byte counters represent the
LRO'd packets, not the packets/bytes on the wire. 

When LRO is enabled, are all the bytes on the wire actually 
transferred into the host?
No...the ethernet, IP and TCP headers and such are not, for packets that 
are combined into a single large SKB.

That is why the driver counts them wrong.  The bytes are off by a few 
percentage points, but the packet count is off by an order of magnitude.
An overly philosphical question perhaps, but are ethtool stats supposed to 
represent what was on the wire, or what entered the host?

rick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help