Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: bcmgenet: Remove TX ring full logging

There is no need to spam the kernel log with such an indication, remove
this message.

Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230728183945.760531-1-florian.fainelli@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Florian Fainelli and committed by
Jakub Kicinski
df41fa67 634e4497

+1 -5
+1 -5
drivers/net/ethernet/broadcom/genet/bcmgenet.c
··· 2077 2077 2078 2078 spin_lock(&ring->lock); 2079 2079 if (ring->free_bds <= (nr_frags + 1)) { 2080 - if (!netif_tx_queue_stopped(txq)) { 2080 + if (!netif_tx_queue_stopped(txq)) 2081 2081 netif_tx_stop_queue(txq); 2082 - netdev_err(dev, 2083 - "%s: tx ring %d full when queue %d awake\n", 2084 - __func__, index, ring->queue); 2085 - } 2086 2082 ret = NETDEV_TX_BUSY; 2087 2083 goto out; 2088 2084 }