Re: [PATCH net v4] net: stmmac: Set MAC's flow control register to reflect current settings

From: Alexander Lobakin
Date: Fri Nov 25 2022 - 11:04:04 EST


From: "Goh, Wei Sheng" <wei.sheng.goh@xxxxxxxxx>
Date: Wed, 23 Nov 2022 18:51:10 +0800

> 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.

Any particular reason why you completely ignored by review comments
to the v3[0]? I'd like to see them fixed or at least replied.

>
> 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>
> ---
> V3 -> V4: Fix commit message and incorrect insertions(+) value
> V2 -> V3: Removed value assign for 'flow' in else statement based on review comments
> V1 -> V2: Removed needless condition based on review comments
>
> drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 2 ++
> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 12 ++++++++++--
> 2 files changed, 12 insertions(+), 2 deletions(-)

[...]

> --
> 2.17.1

[0] https://lore.kernel.org/netdev/20221123180947.488302-1-alexandr.lobakin@xxxxxxxxx

Thanks,
Olek