Message ID | 20100529232345.CA3124CD45@orbit.nwl.cc |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Phil Sutter <phil@nwl.cc> Date: Sun, 30 May 2010 01:23:36 +0200 > This way, RX DMA overruns (actually being caused by overrun of the > 512byte input FIFO) show up in ifconfig output. The rx_fifo_errors > counter is unused otherwise. > > Signed-off-by: Phil Sutter <phil@nwl.cc> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/korina.c b/drivers/net/korina.c index 3e9b6b7..c7a9bef 100644 --- a/drivers/net/korina.c +++ b/drivers/net/korina.c @@ -376,7 +376,7 @@ static int korina_rx(struct net_device *dev, int limit) if (devcs & ETH_RX_LE) dev->stats.rx_length_errors++; if (devcs & ETH_RX_OVR) - dev->stats.rx_over_errors++; + dev->stats.rx_fifo_errors++; if (devcs & ETH_RX_CV) dev->stats.rx_frame_errors++; if (devcs & ETH_RX_CES)
This way, RX DMA overruns (actually being caused by overrun of the 512byte input FIFO) show up in ifconfig output. The rx_fifo_errors counter is unused otherwise. Signed-off-by: Phil Sutter <phil@nwl.cc> --- drivers/net/korina.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)