diff options
author | Nithin Sujir <nsujir@broadcom.com> | 2013-12-06 09:53:16 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-06 15:10:53 -0500 |
commit | ec99f76d281bae0194c6060417d3465ded94f0ed (patch) | |
tree | 93adf6858488c2355328580571b54469c2012b79 /drivers/net/ethernet/broadcom | |
parent | eb25a4e76d64e691ed4d51d91d647ccd082634e7 (diff) | |
download | blackbird-op-linux-ec99f76d281bae0194c6060417d3465ded94f0ed.tar.gz blackbird-op-linux-ec99f76d281bae0194c6060417d3465ded94f0ed.zip |
tg3: Don't add rxbds_empty to rx_over_errors
rxbds_empty is an informational statistic signifying that a ring full
condition was observed. It does not mean an overflow has occurred.
Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r-- | drivers/net/ethernet/broadcom/tg3.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index e35a1c5fc9b1..886d50b72cde 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -11746,8 +11746,6 @@ static void tg3_get_nstats(struct tg3 *tp, struct rtnl_link_stats64 *stats) get_stat64(&hw_stats->rx_frame_too_long_errors) + get_stat64(&hw_stats->rx_undersize_packets); - stats->rx_over_errors = old_stats->rx_over_errors + - get_stat64(&hw_stats->rxbds_empty); stats->rx_frame_errors = old_stats->rx_frame_errors + get_stat64(&hw_stats->rx_align_errors); stats->tx_aborted_errors = old_stats->tx_aborted_errors + |