Re: [v2,net-next, 2/2] enetc: update TSN Qbv PSPEED set according to adjust link speed
From: David Miller
Date: Tue Nov 12 2019 - 13:57:42 EST
From: Po Liu <po.liu@xxxxxxx>
Date: Tue, 12 Nov 2019 08:42:55 +0000
> ENETC has a register PSPEED to indicate the link speed of hardware.
> It is need to update accordingly. PSPEED field needs to be updated
> with the port speed for QBV scheduling purposes. Or else there is
> chance for gate slot not free by frame taking the MAC if PSPEED and
> phy speed not match. So update PSPEED when link adjust. This is
> implement by the adjust_link.
>
> Signed-off-by: Po Liu <Po.Liu@xxxxxxx>
> Signed-off-by: Claudiu Manoil <claudiu.manoil@xxxxxxx>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@xxxxxxx>
Applied.