mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-22 12:25:05 +07:00
net: stmmac: Allow debug prints of frame_len/COE
There is no reason not to allow printing the frame_len/COE value and put that under a check for ETH_FRAME_LEN, drop it so we can see what the descriptor reports. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bdb421663d
commit
1ca7992cc2
@ -3436,9 +3436,8 @@ static int stmmac_rx(struct stmmac_priv *priv, int limit, u32 queue)
|
||||
if (netif_msg_rx_status(priv)) {
|
||||
netdev_dbg(priv->dev, "\tdesc: %p [entry %d] buff=0x%x\n",
|
||||
p, entry, des);
|
||||
if (frame_len > ETH_FRAME_LEN)
|
||||
netdev_dbg(priv->dev, "frame size %d, COE: %d\n",
|
||||
frame_len, status);
|
||||
netdev_dbg(priv->dev, "frame size %d, COE: %d\n",
|
||||
frame_len, status);
|
||||
}
|
||||
|
||||
/* The zero-copy is always used for all the sizes
|
||||
|
Loading…
Reference in New Issue
Block a user