Skip to content

Commit 18a3ed5

Browse files
KAZUMIZUdavem330
authored andcommitted
ravb: Remove Rx overflow log messages
Remove Rx overflow log messages as in an environment where logging results in network traffic logging may cause further overflows. Fixes: c156633 ("Renesas Ethernet AVB driver proper") Signed-off-by: Kazuya Mizuguchi <[email protected]> [simon: reworked changelog] Signed-off-by: Simon Horman <[email protected]> Acked-by: Sergei Shtylyov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 608edab commit 18a3ed5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

drivers/net/ethernet/renesas/ravb_main.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -926,14 +926,10 @@ static int ravb_poll(struct napi_struct *napi, int budget)
926926
/* Receive error message handling */
927927
priv->rx_over_errors = priv->stats[RAVB_BE].rx_over_errors;
928928
priv->rx_over_errors += priv->stats[RAVB_NC].rx_over_errors;
929-
if (priv->rx_over_errors != ndev->stats.rx_over_errors) {
929+
if (priv->rx_over_errors != ndev->stats.rx_over_errors)
930930
ndev->stats.rx_over_errors = priv->rx_over_errors;
931-
netif_err(priv, rx_err, ndev, "Receive Descriptor Empty\n");
932-
}
933-
if (priv->rx_fifo_errors != ndev->stats.rx_fifo_errors) {
931+
if (priv->rx_fifo_errors != ndev->stats.rx_fifo_errors)
934932
ndev->stats.rx_fifo_errors = priv->rx_fifo_errors;
935-
netif_err(priv, rx_err, ndev, "Receive FIFO Overflow\n");
936-
}
937933
out:
938934
return budget - quota;
939935
}

0 commit comments

Comments
 (0)