Re: receive stats null for bond0 in 2.4.6

From: Jeff Golds (jgolds@resilience.com)
Date: Wed Jul 11 2001 - 19:32:12 EST


Laurent Itti wrote:
>
> Hi all:
>
> just installed 2.4.6 and all is well except that all stats in
> /proc/net/dev are at zero on the receive side for our 3x100Mbps
> channel-bonded network interface (bond0, using kernel module "bonding").
> The interface works great (we do receive packets). Transmit side stats
> appear ok. All stats also ok on the 3 ethernet boards that are enslaved
> into the bond.
>
> any idea? thanks!
>

It's always zero because the bonding driver included with the Linux
kernel is pretty broken. The comments say that its stats are collected
from the slaves, but this is untrue. See the source code at
http://sourceforge.net/projects/bonding for how the stats should be
collected.

-Jeff

-- 
Jeff Golds
Sr. Software Engineer
jgolds@resilience.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 15 2001 - 21:00:16 EST