tg3: Don't add rxbds_empty to rx_over_errors
authorNithin Sujir <[email protected]>
Fri, 6 Dec 2013 17:53:16 +0000 (09:53 -0800)
committerDavid S. Miller <[email protected]>
Fri, 6 Dec 2013 20:10:53 +0000 (15:10 -0500)
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 <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/broadcom/tg3.c

index e35a1c5fc9b129a64cb8ca5e08dae018a8aa7934..886d50b72cdebb632827c4ce1c9ed509fa368ba0 100644 (file)
@@ -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 +