All of lore.kernel.org
 help / color / mirror / Atom feed
From: willemb@google.com
To: James Hilliard <james.hilliard1@gmail.com>,
	netdev@vger.kernel.org,
	 Maxime Chevallier <maxime.chevallier@bootlin.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	 "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	 Paolo Abeni <pabeni@redhat.com>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	 Alexandre Torgue <alexandre.torgue@foss.st.com>,
	Chen-Yu Tsai <wens@kernel.org>,
	 Jernej Skrabec <jernej.skrabec@gmail.com>,
	Samuel Holland <samuel@sholland.org>
Cc: Jakub Kicinski <kuba@kernel.org>,
	Oleksij Rempel <o.rempel@pengutronix.de>,
	 linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev,
	 James Hilliard <james.hilliard1@gmail.com>
Subject: Re: [PATCH net-next v2 0/3] net: stmmac: support ethtool rx-all on sun8i
Date: Tue, 01 Dec 2026 23:02:38 -0500	[thread overview]
Message-ID: <willemb.218976a7774bf@google.com> (raw)
In-Reply-To: <20261125-submit-sun8i-rxall-v1-v2-0-4de03fbde087@gmail.com>

James Hilliard wrote:
> On H616 the PHY can count a bad-FCS frame even when it does not appear
> in a packet capture. Enabling rx-all lets a capture see the complete
> errored frames the MAC can forward. On this hardware, a 64-byte frame
> with a bad FCS reaches DMA, but a 63-byte one does not, even with runt
> forwarding enabled. Both lengths include the FCS.

> Add the common stmmac receive and feature-handling paths, then
> enable them for sun8i. This feature was previously posted alongside the
> checksum fix and is now separate following Maxime's review [0].

> [0]  
> https://lore.kernel.org/r/a91278be-9c14-4769-81f1-38497c38c47b@bootlin.com/

> Assisted-by: Codex:gpt-6.2-astra
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>

> ---
> Changes in v2:
> - Drop the RX_CTL1 lock and leave DMA start, stop and mode setup  
> unchanged.
> - Align the EMAC_RX_MD definition in a separate patch, as Andrew  
> requested.
> - Apply rx-all alongside the other receive filters, independently of RX  
> checksum reporting.
> - Link to v1:  
> https://patch.msgid.link/20261122-submit-sun8i-rxall-v1-v1-0-607789772c56@gmail.com

> ---
> James Hilliard (3):
>        net: stmmac: dwmac-sun8i: align EMAC_RX_MD with tabs
>        net: stmmac: add common RXALL handling
>        net: stmmac: dwmac-sun8i: support ethtool rx-all

>   drivers/net/ethernet/stmicro/stmmac/common.h      |  2 +
>   drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 22 ++++++++--
>   drivers/net/ethernet/stmicro/stmmac/hwif.h        |  2 +
>   drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 52  
> ++++++++++++++++-------
>   4 files changed, 59 insertions(+), 19 deletions(-)
> ---
> base-commit: 612848d37e68b858e15815175f1c5e609e09d719
> base-tree:  
> git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git main
> change-id: 20261122-submit-sun8i-rxall-v1-2666ccf2a020
> prerequisite-change-id:  
> 20261119-submit-sun8i-rx-features-v1-9177e8328598:v3
> prerequisite-patch-id: cfcd83b1605af3856aff1188ef7bdbdbfc19cce0

> Best regards,
> --
> James Hilliard <james.hilliard1@gmail.com>


Does not apply cleanly. Please rebase this series on current net-next and  
repost.

pw-bot: cr

      parent reply	other threads:[~2026-12-02  4:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25  8:18 [PATCH net-next v2 0/3] net: stmmac: support ethtool rx-all on sun8i James Hilliard
2026-11-25  8:18 ` [PATCH net-next v2 1/3] net: stmmac: dwmac-sun8i: align EMAC_RX_MD with tabs James Hilliard
2026-11-25  8:18 ` [PATCH net-next v2 2/3] net: stmmac: add common RXALL handling James Hilliard
2026-11-25  8:18 ` [PATCH net-next v2 3/3] net: stmmac: dwmac-sun8i: support ethtool rx-all James Hilliard
2026-12-02  4:02 ` willemb [this message]

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=willemb.218976a7774bf@google.com \
    --to=willemb@google.com \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=james.hilliard1@gmail.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=maxime.chevallier@bootlin.com \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=o.rempel@pengutronix.de \
    --cc=pabeni@redhat.com \
    --cc=samuel@sholland.org \
    --cc=wens@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.