aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Hutchings <ben.hutchings@codethink.co.uk>2015-01-26 19:41:16 -0500
committerDavid S. Miller <davem@davemloft.net>2015-01-27 03:18:53 -0500
commitdc1d0e6d55006a48ebc0f40a74485ca430f05046 (patch)
tree129fff341f4fe96dbfc5b15f63cdf97d8fd8ceae
parent8d8d67f140dbf055efc488ab656ca96a2345b5c8 (diff)
sh_eth: Remove RX overflow log messages
If RX traffic is overflowing the FIFO or DMA ring, logging every time this happens just makes things worse. These errors are visible in the statistics anyway. Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/renesas/sh_eth.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c
index 99a838db032e..bb15cd83134f 100644
--- a/drivers/net/ethernet/renesas/sh_eth.c
+++ b/drivers/net/ethernet/renesas/sh_eth.c
@@ -1575,7 +1575,6 @@ ignore_link:
1575 if (intr_status & EESR_RFRMER) { 1575 if (intr_status & EESR_RFRMER) {
1576 /* Receive Frame Overflow int */ 1576 /* Receive Frame Overflow int */
1577 ndev->stats.rx_frame_errors++; 1577 ndev->stats.rx_frame_errors++;
1578 netif_err(mdp, rx_err, ndev, "Receive Abort\n");
1579 } 1578 }
1580 } 1579 }
1581 1580
@@ -1594,13 +1593,11 @@ ignore_link:
1594 if (intr_status & EESR_RDE) { 1593 if (intr_status & EESR_RDE) {
1595 /* Receive Descriptor Empty int */ 1594 /* Receive Descriptor Empty int */
1596 ndev->stats.rx_over_errors++; 1595 ndev->stats.rx_over_errors++;
1597 netif_err(mdp, rx_err, ndev, "Receive Descriptor Empty\n");
1598 } 1596 }
1599 1597
1600 if (intr_status & EESR_RFE) { 1598 if (intr_status & EESR_RFE) {
1601 /* Receive FIFO Overflow int */ 1599 /* Receive FIFO Overflow int */
1602 ndev->stats.rx_fifo_errors++; 1600 ndev->stats.rx_fifo_errors++;
1603 netif_err(mdp, rx_err, ndev, "Receive FIFO Overflow\n");
1604 } 1601 }
1605 1602
1606 if (!mdp->cd->no_ade && (intr_status & EESR_ADE)) { 1603 if (!mdp->cd->no_ade && (intr_status & EESR_ADE)) {