Re: via-rhine and missing /proc/net/dev receive bytes

Philip Blundell (philb@gnu.org)
Sun, 11 Apr 1999 23:10:50 +0100


>Well, the weird part is that the transmitting bytes are working properly...

Yeah. I just looked at the driver and it does indeed implement the tx byte
counter but not the rx one. Bizarre.

To make it work you just need to add something along the lines of `np->
stats.rx_bytes += skb->len;' at about line 1053, I imagine.

p.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/