Re: [v4,net-next, 2/2] enetc: update TSN Qbv PSPEED set according to adjust link speed

From: David Miller
Date: Sat Nov 16 2019 - 15:49:41 EST


From: Po Liu <po.liu@xxxxxxx>
Date: Fri, 15 Nov 2019 03:33:41 +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.