Netdev List
 help / color / mirror / Atom feed
From: Florian Fainelli <florian.fainelli@broadcom.com>
To: netdev@vger.kernel.org
Cc: Florian Fainelli <florian.fainelli@broadcom.com>,
	Doug Berger <opendmb@gmail.com>,
	Nicolai Buchwitz <nb@tipi-net.de>,
	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: [PATCH net-next 0/2] net: bcmgenet: Support for NETIF_F_RXFCS
Date: Fri,  4 Dec 2026 15:00:46 -0800	[thread overview]
Message-ID: <20261204230048.3554713-1-florian.fainelli@broadcom.com> (raw)

This patch series adds support for passing the FCS up the networking
stack which is a feature that the GENET controller has always had but we
did not wire it up to NETIF_F_RXFCS.

To simplify the implementation, we mandate that the interface be
administratively brought down in order to toggle the 'rx-fcs' ethtool
feature bit. Doing this live would require draining the entire RX path.

This was tested on a GENETv5 board using a BCX972160DV reference board
using runtime tests as well as across Suspend-to-DRAM (S3) to ensure FCS
on/off survives properly.

Florian Fainelli (2):
  net: bcmgenet: keep FCS forwarding when exiting Wake-on-LAN
  net: bcmgenet: add support for NETIF_F_RXFCS

 .../net/ethernet/broadcom/genet/bcmgenet.c    | 46 ++++++++++++++++---
 .../ethernet/broadcom/genet/bcmgenet_wol.c    |  8 ++--
 2 files changed, 45 insertions(+), 9 deletions(-)

-- 
2.56.1


             reply	other threads:[~2026-12-04 23:00 UTC|newest]

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

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=20261204230048.3554713-1-florian.fainelli@broadcom.com \
    --to=florian.fainelli@broadcom.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=kuba@kernel.org \
    --cc=nb@tipi-net.de \
    --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