瀏覽代碼

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>
Ben Hutchings 11 年之前
父節點
當前提交
dc1d0e6d55
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/net/ethernet/renesas/sh_eth.c

+ 0 - 3
drivers/net/ethernet/renesas/sh_eth.c

@@ -1575,7 +1575,6 @@ ignore_link:
 		if (intr_status & EESR_RFRMER) {
 		if (intr_status & EESR_RFRMER) {
 			/* Receive Frame Overflow int */
 			/* Receive Frame Overflow int */
 			ndev->stats.rx_frame_errors++;
 			ndev->stats.rx_frame_errors++;
-			netif_err(mdp, rx_err, ndev, "Receive Abort\n");
 		}
 		}
 	}
 	}
 
 
@@ -1594,13 +1593,11 @@ ignore_link:
 	if (intr_status & EESR_RDE) {
 	if (intr_status & EESR_RDE) {
 		/* Receive Descriptor Empty int */
 		/* Receive Descriptor Empty int */
 		ndev->stats.rx_over_errors++;
 		ndev->stats.rx_over_errors++;
-		netif_err(mdp, rx_err, ndev, "Receive Descriptor Empty\n");
 	}
 	}
 
 
 	if (intr_status & EESR_RFE) {
 	if (intr_status & EESR_RFE) {
 		/* Receive FIFO Overflow int */
 		/* Receive FIFO Overflow int */
 		ndev->stats.rx_fifo_errors++;
 		ndev->stats.rx_fifo_errors++;
-		netif_err(mdp, rx_err, ndev, "Receive FIFO Overflow\n");
 	}
 	}
 
 
 	if (!mdp->cd->no_ade && (intr_status & EESR_ADE)) {
 	if (!mdp->cd->no_ade && (intr_status & EESR_ADE)) {