🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #24253

[PATCH net-next v23 05/15] net: phylink: make phylink_validate state locked

#24253
From: Christian Marangi
Date: Sun, 29 Nov 2026 23:05
475 lines
26974 bytes
In preparation for support for PCS release and late attach, rework the
phylink validation functions to run under the state mutex.

The PCS notifier can recalculate supported interfaces and capabilities
while phylink_create() or interface mode validation is running. Validation
can then see inconsistent state.

To handle this, make phylink_validate() and phylink_validate_mask() take
the phylink state mutex. Add __phylink_validate() and
__phylink_validate_mask() for callers that already hold the mutex, and add
lockdep assertions to the inner validation functions.

Update phylink_update_mac_pause_capabilities() to use __phylink_validate()
since it already holds the state mutex.

Take the state mutex when querying PCS in-band capabilities and when
applying the initial major configuration.

When validating an attached PHY, take the PHY mutex before the state
mutex and call __phylink_validate_phy(). Add __phy_get_rate_matching()
in phy-internal.h for callers that already hold the PHY mutex.
phy_get_rate_matching() takes that mutex before calling the same helper.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
 drivers/net/phy/phy-internal.h |  22 +++
 drivers/net/phy/phy.c          |  11 +-
 drivers/net/phy/phylink.c      | 238 ++++++++++++++++++++-------------
 3 files changed, 175 insertions(+), 96 deletions(-)
 create mode 100644 drivers/net/phy/phy-internal.h

diff --git a/drivers/net/phy/phy-internal.h b/drivers/net/phy/phy-internal.h
new file mode 100644
index 000000000000..56d87495e1f0
--- /dev/null
+++ b/drivers/net/phy/phy-internal.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+
+#ifndef __PHY_INTERNAL_H
+#define __PHY_INTERNAL_H
+
+#include <linux/lockdep.h>
+#include <linux/phy.h>
+
+static inline int __phy_get_rate_matching(struct phy_device *phydev,
+					  phy_interface_t iface)
+{
+	int ret = RATE_MATCH_NONE;
+
+	lockdep_assert_held(&phydev->lock);
+
+	if (phydev->drv->get_rate_matching)
+		return phydev->drv->get_rate_matching(phydev, iface);
+
+	return ret;
+}
+
+#endif /* __PHY_INTERNAL_H */
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 079c53516f42..a6d6a7c1a96d 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -38,6 +38,7 @@
 
 #include "phylib-internal.h"
 #include "phy-caps.h"
+#include "phy-internal.h"
 
 #define PHY_STATE_TIME	HZ
 
@@ -146,13 +147,11 @@ EXPORT_SYMBOL(phy_print_status);
 int phy_get_rate_matching(struct phy_device *phydev,
 			  phy_interface_t iface)
 {
-	int ret = RATE_MATCH_NONE;
+	int ret;
 
-	if (phydev->drv->get_rate_matching) {
-		mutex_lock(&phydev->lock);
-		ret = phydev->drv->get_rate_matching(phydev, iface);
-		mutex_unlock(&phydev->lock);
-	}
+	mutex_lock(&phydev->lock);
+	ret = __phy_get_rate_matching(phydev, iface);
+	mutex_unlock(&phydev->lock);
 
 	return ret;
 }
diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c
index 35e82cccd39a..141da617b24b 100644
--- a/drivers/net/phy/phylink.c
+++ b/drivers/net/phy/phylink.c
@@ -9,6 +9,7 @@
 #include <linux/ethtool.h>
 #include <linux/export.h>
 #include <linux/gpio/consumer.h>
+#include <linux/lockdep.h>
 #include <linux/netdevice.h>
 #include <linux/of.h>
 #include <linux/of_mdio.h>
@@ -24,6 +25,7 @@
 #include <linux/workqueue.h>
 
 #include "phy-caps.h"
+#include "phy-internal.h"
 #include "sfp.h"
 #include "swphy.h"
 
@@ -554,6 +556,8 @@ static int phylink_validate_mac_and_pcs(struct phylink *pl,
 	unsigned long capabilities;
 	int ret;
 
+	lockdep_assert_held(&pl->state_mutex);
+
 	/* Get the PCS for this interface mode */
 	if (pl->mac_ops->mac_select_pcs) {
 		pcs = pl->mac_ops->mac_select_pcs(pl->config, state->interface);
@@ -632,13 +636,15 @@ static void phylink_validate_one(struct phylink *pl, struct phy_device *phy,
 	__ETHTOOL_DECLARE_LINK_MODE_MASK(tmp_supported);
 	struct phylink_link_state tmp_state;
 
+	lockdep_assert_held(&pl->state_mutex);
+
 	linkmode_copy(tmp_supported, supported);
 
 	tmp_state = *state;
 	tmp_state.interface = interface;
 
 	if (phy)
-		tmp_state.rate_matching = phy_get_rate_matching(phy, interface);
+		tmp_state.rate_matching = __phy_get_rate_matching(phy, interface);
 
 	if (!phylink_validate_mac_and_pcs(pl, tmp_supported, &tmp_state)) {
 		phylink_dbg(pl, " interface %u (%s) rate match %s supports %*pbl\n",
@@ -652,15 +658,17 @@ static void phylink_validate_one(struct phylink *pl, struct phy_device *phy,
 	}
 }
 
-static int phylink_validate_mask(struct phylink *pl, struct phy_device *phy,
-				 unsigned long *supported,
-				 struct phylink_link_state *state,
-				 const unsigned long *interfaces)
+static int __phylink_validate_mask(struct phylink *pl, struct phy_device *phy,
+				   unsigned long *supported,
+				   struct phylink_link_state *state,
+				   const unsigned long *interfaces)
 {
 	__ETHTOOL_DECLARE_LINK_MODE_MASK(all_adv) = { 0, };
 	__ETHTOOL_DECLARE_LINK_MODE_MASK(all_s) = { 0, };
 	int interface;
 
+	lockdep_assert_held(&pl->state_mutex);
+
 	for_each_set_bit(interface, interfaces, PHY_INTERFACE_MODE_MAX)
 		phylink_validate_one(pl, phy, supported, state, interface,
 				     all_s, all_adv);
@@ -671,14 +679,30 @@ static int phylink_validate_mask(struct phylink *pl, struct phy_device *phy,
 	return phylink_is_empty_linkmode(supported) ? -EINVAL : 0;
 }
 
-static int phylink_validate(struct phylink *pl, unsigned long *supported,
-			    struct phylink_link_state *state)
+static int phylink_validate_mask(struct phylink *pl,
+				 unsigned long *supported,
+				 struct phylink_link_state *state,
+				 const unsigned long *interfaces)
+{
+	int ret;
+
+	mutex_lock(&pl->state_mutex);
+	ret = __phylink_validate_mask(pl, NULL, supported, state, interfaces);
+	mutex_unlock(&pl->state_mutex);
+
+	return ret;
+}
+
+static int __phylink_validate(struct phylink *pl, unsigned long *supported,
+			      struct phylink_link_state *state)
 {
 	const unsigned long *interfaces = pl->supported_interfaces;
 
+	lockdep_assert_held(&pl->state_mutex);
+
 	if (state->interface == PHY_INTERFACE_MODE_NA)
-		return phylink_validate_mask(pl, NULL, supported, state,
-					     interfaces);
+		return __phylink_validate_mask(pl, NULL, supported, state,
+					       interfaces);
 
 	if (!test_bit(state->interface, interfaces))
 		return -EINVAL;
@@ -686,6 +710,96 @@ static int phylink_validate(struct phylink *pl, unsigned long *supported,
 	return phylink_validate_mac_and_pcs(pl, supported, state);
 }
 
+static int phylink_validate(struct phylink *pl, unsigned long *supported,
+			    struct phylink_link_state *state)
+{
+	int ret;
+
+	mutex_lock(&pl->state_mutex);
+	ret = __phylink_validate(pl, supported, state);
+	mutex_unlock(&pl->state_mutex);
+
+	return ret;
+}
+
+static int __phylink_validate_phy(struct phylink *pl, struct phy_device *phy,
+				  unsigned long *supported,
+				  struct phylink_link_state *state)
+{
+	DECLARE_PHY_INTERFACE_MASK(interfaces);
+
+	/*
+	 * If the PHY provides a bitmap of the interfaces it will be using
+	 * depending on the negotiated media speeds, use this to validate
+	 * which ethtool link modes can be used.
+	 */
+	if (!phy_interface_empty(phy->possible_interfaces)) {
+		/*
+		 * We only care about the union of the PHY's interfaces and
+		 * those which the host supports.
+		 */
+		phy_interface_and(interfaces, phy->possible_interfaces,
+				  pl->supported_interfaces);
+
+		if (phy_interface_empty(interfaces)) {
+			phylink_err(pl, "PHY has no common interfaces\n");
+			return -EINVAL;
+		}
+
+		if (phy_on_sfp(phy)) {
+			/*
+			 * If the PHY is on a SFP, limit the interfaces to
+			 * those that can be used with a SFP module.
+			 */
+			phy_interface_and(interfaces, interfaces,
+					  phylink_sfp_interfaces);
+
+			if (phy_interface_empty(interfaces)) {
+				phylink_err(pl, "SFP PHY's possible interfaces becomes empty\n");
+				return -EINVAL;
+			}
+		}
+
+		phylink_dbg(pl, "PHY %s uses interfaces %*pbl, validating %*pbl\n",
+			    phydev_name(phy),
+			    (int)PHY_INTERFACE_MODE_MAX,
+			    phy->possible_interfaces,
+			    (int)PHY_INTERFACE_MODE_MAX, interfaces);
+
+		return __phylink_validate_mask(pl, phy, supported, state,
+					      interfaces);
+	}
+
+	phylink_dbg(pl, "PHY %s doesn't supply possible interfaces\n",
+		    phydev_name(phy));
+
+	/*
+	 * Check whether we would use rate matching for the proposed interface
+	 * mode.
+	 */
+	state->rate_matching = __phy_get_rate_matching(phy, state->interface);
+
+	/*
+	 * Clause 45 PHYs may switch their Serdes lane between, e.g. 10GBASE-R,
+	 * 5GBASE-R, 2500BASE-X and SGMII if they are not using rate matching.
+	 * For some interface modes (e.g. RXAUI, XAUI and USXGMII) switching
+	 * their Serdes is either unnecessary or not reasonable.
+	 *
+	 * For these which switch interface modes, we really need to know which
+	 * interface modes the PHY supports to properly work out which ethtool
+	 * linkmodes can be supported. For now, as a work-around, we validate
+	 * against all interface modes, which may lead to more ethtool link
+	 * modes being advertised than are actually supported.
+	 */
+	if (phy->is_c45 && state->rate_matching == RATE_MATCH_NONE &&
+	    state->interface != PHY_INTERFACE_MODE_RXAUI &&
+	    state->interface != PHY_INTERFACE_MODE_XAUI &&
+	    state->interface != PHY_INTERFACE_MODE_USXGMII)
+		state->interface = PHY_INTERFACE_MODE_NA;
+
+	return __phylink_validate(pl, supported, state);
+}
+
 static void phylink_fill_fixedlink_supported(unsigned long *supported)
 {
 	linkmode_set_bit(ETHTOOL_LINK_MODE_Pause_BIT, supported);
@@ -1005,6 +1119,9 @@ static unsigned int phylink_inband_caps(struct phylink *pl,
 					 phy_interface_t interface)
 {
 	struct phylink_pcs *pcs = NULL;
+	int ret = 0;
+
+	mutex_lock(&pl->state_mutex);
 
 	if (pl->mac_ops->mac_select_pcs) {
 		pcs = pl->mac_ops->mac_select_pcs(pl->config,
@@ -1021,9 +1138,14 @@ static unsigned int phylink_inband_caps(struct phylink *pl,
 	}
 
 	if (IS_ERR_OR_NULL(pcs))
-		return 0;
+		goto exit;
+
+	ret = phylink_pcs_inband_caps(pcs, interface);
 
-	return phylink_pcs_inband_caps(pcs, interface);
+exit:
+	mutex_unlock(&pl->state_mutex);
+
+	return ret;
 }
 
 static void phylink_pcs_poll_stop(struct phylink *pl)
@@ -1565,7 +1687,9 @@ static void phylink_mac_initial_config(struct phylink *pl, bool force_restart)
 	phylink_apply_manual_flow(pl, &link_state);
 	if (phy)
 		mutex_lock(&phy->lock);
+	mutex_lock(&pl->state_mutex);
 	phylink_major_config(pl, force_restart, &link_state);
+	mutex_unlock(&pl->state_mutex);
 	if (phy)
 		mutex_unlock(&phy->lock);
 }
@@ -2151,7 +2275,7 @@ void phylink_update_mac_pause_capabilities(struct phylink *pl, unsigned long mac
 	else if (pl->sfp_bus)
 		linkmode_and(pl->supported, pl->supported, pl->sfp_support);
 
-	phylink_validate(pl, pl->supported, config);
+	__phylink_validate(pl, pl->supported, config);
 
 	pause_state = config->pause;
 
@@ -2172,6 +2296,8 @@ static void phylink_parse_supported_interfaces(struct phylink *pl)
 {
 	struct phylink_pcs *pcs;
 
+	lockdep_assert_held(&pl->state_mutex);
+
 	phy_interface_copy(pl->supported_interfaces,
 			   pl->config->supported_interfaces);
 
@@ -2321,11 +2447,12 @@ struct phylink *phylink_create(struct phylink_config *config,
 	if (ret < 0)
 		goto free_pl;
 
+	mutex_lock(&pl->state_mutex);
 	phylink_parse_supported_interfaces(pl);
-
 	linkmode_fill(pl->supported);
 	linkmode_copy(pl->link_config.advertising, pl->supported);
-	phylink_validate(pl, pl->supported, &pl->link_config);
+	__phylink_validate(pl, pl->supported, &pl->link_config);
+	mutex_unlock(&pl->state_mutex);
 
 	ret = phylink_parse_mode(pl, fwnode);
 	if (ret < 0)
@@ -2434,84 +2561,11 @@ static void phylink_phy_change(struct phy_device *phydev, bool up)
 		    phydev->enable_tx_lpi ? "" : "no");
 }
 
-static int phylink_validate_phy(struct phylink *pl, struct phy_device *phy,
-				unsigned long *supported,
-				struct phylink_link_state *state)
-{
-	DECLARE_PHY_INTERFACE_MASK(interfaces);
-
-	/* If the PHY provides a bitmap of the interfaces it will be using
-	 * depending on the negotiated media speeds, use this to validate
-	 * which ethtool link modes can be used.
-	 */
-	if (!phy_interface_empty(phy->possible_interfaces)) {
-		/* We only care about the union of the PHY's interfaces and
-		 * those which the host supports.
-		 */
-		phy_interface_and(interfaces, phy->possible_interfaces,
-				  pl->supported_interfaces);
-
-		if (phy_interface_empty(interfaces)) {
-			phylink_err(pl, "PHY has no common interfaces\n");
-			return -EINVAL;
-		}
-
-		if (phy_on_sfp(phy)) {
-			/* If the PHY is on a SFP, limit the interfaces to
-			 * those that can be used with a SFP module.
-			 */
-			phy_interface_and(interfaces, interfaces,
-					  phylink_sfp_interfaces);
-
-			if (phy_interface_empty(interfaces)) {
-				phylink_err(pl, "SFP PHY's possible interfaces becomes empty\n");
-				return -EINVAL;
-			}
-		}
-
-		phylink_dbg(pl, "PHY %s uses interfaces %*pbl, validating %*pbl\n",
-			    phydev_name(phy),
-			    (int)PHY_INTERFACE_MODE_MAX,
-			    phy->possible_interfaces,
-			    (int)PHY_INTERFACE_MODE_MAX, interfaces);
-
-		return phylink_validate_mask(pl, phy, supported, state,
-					     interfaces);
-	}
-
-	phylink_dbg(pl, "PHY %s doesn't supply possible interfaces\n",
-		    phydev_name(phy));
-
-	/* Check whether we would use rate matching for the proposed interface
-	 * mode.
-	 */
-	state->rate_matching = phy_get_rate_matching(phy, state->interface);
-
-	/* Clause 45 PHYs may switch their Serdes lane between, e.g. 10GBASE-R,
-	 * 5GBASE-R, 2500BASE-X and SGMII if they are not using rate matching.
-	 * For some interface modes (e.g. RXAUI, XAUI and USXGMII) switching
-	 * their Serdes is either unnecessary or not reasonable.
-	 *
-	 * For these which switch interface modes, we really need to know which
-	 * interface modes the PHY supports to properly work out which ethtool
-	 * linkmodes can be supported. For now, as a work-around, we validate
-	 * against all interface modes, which may lead to more ethtool link
-	 * modes being advertised than are actually supported.
-	 */
-	if (phy->is_c45 && state->rate_matching == RATE_MATCH_NONE &&
-	    state->interface != PHY_INTERFACE_MODE_RXAUI &&
-	    state->interface != PHY_INTERFACE_MODE_XAUI &&
-	    state->interface != PHY_INTERFACE_MODE_USXGMII)
-		state->interface = PHY_INTERFACE_MODE_NA;
-
-	return phylink_validate(pl, supported, state);
-}
-
 static int phylink_bringup_phy(struct phylink *pl, struct phy_device *phy,
 			       phy_interface_t interface)
 {
-	struct phylink_link_state config;
 	__ETHTOOL_DECLARE_LINK_MODE_MASK(supported);
+	struct phylink_link_state config;
 	char *irq_str;
 	int ret;
 
@@ -2524,12 +2578,16 @@ static int phylink_bringup_phy(struct phylink *pl, struct phy_device *phy,
 	 */
 	phy_support_asym_pause(phy);
 
+	mutex_lock(&phy->lock);
+	mutex_lock(&pl->state_mutex);
 	memset(&config, 0, sizeof(config));
 	linkmode_copy(supported, phy->supported);
 	linkmode_copy(config.advertising, phy->advertising);
 	config.interface = interface;
 
-	ret = phylink_validate_phy(pl, phy, supported, &config);
+	ret = __phylink_validate_phy(pl, phy, supported, &config);
+	mutex_unlock(&pl->state_mutex);
+	mutex_unlock(&phy->lock);
 	if (ret) {
 		phylink_warn(pl, "validation of %s with support %*pb and advertisement %*pb failed: %pe\n",
 			     phy_modes(config.interface),
@@ -4176,7 +4234,7 @@ static int phylink_sfp_config_optical(struct phylink *pl)
 	/* For all the interfaces that are supported, reduce the sfp_support
 	 * mask to only those link modes that can be supported.
 	 */
-	ret = phylink_validate_mask(pl, NULL, pl->sfp_support, &config,
+	ret = phylink_validate_mask(pl, pl->sfp_support, &config,
 				    pl->sfp_interfaces);
 	if (ret) {
 		phylink_err(pl, "unsupported SFP module: validation with support %*pb failed\n",
-- 
2.55.0
Technical Details
Message-ID: <20261129230558.612526-6-ansuelsmth@gmail.com>
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373695-linux-kernel-netdev=dewy.ru
References: <20261129230558.612526-1-ansuelsmth@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373695-linux-kernel-netdev=dewy.ru
From: ansuelsmth@gmail.com (Christian Marangi)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next v23 05/15] net: phylink: make phylink_validate state locked
Date: Mon, 30 Nov 2026 00:05:35 +0100
Organization: Usenet Network
Message-ID: <20261129230558.612526-6-ansuelsmth@gmail.com>
References: <20261129230558.612526-1-ansuelsmth@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1281073"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Ync4FsyEDyEkmsFiJOzd9IJMqds= sha256:HADyRFrv7rNGtOV6K3gbmfOj05AVG6gmHGAyy3z01WA=
	sha1:f3hU0zCtUsf+KVdYuQfJy6QezHU= sha256:iEy0ivpBKfsJ+0qJq08pzBLrG4wntRCsw/b/FZFtiWE=
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 DAB7E125FB0; Mon, 30 Nov 2026 02:07:14 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 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, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, 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] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=gmail.com
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 R8g-cyXeq9DM;
	Mon, 30 Nov 2026 02:07:11 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-373695-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 3519F125F08; Mon, 30 Nov 2026 02:07:03 +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 D24962949A; Sun, 29 Nov 2026 23:06:36 +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=1795993593;
	b=KJv57RuOs6PSugiZO7Bq5ADewY+g8D7WdHxbMj2fXH2DAXZRNsl20j9L5EhFOI542h1F
	 xyDn/F79xxGDijfZyghoSQfNrkEYJwKnamiWiRYQ+o6KJqNW8AI63swHAOtta16s4CtI4
	 muIJaUubJ42kHFLZ7qvEty0o7E/BecKoaO/IWvfpVEVp+4HITobibz8JkK08j3tvVupUn
	 NC2cIKU+AxzzMN28k3VmvkwRHdxNV2adGCGnjjiRS+A2rJA75Cej3nD/4UhkMfeimAvDz
	 nIzg/Yvwxm/9cWNuMAXdul3Q9nOPgnQQTaupxtq9qKSvp96/dkJ+a2FH/2flNG0rUtg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795993593;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
	 X-Gm-Gg:X-Received:Received:From:To:Subject:Date:Message-ID:X-Mailer:
	 In-Reply-To:References:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding;
	bh=svv87XAM/FOjlVYp6FXkrbaORqtGSGDsmh1XECpwAlA=;
	b=nwkqsV/CNiiga1OSaki+dGMqJDurEV53ELGitbTKd8qOcRg/iVkpVVY3W1Go5DIhEQPS
	 tCfNsBODAzl+xV61zzQ1iuXI3xMaI4hH3UXMJdfN+uwWIOTj5wR+VaF9AoXPepOqssF3b
	 WIZsS+rTiJ5EqVzYtkiccnM5BxEQLSKf7bR6a7xjPjaOlx9kO29lX0w6PfHKv9VgLSPNi
	 qstWSfxF0yJm4gfBR+uIjaCo7et/vGQ2eit3B4TA5ytwbKwXdUO7FsdS5igW+UynRav58
	 iBT/IJGWo3luogpeE25pj8tNjdPUrhWeikIwc0svWSQaFsotcFFxIXC9XJZRBL0BP+g==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=s9d86F2d;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.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 D567C606A6A1;
	Sun, 29 Nov 2026 23:06:33 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=s9d86F2d
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.53
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1795993593;
	b=hiBo5S19FQ1lnIcI/ocRQ7vFW1b/SpgUON+0M8Wjco2h0BhRe4j6WPvYkijYWAC928jL
	 jVXICyhUDTO5PF8HFxgAQ/bzdTEY9yGvoETMtnCfW/LY1oLCUVWMq1MLP/vq5rBm5mGSZ
	 AA0FIpClFZPZV46Dx2Vnpkxx05g3sBv4FUzjRF3esndUW4z9uwL1gPAD0uAetUawiYbKP
	 0tfsH8jX7O0TzxioD2zl+g/B0h9DsTaXb9kWijhOzMm3GyNDuH/LNINk49Vx9rYhItIYx
	 DqPhI9P7GHPWZAJ9NgbaX9vpAk/Xppk8vyxOthP30vA1KBpwwMm8SXVwjCYiQhCwHvQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795993593;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
	 From:To:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References:
	 MIME-Version:Content-Transfer-Encoding;
	bh=svv87XAM/FOjlVYp6FXkrbaORqtGSGDsmh1XECpwAlA=;
	b=Km6Iy9w6RLZdbRY+iV/bzhE2jx1uVvZY4OfHEGtoB/e2/fI3MwAunl6QVRewXBlNOFMk
	 1xdZZkCorvjp01/axgp3q8NkeBlc+Zf/NaRV5co0tJlAr/GoibXUzNYV1Ubx69YbxIWlw
	 ONEKyokIWZ2quiYI1JUJ5xfgr9jACSrxy6MZDerRAFn9ChPvdTLVoYit5U/Oy8wzmDMfm
	 1aqncl2fdCJjRlNZORY++PlOnY+2x20/OqY0QO6kXHJRDN6EssBPZaJimW+5qnC4JK4fN
	 Lpu1T2m1w/FRkKkq0t2myOv0d4N25Gn3ZqAa28TZcGc+6cPDh2sXvby4QEjxvaE+kXA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=s9d86F2d;
	arc=none smtp.remote-ip=209.85.221.53
X-Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 409BF606A684
	for <netdev@vger.kernel.org>; Sun, 29 Nov 2026 23:06:32 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 409BF606A684
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-4c4b8e58c9aso391986f8f.0
        for <netdev@vger.kernel.org>; Sun, 29 Nov 2026 15:06:32 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1795993591; x=1796598391; darn=vger.kernel.org;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:to:from:from:to:cc:subject:date:message-id
         :reply-to:content-type;
        bh=svv87XAM/FOjlVYp6FXkrbaORqtGSGDsmh1XECpwAlA=;
        b=s9d86F2dT7QnsbVY5gLEvkZEVIOsHAKdWgYy7l83bMJJ+nSnlAGBvpxFR7I1z78y5Q
         bj9VzszpFrNb94e4OT+P2Pnhu1xXhHJK3I43S1gXFiOO0JGI6eaVRL9Dxb/TNZkLRnvV
         n5qPjnf0jdN6/jA4yCPahlDx++Rm4QnHDHqQJOw948KDCNf+UhcfmvOCvg5Oaq5Rfsq/
         cMDEZZCpTAYfQWFpqWmkM1ulzKntWqF/SLbKWogZjJeSbAGNB1MxLRaoQxkHdLDkPShD
         FcJV49wvlZD3YVdXrzhGFvk6qZp1Uqbs4Xys/6foVyFrMuy1msYbIRzNwgUwJt4Wl435
         hyzA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1795993591; x=1796598391;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to
         :cc:subject:date:message-id:reply-to:content-type;
        bh=svv87XAM/FOjlVYp6FXkrbaORqtGSGDsmh1XECpwAlA=;
        b=TJMRzOEtaVyZ8GoqZwGpoOy7j7G2kFfw7VVkNDXmeAMz6bt0Io/hvqNTtBz+Jr4lLa
         XAGtiRkorfvfsOwC7i/GFc+H6bSfjUuv+smpVMJ6v23lsfdn8a17CX4BPpj+u9ZAd7GM
         +0wBXkCNa5L/8tPwP29kZuJRKZff2cLDZ0hCbsFfDCmJWAxOWAjhUka7cyudCDFHiQzI
         UHC4Wql8U5OAFHcr/IIIHuNERd6C9USBw+IELn2D4GMJSRKVk1BJta42oNjgCzjerU0F
         07u75psgk/ikBA8QNa1pdgxxG67DeCjOCMdePoWd6f48bKC8eYjrKTRD93yU6ecikS3e
         IVzg==
X-Forwarded-Encrypted: i=1; AL+hErEZyyxsNlmwsLK4I8k3YcEDBNlmEYzyB7XytVn0szkCqAnYtZiG32S3f4u3fjoAnIcMC2nQC4o=@vger.kernel.org
X-Gm-Message-State: APuU4Z8NPtaGdrZI+PijO0ffDIaBfI5rhmhcCnY8VoRrR7bb6HbsTgyt
	LbIYRXw8dAfbgzh1PKVYpB0nuRIBRoz03ddnPH7F4VXXxNymgkH4quh5
X-Gm-Gg: AZFdTZe0SZ1PhT2D7XJ5GpXsLceYp/lAd4H4FeS6wwqUfLKlUth1T7o31WoleaTOCjQ
	jybGbsAZDhJduW7+3Y14wHCGr4yVJ5oHw0Tj7RlCeRfVvYXqEaegYQadYAVQ4E8g6wziOcDuFk/
	dLKKz7oYAm28LZ37RmZ45/RsS8AwJZX70lY19l8EKGL0II5v+SckzOGCpIXqN0Zmo3/G7QyIJbZ
	0K6lSnQtaSmDh3KU70U8GTpzzDiVwmqi4Ypa5mmXcPqiK9VpKaWTEOhHXdFYzH9HyWEpQjCXcp4
	+wU/pU5UbZ8Jake7wz5Jgz5+V3xZk7Zr5weznLh3eP20bOMxwgOjiZwwW33ElQemm326BmivTGB
	y4ljRyAu47+BPqgfSH21FAykbkOj7RiozOmXWej6HX78DD/0ZngfMsOtHvBGQjjTG5yC1HLYw8K
	U67YBCaZoWs9S2z1vWBGXY9PkhU2dWguL8bIq6O/CQUncV9iisukR+cFc5cyuYn35gi4tJKq/Tm
	kIy60/9/Qf4BQh3TGk+e5wKR2Ltlk9irKi0vvPTrIScXcTG0iZyygWHnPHWTU2PsN9c8as34OpI
	Sak5zcBEqY6AFqWsKX2osQgiatawmAEjWn7ZRb2fpxtKrJ/IPHFu6aoH5E6sbd01fnIiV5L++01
	YRo5sA6fIA1zhzpGFrQ==
X-Received: by 2002:a05:6000:178d:b0:4bf:2f91:dc71 with SMTP id ffacd0b85a97d-4bf2f91de3bmr21825427f8f.42.1795993590513;
        Sun, 29 Nov 2026 15:06:30 -0800 (PST)
X-Received: from Ansuel-XPS24 (93-34-92-103.ip49.fastwebnet.it. [93.34.92.103])
        by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-4ab6c4353d6sm58448894f8f.56.2026.11.29.15.06.28
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Sun, 29 Nov 2026 15:06:30 -0800 (PST)
X-Mailer: git-send-email 2.55.0
X-In-Reply-To: <20261129230558.612526-1-ansuelsmth@gmail.com>
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