Netdev List
 help / color / mirror / Atom feed
From: Nicolai Buchwitz <nb@tipi-net.de>
To: Florian Fainelli <florian.fainelli@broadcom.com>
Cc: netdev@vger.kernel.org, Doug Berger <opendmb@gmail.com>,
	Broadcom internal kernel review list
	<bcm-kernel-feedback-list@broadcom.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Subject: Re: [PATCH net-next 1/2] net: bcmgenet: keep FCS forwarding when exiting Wake-on-LAN
Date: Sat, 05 Dec 2026 13:16:17 +0100	[thread overview]
Message-ID: <e8f1454b69c0cce6cff29701a5e18cab@tipi-net.de> (raw)
In-Reply-To: <20261204230048.3554713-2-florian.fainelli@broadcom.com>

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 <florian.fainelli@broadcom.com>

> [...]

Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>

Thanks,
Nicolai

  reply	other threads:[~2026-12-05 12:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 23:00 [PATCH net-next 0/2] net: bcmgenet: Support for NETIF_F_RXFCS Florian Fainelli
2026-12-04 23:00 ` [PATCH net-next 1/2] net: bcmgenet: keep FCS forwarding when exiting Wake-on-LAN Florian Fainelli
2026-12-05 12:16   ` Nicolai Buchwitz [this message]
2026-12-04 23:00 ` [PATCH net-next 2/2] net: bcmgenet: add support for NETIF_F_RXFCS Florian Fainelli
2026-12-05 12:23   ` Nicolai Buchwitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e8f1454b69c0cce6cff29701a5e18cab@tipi-net.de \
    --to=nb@tipi-net.de \
    --cc=andrew+netdev@lunn.ch \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=florian.fainelli@broadcom.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=opendmb@gmail.com \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox