🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #22586

[PATCH net-next v13 2/5] net: stmmac: remove software VLAN tag stripping

#22586
From: Lorenzo Bianconi
Date: Wed, 25 Nov 2026 14:48
257 lines
25092 bytes
The software VLAN stripping logic in stmmac_rx_vlan() was originally
introduced in 2014 by commit b93819854d6e ("stmmac: Add vlan rx for
better GRO performance.") as a workaround to improve GRO performance,
since at that time GRO could not handle frames with VLAN tags. However,
this limitation was resolved in 2015 by commit 66e5133f19e9 ("vlan: Add
GRO support for non hardware accelerated vlan"), which added GRO support
for non-hardware-accelerated VLAN frames. Keeping a software fallback
path for VLAN stripping is no longer necessary and only adds complexity.

After removing it, VLAN tags remain in the packet, so
stmmac_has_ip_ethertype() has to keep recognising IPv4/IPv6 behind a
single in-payload VLAN tag. On RX the helper runs after eth_type_trans(),
which has already pulled the Ethernet header, so walk the tag chain with
skb_mac_offset() instead of __vlan_get_protocol(), which assumes the MAC
header still sits at skb->data. On TX the helper still runs before the
header is pulled.

Make the tolerated L2 depth explicit:
- on RX allow a single in-payload C-tag while the MAC is not stripping
  tags (VLAN_ETH_HLEN); when HW stripping is active the payload must be
  tag-free, so keep the ETH_HLEN limit and reject any tag that is still
  there;
- in-payload S-tags are always rejected, as only an S-tag that the
  hardware stripped (and whose type is reported through
  get_rx_vlan_proto) is known to have been parsed by the checksum engine;
- on TX keep the old ETH_HLEN limit, so DSA-tagged frames that the
  checksum engine ignores (see commit c2945c435c99 ("net: stmmac:
  Prevent DSA tags from breaking COE")) remain excluded from hardware
  checksum and TSO.

This intentionally changes the advertised features:
- dwmac100/dwmac1000 no longer advertise NETIF_F_HW_VLAN_CTAG_RX;
  they have no hardware VLAN stripping.
- On xmac cores NETIF_F_HW_VLAN_CTAG_RX is advertised only when the
  VLAN ops provide .set_hw_vlan_mode and .rx_hw_vlan, so DWXLGMAC no
  longer falsely advertises RX VLAN offload.
- NETIF_F_HW_VLAN_STAG_RX is advertised only on cores that provide
  hardware RX VLAN offload and whose descriptor ops report the stripped
  tag protocol (get_rx_vlan_proto), i.e. DWXGMAC. DWXLGMAC loses it
  because it has no RX VLAN offload, while cores without
  get_rx_vlan_proto report stripped S-tags as C-tags.

The DWXLGMAC mis-advertisement was introduced when the RX VLAN offload
gate was widened to all xmac cores, so tag the fix accordingly.

With NETIF_F_VLAN_FEATURES possibly empty, EEE RX clock stop may be
enabled on some platforms; the preceding selftests patch blocks RX
clock stop while the ethtool selftests run.

This depends on the preceding selftests fix.

Fixes: 534df0c1724b ("net: stmmac: dwxgmac2: Add support for HW-accelerated VLAN stripping")
Suggested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Co-developed-by: Peilin He <he.peilin@zte.com.cn>
Signed-off-by: Peilin He <he.peilin@zte.com.cn>
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@oss.qualcomm.com>
---
 drivers/net/ethernet/stmicro/stmmac/stmmac.h      | 12 +++
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 89 ++++++++---------------
 2 files changed, 44 insertions(+), 57 deletions(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac.h b/drivers/net/ethernet/stmicro/stmmac/stmmac.h
index fcc395321816..fa9ef4212982 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h
@@ -478,4 +478,16 @@ static inline int stmmac_selftest_get_count(struct stmmac_priv *priv)
 }
 #endif /* CONFIG_STMMAC_SELFTESTS */
 
+static inline bool stmmac_rx_8021q_offload(struct stmmac_priv *priv)
+{
+	return priv->hw->vlan && priv->hw->vlan->set_hw_vlan_mode &&
+	       priv->hw->vlan->rx_hw_vlan;
+}
+
+static inline bool stmmac_rx_8021ad_offload(struct stmmac_priv *priv)
+{
+	return stmmac_rx_8021q_offload(priv) &&
+	       priv->hw->desc->get_rx_vlan_proto;
+}
+
 #endif /* __STMMAC_H__ */
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
index ca4c7fb11b73..7896364c43e9 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
@@ -4879,7 +4879,9 @@ static netdev_tx_t stmmac_tso_xmit(struct sk_buff *skb, struct net_device *dev)
 
 /**
  * stmmac_has_ip_ethertype() - Check if packet has IP ethertype
+ * @priv: driver private structure
  * @skb: socket buffer to check
+ * @xmit: transmit path
  *
  * Check if a packet has an ethertype that will trigger the IP header checks
  * and IP/TCP checksum engine of the stmmac core.
@@ -4887,16 +4889,25 @@ static netdev_tx_t stmmac_tso_xmit(struct sk_buff *skb, struct net_device *dev)
  * Return: true if the ethertype can trigger the checksum engine, false
  * otherwise
  */
-static bool stmmac_has_ip_ethertype(struct sk_buff *skb)
+static bool stmmac_has_ip_ethertype(struct stmmac_priv *priv,
+				    struct sk_buff *skb, bool xmit)
 {
-	int depth = 0;
-	__be16 proto;
+	__be16 proto, h_proto = eth_header_parse_protocol(skb);
+	int max_l2_hlen, depth = 0;
+
+	/* An S-tag still in the payload may not have been parsed by the
+	 * checksum engine; only trust it when the hardware stripped it, in
+	 * which case h_proto is no longer ETH_P_8021AD.
+	 */
+	if (h_proto == htons(ETH_P_8021AD))
+		return false;
 
-	proto = __vlan_get_protocol(skb, eth_header_parse_protocol(skb),
-				    &depth);
+	proto = vlan_get_protocol_offset_inline(skb, h_proto,
+						skb_mac_offset(skb), &depth);
 
-	return (depth <= ETH_HLEN) &&
-		(proto == htons(ETH_P_IP) || proto == htons(ETH_P_IPV6));
+	max_l2_hlen = xmit || priv->hw->hw_vlan_en ? ETH_HLEN : VLAN_ETH_HLEN;
+	return depth <= max_l2_hlen &&
+	       (proto == htons(ETH_P_IP) || proto == htons(ETH_P_IPV6));
 }
 
 /**
@@ -5153,7 +5164,7 @@ static netdev_features_t stmmac_features_check(struct sk_buff *skb,
 	 * harmonize_features() in net/core/dev.c
 	 */
 	if (priv->plat->tx_queues_cfg[queue].coe_unsupported ||
-	    !stmmac_has_ip_ethertype(skb))
+	    !stmmac_has_ip_ethertype(priv, skb, true))
 		features &= ~(NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM);
 
 	if (skb_is_gso(skb)) {
@@ -5175,37 +5186,6 @@ static netdev_features_t stmmac_features_check(struct sk_buff *skb,
 	return vlan_features_check(skb, features);
 }
 
-static int stmmac_rx_vlan(struct net_device *dev, struct sk_buff *skb)
-{
-	struct vlan_ethhdr *veth;
-
-	if (!pskb_may_pull(skb, ETH_HLEN))
-		return -EINVAL;
-
-	veth = skb_vlan_eth_hdr(skb);
-	if ((veth->h_vlan_proto == htons(ETH_P_8021Q) &&
-	     dev->features & NETIF_F_HW_VLAN_CTAG_RX) ||
-	    (veth->h_vlan_proto == htons(ETH_P_8021AD) &&
-	     dev->features & NETIF_F_HW_VLAN_STAG_RX)) {
-		__be16 vlan_proto = veth->h_vlan_proto;
-		u8 meta_len = skb_metadata_len(skb);
-		u16 vlanid;
-
-		/* pop the vlan tag */
-		if (!pskb_may_pull(skb, VLAN_ETH_HLEN))
-			return -EINVAL;
-
-		veth = skb_vlan_eth_hdr(skb);
-		vlanid = ntohs(veth->h_vlan_TCI);
-		memmove(skb->data - meta_len + VLAN_HLEN,
-			skb->data - meta_len, meta_len + ETH_ALEN * 2);
-		skb_pull(skb, VLAN_HLEN);
-		__vlan_hwaccel_put_tag(skb, vlan_proto, vlanid);
-	}
-
-	return 0;
-}
-
 static bool stmmac_rx_need_ic(struct stmmac_priv *priv,
 			      struct stmmac_rx_queue *rx_q, u32 queue)
 {
@@ -5626,15 +5606,11 @@ static void stmmac_dispatch_skb_zc(struct stmmac_priv *priv, u32 queue,
 	if (priv->hw->hw_vlan_en) {
 		/* MAC level stripping. */
 		stmmac_rx_hw_vlan(priv, priv->hw, p, skb);
-	} else if (stmmac_rx_vlan(priv->dev, skb)) {
-		dev_kfree_skb_any(skb);
-		priv->xstats.rx_dropped++;
-		return;
 	}
 
 	skb->protocol = eth_type_trans(skb, priv->dev);
 
-	if (unlikely(!coe) || !stmmac_has_ip_ethertype(skb) ||
+	if (unlikely(!coe) || !stmmac_has_ip_ethertype(priv, skb, false) ||
 	    (status & csum_none))
 		skb_checksum_none_assert(skb);
 	else
@@ -6142,15 +6118,12 @@ static int stmmac_rx(struct stmmac_priv *priv, int limit, u32 queue)
 		if (priv->hw->hw_vlan_en) {
 			/* MAC level stripping. */
 			stmmac_rx_hw_vlan(priv, priv->hw, p, skb);
-		} else if (stmmac_rx_vlan(priv->dev, skb)) {
-			dev_kfree_skb_any(skb);
-			rx_dropped++;
-			goto next;
 		}
 
 		skb->protocol = eth_type_trans(skb, priv->dev);
 
-		if (unlikely(!coe) || !stmmac_has_ip_ethertype(skb) ||
+		if (unlikely(!coe) ||
+		    !stmmac_has_ip_ethertype(priv, skb, false) ||
 		    (status & csum_none))
 			skb_checksum_none_assert(skb);
 		else
@@ -6429,7 +6402,7 @@ static netdev_features_t stmmac_fix_features(struct net_device *dev,
 	if (priv->plat->bugged_jumbo && (dev->mtu > ETH_DATA_LEN))
 		features &= ~NETIF_F_CSUM_MASK;
 
-	if (priv->plat->core_type == DWMAC_CORE_XGMAC) {
+	if (stmmac_rx_8021ad_offload(priv)) {
 		if (features & NETIF_F_HW_VLAN_CTAG_RX)
 			features |= NETIF_F_HW_VLAN_STAG_RX;
 		else
@@ -6462,7 +6435,7 @@ static int stmmac_set_features(struct net_device *netdev,
 			stmmac_enable_sph(priv, priv->ioaddr, sph_en, chan);
 	}
 
-	if (features & NETIF_F_HW_VLAN_CTAG_RX)
+	if (features & (NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_STAG_RX))
 		priv->hw->hw_vlan_en = true;
 	else
 		priv->hw->hw_vlan_en = false;
@@ -8275,15 +8248,17 @@ static int __stmmac_dvr_probe(struct device *device,
 	ndev->features |= ndev->hw_features | NETIF_F_HIGHDMA;
 	ndev->watchdog_timeo = msecs_to_jiffies(watchdog);
 #ifdef STMMAC_VLAN_TAG_USED
-	/* Both mac100 and gmac support receive VLAN tag detection */
-	ndev->features |= NETIF_F_HW_VLAN_CTAG_RX;
-	if (priv->plat->core_type == DWMAC_CORE_XGMAC)
-		ndev->features |= NETIF_F_HW_VLAN_STAG_RX;
-
-	if (dwmac_is_xmac(priv->plat->core_type)) {
+	if (stmmac_rx_8021q_offload(priv)) {
+		ndev->features |= NETIF_F_HW_VLAN_CTAG_RX;
 		ndev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
 		priv->hw->hw_vlan_en = true;
 	}
+
+	if (stmmac_rx_8021ad_offload(priv)) {
+		ndev->features |= NETIF_F_HW_VLAN_STAG_RX;
+		ndev->hw_features |= NETIF_F_HW_VLAN_STAG_RX;
+	}
+
 	if (priv->dma_cap.vlhash) {
 		ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER;
 		if (priv->plat->core_type == DWMAC_CORE_XGMAC)

-- 
2.56.1
Technical Details
Message-ID: <20261125-stmmac-rx-mb-v13-2-0f6bac53e8d5@oss.qualcomm.com>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371426-linux-kernel-netdev=dewy.ru
References: <20261125-stmmac-rx-mb-v13-0-0f6bac53e8d5@oss.qualcomm.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371426-linux-kernel-netdev=dewy.ru
From: lorenzo.bianconi@oss.qualcomm.com (Lorenzo Bianconi)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v13 2/5] net: stmmac: remove software VLAN tag
 stripping
Date: Wed, 25 Nov 2026 15:48:47 +0100
Organization: Usenet Network
Message-ID: <20261125-stmmac-rx-mb-v13-2-0f6bac53e8d5@oss.qualcomm.com>
References: <20261125-stmmac-rx-mb-v13-0-0f6bac53e8d5@oss.qualcomm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="233198"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:uYUTEabb4khfeKD5SjbvMkD5jLw= sha256:WcnaXcJ8jby19n3ORsVHTFhMmziiX5xU0DFhBh6t+YE=
	sha1:C+O4oqJVz1kUMGwImrmwkncTHJc= sha256:YS55SD2D1yCjU1+wlBal6ZIpEK7bEbuUFH0wXPA2Lxk=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id C7709125E70; Wed, 25 Nov 2026 17:49:51 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=qualcomm.com header.b=TOdwFPyo; dkim=pass (2048-bit key)
	header.d=oss.qualcomm.com header.b=fJkI4DnI
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id soGor9kWB5vT;
	Wed, 25 Nov 2026 17:49:48 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-371426-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=oss.qualcomm.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 6B69E125E74; Wed, 25 Nov 2026 17:49:34 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 51A813FD00; Wed, 25 Nov 2026 14:49:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1795618160;
	b=vn3oqdHFG0Okne6G3GVmjrFtA6Pq5/XuIA/UnbdWRaoQPEWFoOoiOtb++0i0kcbJSd+x
	 LIalmyG89z1GM65kMIOpxcOlR7E9SqLZrZgaOnWBME+CITBD+utEsDOAtpkpDTEZoPWyO
	 isFs22OhNUAcr2kvwxv3TIpGWP0iypPysiOxFKhNt7yHrFBbeOUrmLu5NhERJcLmJLyyz
	 bBuPtmpUUREzv8I3Q6cT480rNB1K45V6qN7IQwNs8kOKuDK4orEx3RpTGF9+orqDAcHqF
	 TtRZriPLTVzpb94dwkeRcFdj1F/6pPg02jekWrU4932D3RpqvF1wEYbEGzYtADY1nUQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795618160;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:Received:
	 Received:DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:
	 X-Gm-Gg:X-Received:X-Received:Received:From:Date:Subject:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Content-Transfer-Encoding:Message-Id:References:In-Reply-To:To:Cc:
	 X-Mailer:X-Proofpoint-Spam-Info:X-Proofpoint-GUID:
	 X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Details-Enc:
	 X-Authority-Analysis:X-Proofpoint-Virus-Version:
	 X-Proofpoint-Spam-Details;
	bh=FG6F1MPd7/ppBGO8fakRa3Fq+vuHnKwphQ+D28uefl4=;
	b=FThKP4zTwG8JyooSfgRSiPKVX/vO+E+cFKDWk8zgqV8LGDlKJu5yAqmS3Tvx3PrXEWJe
	 mO0CiftNlfeEJ/cAb+By0eKlccFOGWq7DkPYoD10tHXNz1OIHf6xVmFEdakA4asitvBfa
	 Fi0rjJX/uRFnuvIo0LSoFlDjALfKdjTWeCqPyMFmc530hXM4EqvBWxYzih8Btswgf95hZ
	 GZAQd4ke7axTGQeB0CZebhiAX0VF8l3PvGRTc7mXttjzMoj3sdIJMIwHzW5yP4/h9rHmJ
	 apgjCfdgfoUVwib4rbXTJoxDu51ub5qbmcBN6QBTop3xSFey84pAbciIUwOOHZu4eYg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=TOdwFPyo;
	dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=fJkI4DnI;
	dmarc=pass header.from=oss.qualcomm.com;
	spf=pass smtp.mailfrom=oss.qualcomm.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D482606A681;
	Wed, 25 Nov 2026 14:49:20 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=TOdwFPyo;
	dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=fJkI4DnI
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795618159;
	b=ib/k3LzoMCCBH6GymHkPw8/zvRR42oSbM6ALdA+MYDGZyqWTjQFhGdXOvjQuyg6MVbWL
	 j2loYuEjLolEfL32iBzdVCtdC3ZmAFwEG29FnifdGwsCLNfB7dLOtyKwyQGFybDpk6G6V
	 sAdISkkOfCbDvlfeS6/s9JCsM5v1kM/NBLE+6uZUxX9PD+AWPhVGKMw7uCRS2JJtof72a
	 MXJS2/P+AE/p09Aa+pGMTZqsFklVE+Yq+IowXfp2gQkU682EVbYbTkqXaAvuZ5LR6K/jp
	 f2CuywcEOadQUDLNxI4bGn2/HIKwjJMqxoKLOfxDCILmj/wRZ4zMiLZwzTVXuJ0PGWw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795618159;
	h=DMARC-Filter:Received:DKIM-Signature:Received:Received:
	 DKIM-Signature:X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:
	 X-Received:X-Received:Received:From:Date:Subject:MIME-Version:
	 Content-Type:Content-Transfer-Encoding:Message-Id:References:
	 In-Reply-To:To:Cc:X-Mailer:X-Proofpoint-Spam-Info:X-Proofpoint-GUID:
	 X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Details-Enc:
	 X-Authority-Analysis:X-Proofpoint-Virus-Version:
	 X-Proofpoint-Spam-Details;
	bh=FG6F1MPd7/ppBGO8fakRa3Fq+vuHnKwphQ+D28uefl4=;
	b=jjUKfRWrymuDitNVC8bYLbIDzG6ewuuoLUvExDu3hRgzYmgbN6wD2qa+enQEEillMWQy
	 s1SXcoS1kLgZiyH9qaYElYpmdCiqV2p6nI2qJ3lhcS3OhAyHzkadZSkquazqaAKeyUqgn
	 bA1cc1qqslhydizJuYCSyCe8AtLX74FHJKuwjNluBMxOk1THUSTN3V8e5lZkdI4oryj45
	 NDDGDafu91RBDRXwQ6AhTDCueZnYGvT5/3HnDVESgRYbzAADFThgaTCei0LmN6C0f+Uf/
	 31LGI/is+loenq5+q0TXK1whQOnsT2Aa20JTb0EcSPLEIrPAvqc1VbJ+k2AVDFwDqiA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=oss.qualcomm.com;
	spf=pass smtp.mailfrom=oss.qualcomm.com;
	dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=TOdwFPyo;
	dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=fJkI4DnI;
	arc=none smtp.remote-ip=205.220.180.131
X-Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id C511E606A337
	for <netdev@vger.kernel.org>; Wed, 25 Nov 2026 14:49:18 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C511E606A337
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com
X-Received: from pps.filterd (m0279868.ppops.net [127.0.0.1])
	by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6APEMJX2175493
	for <netdev@vger.kernel.org>; Wed, 25 Nov 2026 14:49:18 GMT
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=
	cc:content-transfer-encoding:content-type:date:from:in-reply-to
	:message-id:mime-version:references:subject:to; s=qcppdkim1; bh=
	FG6F1MPd7/ppBGO8fakRa3Fq+vuHnKwphQ+D28uefl4=; b=TOdwFPyoO11pw1pY
	UEendRjrLm/jA/GjCcHwvSvef7PvzP3VkIwf0KUdUEuQV0l6ScAi/NvEZRgazsbg
	MVMN87Gq0ql8iOmMQOSiFv/JQd6j2RDFZhtk+uiws3tNkjT52M2q4pRZP8Piru5p
	buCTkGSl8PBLX5D20JM1EJURpk/OPjz3pyMArxexJ9OSZo0fec9G/Vf4wM2U76AC
	o/3jnL3EsgbshcaQxSNfTDK5zMmcTD2YyG0mUCZkStbaas2OGqykvrHX5bDjhdr0
	OUv6tpco/DPt0okNC4UiM3XNbe4Clzq1Afq04OFurqJGrgrhgIeW67JERf3o7PT2
	7ZHmBw==
X-Received: from mail-yw1-f200.google.com (mail-yw1-f200.google.com [209.85.128.200])
	by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j5vv2sa9n-1
	(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)
	for <netdev@vger.kernel.org>; Wed, 25 Nov 2026 14:49:17 +0000 (GMT)
X-Received: by mail-yw1-f200.google.com with SMTP id 00721157ae682-8b3b74c495dso87449757b3.0
        for <netdev@vger.kernel.org>; Wed, 25 Nov 2026 06:49:17 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=oss.qualcomm.com; s=google; t=1795618157; x=1796222957; darn=vger.kernel.org;
        h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
         :content-type:mime-version:subject:date:from:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=FG6F1MPd7/ppBGO8fakRa3Fq+vuHnKwphQ+D28uefl4=;
        b=fJkI4DnIU+MDOg7Ze0PZeRBOzMi6bPgG/IYpBzgyniSkJLtxOPSNeqHHodGxjbOMy9
         srghNrn/ALFStapRGJ83QDLwKE0Y5GIvczNoV2JqCXog9f4YS5wkCZJyTaKDoRUVA3aQ
         xxz1pYfxVcSmhXwCSM3DIo4JYUKblnQw7MhkYgzLMPxj29er7tdfC9os/2r4Ddh0paWm
         tTNfH6Lk1UkDKeJAP6AB1JcZczlGjjoHpFrfo5P7GrE5ocfnJeosrhRnXEpsnx3NdN0c
         ctstbB+RDUVlytjAP5lAeXDRy+srpUC0q5TR2jfhQeZJawIPIJBghFVpiH2kPb0giU95
         LH5g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1795618157; x=1796222957;
        h=cc:to:in-reply-to:references:message-id:content-transfer-encoding
         :content-type:mime-version:subject:date:from:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=FG6F1MPd7/ppBGO8fakRa3Fq+vuHnKwphQ+D28uefl4=;
        b=jTK1jFmrOYywW0sbA5YKkHKyFX2oCcBT26g74FBisEtaWkpLlNcUaX4rctzdNJQwuY
         T99CjVHaMb5gD7KstMTjgsXoS7utxrXdFohOTuV9OxM92Xj5ueh8xwUn5d51ruOHUsuS
         EhKjEDmi4DhNxxF4LJE1Pk350hEDAesAKSmwJ/4sO0PwlrAVR8f0tkYv+577JU5Ysm+t
         p3yGCN7XJOr3NP7qN6rWy4n6wvapKwWnE+Q5Iw9W7Kn2AOM/GrkEq1PUuSO+Qsjf3Gcc
         ed5DWdzrmNrklr8UfDF0e9/wUNNfIuGCQTjXNhU/Rb+C9vU6WFjQghOCJM9OzogZedJA
         WZtw==
X-Gm-Message-State: APuU4Z+nXxJKoyO0BaGE9fGXt/PJOhkTd3eqHpNZW+iDA2kJRilRj1Ph
	+qGlDZoZNu7csa/u73VY9rCKyeDmypmMtVBUfNjlYVtgKKIjI/2NITJVpiFUnSVE5bJTmhDtwGD
	KYva2K5PzQmb/iu6JY0+u4C0aV76PKfFjA2wp2RjCMVcKQ25oXgMA5ZmVN5c=
X-Gm-Gg: AZFdTZeyDWRXVxk1sGhyPQuuRWnGuSdX9I7Qj+W/HqqYiLpIovfA/US3vgYrBvGMDhy
	0Yu8uLrKafSE+BkoK5BsqCIdlDpEt9cqx55VMEI8q5KXJ0Kzu01aO8UpOhlOqYgP0PQQ2hQKTED
	B91ylicYt8Cb5Zjo603BzXUhFUkfwt9BC5OZTuHdOYoQjuca9hJdI/Y2E33VgKfan6bYXW8BGw1
	j8ZVmuq0sc3XFVKOlzJUxWdQdUavkD40WlfLX42OOsb9dlu2A2XCS8vhaxn0twJgmzUb1PbYgGB
	p5yjIVccUbdlHCMcYUwoLhsztdRre9Lbwv/RIfavt3mIHw5mwQnbYicIQ7JtuUfm7SkHxHLzunv
	WSP1tOKiAN6mtjFAmBP1JRHv1i0rNe1w6TWkbCbJK8VEATykDDlbWZ4YLY64m/NY=
X-Received: by 2002:a05:690c:61c4:b0:8b4:d554:3245 with SMTP id 00721157ae682-8b520435e12mr61349217b3.26.1795618156812;
        Wed, 25 Nov 2026 06:49:16 -0800 (PST)
X-Received: by 2002:a05:690c:61c4:b0:8b4:d554:3245 with SMTP id 00721157ae682-8b520435e12mr61348857b3.26.1795618156087;
        Wed, 25 Nov 2026 06:49:16 -0800 (PST)
X-Received: from localhost ([188.152.73.83])
        by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6baa3c4dsm29175679f8f.46.2026.11.25.06.49.15
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Wed, 25 Nov 2026 06:49:15 -0800 (PST)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261125-stmmac-rx-mb-v13-0-0f6bac53e8d5@oss.qualcomm.com>
X-Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
        bpf@vger.kernel.org, Peilin He <he.peilin@zte.com.cn>,
        Lorenzo Bianconi <lorenzo.bianconi@oss.qualcomm.com>
X-Mailer: b4 0.14.3
X-Proofpoint-Spam-Info: AW1haW4tMjYxMTI1MDA1OCBTYWx0ZWRfX36mYfb4/04Ft
 hqMD9ojSx63plwsIFyp8qs7O3RBFHY9eZSq7Mqxruog8LTAWPecMqazu66zvLGHflx5t3b6ihhE
 IyoigDeH1myeGjzZ4ptBFUaHl3xzPYg=
X-Proofpoint-GUID: wgMhDO2ORyuW4ckYBCDGOXenRMo8lVI2
X-Proofpoint-ORIG-GUID: wgMhDO2ORyuW4ckYBCDGOXenRMo8lVI2
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTI1MDA1OCBTYWx0ZWRfX3ytah5r/WrXQ
 0mlJFmUims1OOqEtmuZEHTPjpf3Oln15wKtYg9oea2tzRJ0Q6AEWvfJA6w40fz3oe+R3tj+Kj4e
 OgjILVw2bDkJvR2OZrnQ+DTiFMfsHfkODETbqgTDTIOLxKBqgBCCPz+uX9Odv/vN56bAExvkDyI
 EhAW6HGVsd9ODiDdpqj6plSz0IYzuz0nxPZ6jJiVDC39/aP87ZVklAJ76rIgReogmNlGDCkU14j
 f2TKAL/DZCozLLgza4HPuiY4AZKty10ZZEj6Fes3KYYRMPFQR4sLHO0tgliu6IaTA3SorFy0qB0
 nlBfBZj0awcl2yuNPhpPrfBl/PQNehiTdUXbozdPSYzWXJI/Ydu+UAbRGUFxF7EbH6bod0W0mr2
 1GaJyNiSq2jkI1LB7O0ONCNz/rzOn/VI3o4ZomrMkM5r9haxZVhY3huc1BjAz/EYxwE+LMtDai/
 sF+5WHjstaV9P8a/0vw==
X-Authority-Analysis: v=2.4 cv=A/z5rKWG c=1 sm=1 tr=0 ts=6b06f56d cx=c_pps
 a=NMvoxGxYzVyQPkMeJjVPKg==:117 a=mlS0om9xteqVCAF/aDpb2g==:17
 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10
 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22
 a=P-IC7800AAAA:8 a=1RTuLK3dAAAA:8 a=EUspDBNiAAAA:8 a=EH79fr7-9Oi-GOabCPsA:9
 a=QEXdDO2ut3YA:10 a=kLokIza1BN8a-hAJ3hfR:22 a=d3PnA9EDa4IxuAV0gXij:22
 a=kRpfLKi8w9umh8uBmg1i:22
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49
 definitions=2026-11-25_04,2026-11-23_01,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
 clxscore=1015 lowpriorityscore=0 priorityscore=1501 impostorscore=0
 suspectscore=0 bulkscore=0 adultscore=0 malwarescore=0 phishscore=0
 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound
 adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001
 definitions=main-2611250058