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

Florent Villard (warly@bigfoot.com)
Mon, 12 Apr 1999 00:19:47 +0200 (CEST)


Using also the via-rhine driver, 2.2.5 kernel, compile as module, same
problem as you, null bytes field in receive.

Rapidly looking at the source, it appeared that also there is a

tp->stats.tx_bytes += np->tx_ring[entry].desc_length & 0x7ff;

that update the sending stats, there is no equivalent for updating the
receiving bytes. This must not be a great job, I would maybe look at this
if I have 5 mins.

-
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/