mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Nazle Asmade, Muhammad Nazim Amirul" <muhammad.nazim.amirul.nazle.asmade@altera.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"andrew+netdev@lunn.ch" <andrew+netdev@lunn.ch>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"edumazet@google.com" <edumazet@google.com>,
	"kuba@kernel.org" <kuba@kernel.org>,
	"pabeni@redhat.com" <pabeni@redhat.com>,
	"rmk+kernel@armlinux.org.uk" <rmk+kernel@armlinux.org.uk>,
	"maxime.chevallier@bootlin.com" <maxime.chevallier@bootlin.com>,
	"Jose.Abreu@synopsys.com" <Jose.Abreu@synopsys.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 0/4] net: stmmac: L3/L4 filter fixes and improvements
Date: Thu, 4 Jun 2026 08:39:22 +0000	[thread overview]
Message-ID: <451fdf23-8feb-44a5-ab11-bfe8a7ed9b88@altera.com> (raw)
In-Reply-To: <c56e74c1-fc3a-4d76-a17e-8a7d365d1e70@lunn.ch>

On 3/6/2026 9:19 pm, Andrew Lunn wrote:
> On Wed, Jun 03, 2026 at 12:29:21AM -0700, muhammad.nazim.amirul.nazle.asmade@altera.com wrote:
>> From: Nazim Amirul <muhammad.nazim.amirul.nazle.asmade@altera.com>
>>
>> This series addresses several issues in the stmmac L3/L4 TC flower filter
>> implementation for the XGMAC2 core.
>>
>> Patch 1 fixes a register corruption bug in the L4 filter port configuration.
>> The XGMAC_L4_ADDR register holds both source and destination port match
>> values in a single register. The original code overwrites the entire register
>> when setting either field, silently erasing the other. This is fixed by
>> using a read-modify-write sequence.
>>
>> Patch 2 fixes the basic flow match parser to properly reject unsupported
>> offload requests with -EOPNOTSUPP instead of silently accepting them.
>> Unsupported cases include partial protocol masks, non-IPv4 network proto,
>> and non-TCP/UDP transport proto.
>>
>> Patch 3 fixes a stale action bug on filter deletion. When a filter entry
>> with a drop action is deleted, the action field was not reset, causing
>> it to persist and potentially affect subsequent filter configurations.
>
> Please base these on net.
>
> https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html
>
>>
>> Patch 4 adds L3/L4 filter match counting to the ethtool statistics by
>> reading the L3FM and L4FM bits from the RX descriptor status word (RDES2),
>> allowing users to observe filter hit rates via ethtool -S.
>
> and this one on net-next.
>
>      Andrew
>
> ---
> pw-bot: cr
>
Hi Andrew,

Thanks for a quick reply, I already move patch 4 to net-next and remain
the rest on net as per requested. Thanks!

Note: I mistakenly resend the wrong cover letter which was for previous
version, please ignore that

patch 1 to 3
https://lore.kernel.org/all/20260604083350.1701-2-muhammad.nazim.amirul.nazle.asmade@altera.com/
https://lore.kernel.org/all/20260604083350.1701-3-muhammad.nazim.amirul.nazle.asmade@altera.com/
https://lore.kernel.org/all/20260604083350.1701-4-muhammad.nazim.amirul.nazle.asmade@altera.com/
https://lore.kernel.org/all/20260604083350.1701-5-muhammad.nazim.amirul.nazle.asmade@altera.com/

patch 4
https://lore.kernel.org/all/20260604083037.24407-1-muhammad.nazim.amirul.nazle.asmade@altera.com/

  reply	other threads:[~2026-06-04  8:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-03  7:29 muhammad.nazim.amirul.nazle.asmade
2026-06-03  7:29 ` [PATCH 1/4] net: stmmac: xgmac: fix l4 filter port overwrite on register update muhammad.nazim.amirul.nazle.asmade
2026-06-03  7:29 ` [PATCH 2/4] net: stmmac: fix l3l4 filter rejecting unsupported offload requests muhammad.nazim.amirul.nazle.asmade
2026-06-03  7:29 ` [PATCH 3/4] net: stmmac: reset residual action in L3L4 filters on delete muhammad.nazim.amirul.nazle.asmade
2026-06-03  7:29 ` [PATCH 4/4] net: stmmac: xgmac: report L3/L4 filter match count in ethtool stats muhammad.nazim.amirul.nazle.asmade
2026-06-03 13:19 ` [PATCH 0/4] net: stmmac: L3/L4 filter fixes and improvements Andrew Lunn
2026-06-04  8:39   ` Nazle Asmade, Muhammad Nazim Amirul [this message]
2026-06-04  8:33 muhammad.nazim.amirul.nazle.asmade

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=451fdf23-8feb-44a5-ab11-bfe8a7ed9b88@altera.com \
    --to=muhammad.nazim.amirul.nazle.asmade@altera.com \
    --cc=Jose.Abreu@synopsys.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxime.chevallier@bootlin.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=rmk+kernel@armlinux.org.uk \
    /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

all inboxes | Powered by JetHome®