Re: [PATCH net v2] net: stmmac: Set MAC's flow control register to reflect current settings
From: Andrew Lunn
Date: Tue Nov 22 2022 - 13:12:12 EST
On Tue, Nov 22, 2022 at 02:39:35PM +0800, Goh, Wei Sheng wrote:
> Currently, pause frame register GMAC_RX_FLOW_CTRL_RFE is not updated
> correctly when 'ethtool -A <IFACE> autoneg off rx off tx off' command
> is issued. This fix ensures the flow control change is reflected directly
> in the GMAC_RX_FLOW_CTRL_RFE register.
In future, please include a summary of what changed from version 1 of
the patch. This is generally placed under the --- marker.
>
> Fixes: 46f69ded988d ("net: stmmac: Use resolved link config in mac_link_up()")
> Cc: <stable@xxxxxxxxxxxxxxx> # 5.10.x
> Signed-off-by: Goh, Wei Sheng <wei.sheng.goh@xxxxxxxxx>
> Signed-off-by: Noor Azura Ahmad Tarmizi <noor.azura.ahmad.tarmizi@xxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew