Article View: linux.kernel.netdev
Article #26883[PATCH net-next v14 2/5] net: stmmac: remove software VLAN tag stripping
From: Lorenzo Bianconi
Date: Fri, 04 Dec 2026 10:44
Date: Fri, 04 Dec 2026 10:44
277 lines
26365 bytes
26365 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 by 'commit 534df0c1724b
("net: stmmac: dwxgmac2: Add support for HW-accelerated VLAN stripping"),
which widened the RX VLAN offload gate from GMAC4 to all xmac cores but
only added .rx_hw_vlan to dwxgmac210_vlan_ops. DWXLGMAC is also
DWMAC_CORE_XGMAC, and dwxlgmac2_vlan_ops has no .rx_hw_vlan, so it ended
up advertising RX VLAN offload while neither hardware nor software
stripped the tag. Tag the fix accordingly.
With NETIF_F_VLAN_FEATURES possibly empty, stmmac_phylink_setup() may
now allow the PHY to stop the RX clock in LPI on cores that no longer
advertise any VLAN feature, for example dwmac1000 with EEE and DWXLGMAC
without vlhash/vlins. The MAC needs RXC running for some register
accesses, including the MAC address and filter registers written by
stmmac_set_rx_mode(). That callback runs with bottom halves disabled and
cannot use phylink_rx_clk_stop_block(), so a multicast, unicast or
promiscuous update could be lost while the clock is stopped.
This is not a new failure mode: the same window already exists with
CONFIG_VLAN_8021Q=n and existed before 'commit c171e679ee66 ("net: stmmac:
Disable EEE RX clock stop when VLAN is enabled"), whose VLAN feature
check only guarded it incidentally. dwmac100 is unaffected because it
has no EEE.
This will be addressed by a dedicated follow-up patch that decouples the
EEE RX clock-stop policy from the advertised VLAN features and makes the
atomic register accesses safe. The preceding selftests patch already
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>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
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 | 87 ++++++++---------------
2 files changed, 42 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 b3524d46863d..c429cb9e1ccb 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
@@ -4885,7 +4885,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.
@@ -4893,16 +4895,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));
}
/**
@@ -5159,7 +5170,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)) {
@@ -5181,37 +5192,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)
{
@@ -5632,15 +5612,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
@@ -6148,15 +6124,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
@@ -6435,7 +6408,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
@@ -6468,7 +6441,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;
@@ -8282,15 +8255,15 @@ 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;
+
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:
<20261204-stmmac-rx-mb-v14-2-5506796fd39e@oss.qualcomm.com>Path:
mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377263-linux-kernel-netdev=dewy.ruReferences:
<20261204-stmmac-rx-mb-v14-0-5506796fd39e@oss.qualcomm.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-can.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377263-linux-kernel-netdev=dewy.ru
From: lorenzo.bianconi@oss.qualcomm.com (Lorenzo Bianconi)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v14 2/5] net: stmmac: remove software VLAN tag
stripping
Date: Fri, 04 Dec 2026 11:44:45 +0100
Organization: Usenet Network
Message-ID: <20261204-stmmac-rx-mb-v14-2-5506796fd39e@oss.qualcomm.com>
References: <20261204-stmmac-rx-mb-v14-0-5506796fd39e@oss.qualcomm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="2743624"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:a0XcEqD8Z5CW2vuVMDmXIqNpUsU= sha256:/QZMyeUqAmEDgaHqTD2uUtGtJyHDohs9AtuxwTY/No0=
sha1:oTDPJnVIkKJM168GGpMbXFHuSb0= sha256:lnlA7GNoFVfo1ze1ILX1qPdTr7lDLOK4RcbxgWOK9sw=
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 52BE7117BB2; Fri, 4 Dec 2026 13:45:42 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.398
X-Spam-Status: No, score=-3.398 tagged_above=-9999 required=6.31
tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
HEADER_FROM_DIFFERENT_DOMAINS=0.001, 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=KpuY8Nbv; dkim=pass (2048-bit key)
header.d=oss.qualcomm.com header.b=Xtvw+5Q+
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 BJ7JjuIIJcvk;
Fri, 4 Dec 2026 13:45:40 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-377263-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id BA819117BAD; Fri, 4 Dec 2026 13:45:26 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by tor.lore.kernel.org (Postfix) with ESMTP id EF805292DE; Fri, 4 Dec 2026 10:45:14 +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=1796381112;
b=c/rW/P4ujEq0dFQSXMYF8hazsS+qv9snBjbFxijsovTosB27ORxRQRhrVpnHXUlGiIXA
njgVH9A4KPZNobC4n3BiptQnYS8xWohjys3/nkehLNmKur8UzxjK00Zw1idEoczKYIh5u
TdxtkcCfzeD2PbHA7LfLeJdvW35H3ybe0wIXCk65uNAMNNZeUW0TYo/fEK6MG2WhuLvxw
YwYEAX5VKX9yb/2fRqJJ3UDU5qEmTYTobL0jAi5MjJ9PO9hzHsPLvfS7EIxsgaxqmRAXh
RfxHy37KIpHN9XQa46cS0xZs7yuajpRLcU/A9RCWA3Z/aFILe7IDmoJnzHzxFVNuKdg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796381112;
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-Details-Enc:X-Authority-Analysis:
X-Proofpoint-Spam-Info:X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID:
X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details;
bh=mgbz1q3pRQfasFEpJPo6OtDPcbe+iIlfZGZWozfAZ8A=;
b=QzOAdS99fjPMz2xJnQ9lNvrp7pajNt2Z4O9P0W5CrUX8LaF7s2yXHxvpATDIlSfgYFAz
aZ6Zk46zoTGMeHDXAmIeUKhglk45grx86Ymy6o0/fg7yxa/S/SLIUDriPHnEpS0l+He98
ffAK7I75t3j9HzR09OlQ1aiS2TKLRviSkKdyUa8oWGEGITLJK+p3pjjDVHUGt73My6Wua
tJTYlzANCccKKTfD+cd60gx4HQNuXw1XF3l8Y3AIl+fqqtwUXAXWeTfm8eq1EfuI7YTGN
DiQ62DlyXpiFdRBYJs6Mq513MgTRzDxn1vMFXe82fAkF0CCMIx602zd4TvX5jtY1VpQ==
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=KpuY8Nbv;
dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Xtvw+5Q+;
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 DA2B2606A33D;
Fri, 4 Dec 2026 10:45:12 +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=KpuY8Nbv;
dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Xtvw+5Q+
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=1796381112;
b=fnkaV72Wio2P8NxJdM85IO55XTUe2Blt/R3/NnjCXbRdR6Zs+DyZr9QVHgZ2ViKVy9El
DEGG63V40CON1LU8pOm7X3LxEceP9p7hCWC/yNNQyY1UAHGekMTyx5Tr9gb2kVUDsEJk3
1EtMUc2uhEDK6B2MhpPVTCJ4v1q20V8BJWx7tQDfK0nz2OUCINzpv9oXZLyU5UDJW+oty
zcQqFolMrYaNnq0HBrV70VkX8oWgJ16XLKggFkth4yuSGwHGBLQT4O876NOGBXcfv7wzO
7AZDLy4IJ3fJkEhu8CUiC3FanY3p07EWLxAoYSNUJHjBQPxomw0iyB6MY2Y07+m99ZQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796381112;
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-Details-Enc:
X-Authority-Analysis:X-Proofpoint-Spam-Info:X-Proofpoint-ORIG-GUID:
X-Proofpoint-GUID:X-Proofpoint-Virus-Version:
X-Proofpoint-Spam-Details;
bh=mgbz1q3pRQfasFEpJPo6OtDPcbe+iIlfZGZWozfAZ8A=;
b=RIKd3tczlLiih2dWiUpuAQdFgcvUuqtFbYTURYSImZOl6ugb5BGid40E8iDC8hGtXX1y
F437Q/DYSLTDAwMpnCWMgo0NYl9ymqbqIf0u12sd+Cb6KKEb06pCYGykWtx9x/eMaHZvr
4Nnyb+oOsjAfln2S2W2JIWqT4XXA8VwrP7CedJOQOnQUbZIZ8KarT6PuAWb/6RINsl3jm
8lN8T+btYlobJTOYndu++Uuoe1gWBKO/bR94rRFnFHcw9maM58VRn+z8dmioJbQbNIAH3
pQffmOQ7dsz0opTR6DDZqeIR6TdfxEk98OouybHOK8vmFWnyE+mTzyZULVwjDNNBVhw==
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=KpuY8Nbv;
dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=Xtvw+5Q+;
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 7B4E3606A333
for <netdev@vger.kernel.org>; Fri, 4 Dec 2026 10:45:11 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7B4E3606A333
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 (m0279873.ppops.net [127.0.0.1])
by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B45GJHb053351
for <netdev@vger.kernel.org>; Fri, 4 Dec 2026 10:45:10 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=
mgbz1q3pRQfasFEpJPo6OtDPcbe+iIlfZGZWozfAZ8A=; b=KpuY8NbvSt99tLRp
ouXwo8LbMo3zjjGYlhNNBhMW5HpH7zGDjj3edl8w1hrSd11AtqTqrMxxqwtyiA8g
aN0E+yTYxl4izOw6COf1A5jz+YCCCht4kHV0Hlnz7nkZARPE5VK8szZ8UdJrV+/3
SmkB0Z4pz1Mf24089N7dnQBYlEVM1O4QTXPzC6CARQylaiI59AhNU8VOBdxtP6cS
9YZCguhda5q/N/yGHUQ6wpCXEljig9F/B/CMUE7de1z9VrzCMZ8eol03hzsM+Aoq
0IBEFc1ybGL516oWSbO2wZy70OL5KjdrRquqCPnQFikInkiz+rbywVyIwiRseXAM
av/A0A==
X-Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72])
by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jbq7pryhy-1
(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)
for <netdev@vger.kernel.org>; Fri, 04 Dec 2026 10:45:10 +0000 (GMT)
X-Received: by mail-vs1-f72.google.com with SMTP id ada2fe7eead31-7d2eba206f4so704120137.0
for <netdev@vger.kernel.org>; Fri, 04 Dec 2026 02:45:10 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=oss.qualcomm.com; s=google; t=1796381110; x=1796985910; 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=mgbz1q3pRQfasFEpJPo6OtDPcbe+iIlfZGZWozfAZ8A=;
b=Xtvw+5Q+px3jRA62esFrUj0d41QGScNa4E+LsiOiIOlxu7gfO2AdzlW7E3DDYnoG/Y
DZU+lNMvbAzEQH+MNanTEQ4iasVTVqXqHF5dZWcbjhiGlJ2phzKeJT1V+0gsxYx8xdeg
iUwzBV43HFYrtyvST+WNOC5h9iy8QyuKe692KB9E5wmgHP3VWwxo/LFAbFuIvT+Nod1T
KwIm9iNoFW1Kz60saRTD9R/WTi/7jFZ1IEkwdwHkGVffj0tpUKe0NMQCTnre666ZTj0/
0+b9ydicJAiCQxuLKsMTEkt9RzvcYafpQo73DC6LNbMvs3r5ooNg6VDEV2Mqb6N++YQn
1/RA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796381110; x=1796985910;
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=mgbz1q3pRQfasFEpJPo6OtDPcbe+iIlfZGZWozfAZ8A=;
b=ymXD2AHMxeFPVU9Nq3U0xuyx3WGwknRz/5tm7ieYseWCvUcTaRXtOmmVOWeylRq7Vs
lVGei952YZoW/MYR4bzg8no1AurzYVzyoNEmQBFFluZ6o3zoQ6voopdAvzwmIVrS9Zpv
vr+P5OO96jgjwW5+bQ5NfX+SWxSDNAaCSmmJr9S7HXLLMBonjapq8wewHH4aEOLgOyjQ
7gfcyVbUyYvosTshmZS/5cZAwpzkTdyOAjeZ84Du6mAgeYj6Db2JWxrndDiRO7q0Jfve
miizQ/2h73F+6xkrEvum33xrg4Q77ZGMJuH25gWMu0wwJf3wA1wLE9KPYKf5AI7gu7+D
M7Lg==
X-Gm-Message-State: APuU4Z8xp3zv3KlKmFho365eh1Q+F9tIse1VQYrTUeWWaftwXDNgAPSq
akyjQWCm9DBJSwJ67Oc6Z6s64Mq2btEWm+tEb9eqizsxzhpDS1MO5oV09hr4c31tp2sMV+E8XPP
cm2yw1s2io7yuzv++uIhhMV33ENtmcnrh3mWk3UoiTmf9WErEPBePZedifxE=
X-Gm-Gg: AZFdTZfaNNfclvpkbSGQJss30Oo1NdLt6o0M2FSQ8J4Vi7rkjgSajss7PQJ8LTrp9d5
hpKWD/CwmdoDGXTIn7DmBIN3RlHCNu0MY1BWsx4Lw9lrPKXZ6vQYyMYIIeAPIEuza361jF0K7Ah
56OkemvK2zAHVpgcENPcGrsleQQmTBOaj9LbxNlu9xRsLh1GFlheKeobOnU6y5IuNNjpeGeylz2
32qLX2Skot6dcO2kLJhTDs7ln9cugJvBzS9G6ZHEU922oSrduXjbkLcE0J3hq0bbJ3DOwWHIGkz
hfj0PepXP/Xjxn57wBZC6TW2DJ5x6H8rmrDvuoMLzEJ47ToJCum4H4KCZZMBbO1Db3MWQQku12U
GLAMiILUKMMF4uyBJhDSiSLXqCXhVncFEOcdBGfnvUDENt1ktQUJ+VSeyReq1bDM=
X-Received: by 2002:a05:6102:1a1a:b0:7cc:828b:421b with SMTP id ada2fe7eead31-7daec79ceb9mr878675137.6.1796381109429;
Fri, 04 Dec 2026 02:45:09 -0800 (PST)
X-Received: by 2002:a05:6102:1a1a:b0:7cc:828b:421b with SMTP id ada2fe7eead31-7daec79ceb9mr878644137.6.1796381108845;
Fri, 04 Dec 2026 02:45:08 -0800 (PST)
X-Received: from localhost ([130.25.105.85])
by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4d2e8886eb1sm1301917f8f.1.2026.12.04.02.45.05
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 04 Dec 2026 02:45:06 -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: <20261204-stmmac-rx-mb-v14-0-5506796fd39e@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-Details-Enc: AW1haW4tMjYxMjA0MDA0MiBTYWx0ZWRfX6O4esUZfg32i
gn6MgV0t5rUdUIlDulN+lga+Xvu+tY3Js7ICH4hIMyFCXJ/HBJiEQf6yXgaJfKzTpNBVaAUDlS2
PkOXOrfZ6hIoD5C4tjfan2tAkV1OKm0N70ux3ooF2s4w73YegqbmkcfpvqmojaAplClxuayFWEj
skta9JMQ0dGojT7hIl3aXNGw1ogs7sysmIRoO3XITDfl5Bbum/AY33ph1CWOvM02Utvp2I0ED1t
ghSJs4AMXpUUm5DnWKyBF3+caX0bDL0zerJtyUSrtXzpimSYPvquQVRRJ07oEGbxMbR8C8CI78W
SucwXB3QorRrFqtngauf8WZS9mYBVfQUeVbwEeEXXi/OChNndQvff4Q60geFNyfCxzm9/WrNvYe
NyUvkUWlGCFBvaAbHrlCx7yNZnYYpKcUy7uY/EPIj/u+k/Xyq3sp9vdzCwSSp+WgqHnuaNkB4UZ
Wy8eQaN0Fv15o+TooXQ==
X-Authority-Analysis: v=2.4 cv=DMUacCNb c=1 sm=1 tr=0 ts=6b1299b6 cx=c_pps
a=DUEm7b3gzWu7BqY5nP7+9g==:117 a=RcFDq6c+avmIvxkL9iwlxA==:17
a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10
a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22
a=P-IC7800AAAA:8 a=1RTuLK3dAAAA:8 a=EUspDBNiAAAA:8 a=wRp-JzvFvnaKwdOgAwcA:9
a=QEXdDO2ut3YA:10 a=-aSRE8QhW-JAV6biHavz:22 a=d3PnA9EDa4IxuAV0gXij:22
a=kRpfLKi8w9umh8uBmg1i:22
X-Proofpoint-Spam-Info: AW1haW4tMjYxMjA0MDA0MiBTYWx0ZWRfXxv2zXFsdaEvx
8nb4sWHIq5boWbKoprHntiCxTc+pGU5RfwEwRG97Bv3ZiglKesjROkqPAtu/lTBemJrs5JMsuJd
GuqZiPv1CgyMV12zHSfYRNWq/VT1vxU=
X-Proofpoint-ORIG-GUID: y9g8zPJjqyQ4dnaI6ownfTZigHuGZ-5M
X-Proofpoint-GUID: y9g8zPJjqyQ4dnaI6ownfTZigHuGZ-5M
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-12-04_01,2026-12-03_04,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
spamscore=0 impostorscore=0 suspectscore=0 phishscore=0 bulkscore=0
clxscore=1015 malwarescore=0 adultscore=0 lowpriorityscore=0
priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc=
route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001
definitions=main-2612040042