On 5.12.2026 00:00, Florian Fainelli wrote:
> bcmgenet_wol_power_down_cfg() forces CMD_CRC_FWD on so that the > UniMAC can match magic packets, and bcmgenet_wol_power_up_cfg() > unconditionally turns it back off and clears priv->crc_fwd_en. > > That is fine as long as the driver never forwards the FCS on its own, > but a following change makes this depend on NETIF_F_RXFCS. On a > successful WoL exit bcmgenet_resume() does not re-apply the features, > so clearing the state here would silently drop the user's setting. > > Derive priv->crc_fwd_en from dev->features when leaving WoL and only > clear CMD_CRC_FWD when the FCS is not wanted. Since NETIF_F_RXFCS is > not advertised yet, there is no functional change. > > Signed-off-by: Florian Fainelli <flor…@broadcom.com>
> [...]
Reviewed-by: Nicolai Buchwitz <n…@tipi-net.de> Thanks, Nicolai