mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 07:17:02 +07:00
enetc: Don't print from enetc_sched_speed_set when link goes down
It is not an error to unplug a cable from the ENETC port even with TSN
offloads, so don't spam the log with link-related messages from the
tc-taprio offload subsystem, a single notification is sufficient:
[10972.351859] fsl_enetc 0000:00:00.0 eno0: Qbv PSPEED set speed link down.
[10972.360241] fsl_enetc 0000:00:00.0 eno0: Link is Down
Fixes: 2e47cb415f
("enetc: update TSN Qbv PSPEED set according to adjust link speed")
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
aa63b9471b
commit
90f29f0ead
@ -36,7 +36,6 @@ void enetc_sched_speed_set(struct net_device *ndev)
|
||||
case SPEED_10:
|
||||
default:
|
||||
pspeed = ENETC_PMR_PSPEED_10M;
|
||||
netdev_err(ndev, "Qbv PSPEED set speed link down.\n");
|
||||
}
|
||||
|
||||
priv->speed = speed;
|
||||
|
Loading…
Reference in New Issue
Block a user