enetc: Don't print from enetc_sched_speed_set when link goes down
Subsystems (3)
PATCH 1/1 enetc: Don't print from enetc_sched_speed_set when link goes down
From: Vladimir Oltean <[email protected]>
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
--- drivers/net/ethernet/freescale/enetc/enetc_qos.c | 1 - 1 file changed, 1 deletion(-)
drivers/net/ethernet/freescale/enetc/enetc_qos.c +0 -1
@@ -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;
Signature · 1 line
2.17.1
Quoted 11 lines · Vladimir Oltean
From: Vladimir Oltean <[email protected]>
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 DownFixes 2e47cb415f0a ("enetc: update TSN Qbv PSPEED set according to adjust link speed")Signed-off-by Vladimir Oltean <[email protected]>
Andrew
From: Vladimir Oltean <[email protected]>
Date: Thu, 16 Jan 2020 19:18:28 +0200
Quoted 11 lines
From: Vladimir Oltean <[email protected]>
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 DownFixes 2e47cb415f0a ("enetc: update TSN Qbv PSPEED set according to adjust link speed")Signed-off-by Vladimir Oltean <[email protected]>
Applied, thanks.