Article View: linux.kernel.netdev
Article #10146RE: [PATCH net-next v2 1/5] net: enetc: Add pseudo-MAC support for ENETCv4 Ports via a fixed-link node
From: Claudiu Manoil
Date: Tue, 03 Nov 2026 09:11
Date: Tue, 03 Nov 2026 09:11
249 lines
27259 bytes
27259 bytes
-----Original Message-----
From: netdev-bot+sashiko@kernel.org <netdev-bot+sashiko@kernel.org>
> Sent: Friday, October 16, 2026 11:15 AM
[...]
> Subject: Re: [PATCH net-next v2 1/5] net: enetc: Add pseudo-MAC support for
> ENETCv4 Ports via a fixed-link node
>
> Thank you for your contribution! Sashiko AI review found 4 potential
> issue(s) to consider.
>
> Critical: 0 * High: 0 * Medium: 3 * Low: 1
>
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
>
> - [Medium] Build break when CONFIG_OF_DYNAMIC=n.
> - [Medium] enetc4_link_init() uses the OF_DYNAMIC flag alone to decide
> that a pseudo-MAC port's node is 'an empty node created by the PCI...
> - [Medium] The pseudo-MAC fixed-link speed is the boot-time PCR[PSPEED]
> rounded down to a phylink-supported value, and the existing link-up...
> - [Low] enetc4_add_ppm_fixed_link() can write 20000 or 25000 into the
> synthesized node's fixed-link 'speed' property.
>
> --
>
> net: enetc: Add pseudo-MAC support for ENETCv4 Ports via a fixed-link node
>
> This commit lets ENETCv4 pseudo-MAC ports probe when they have no static
> DT description. At probe time it uses an of_changeset to add a
> fixed-link child node to the port's OF node, with the speed taken from
> PCR[PSPEED], so that phylink can pick it up. The changeset is reverted
> and destroyed on teardown and on the probe error path.
>
> > diff --git a/drivers/net/ethernet/freescale/enetc/enetc4_pf.c
> b/drivers/net/ethernet/freescale/enetc/enetc4_pf.c
> > index 71c971618388b..70e34ca6ddf8e 100644
> > --- a/drivers/net/ethernet/freescale/enetc/enetc4_pf.c
> > +++ b/drivers/net/ethernet/freescale/enetc/enetc4_pf.c
>
> [ ... ]
>
> > @@ -946,23 +955,112 @@ static void enetc4_pci_remove(void *data)
>
> [ ... ]
>
> > +static int enetc4_add_ppm_fixed_link(struct enetc_ndev_priv *priv)
> > +{
[...]
> > + enetc4_get_pcr_speed(&priv->si->hw, &speed);
> > + speed = enetc_phylink_match_pseudo_mac_speed(speed);
>
> [Severity: Medium]
> Does this rounding end up overwriting the boot-time PCR[PSPEED] value?
>
> enetc4_get_pcr_speed() decodes PSPEED as (pspeed + 1) * 10, so the
> result can be any multiple of 10 Mbps.
> enetc_phylink_match_pseudo_mac_speed()
> then rounds down to the first table entry that is <= that value, with no
> warning. For example, 4000 becomes 2500 and 40000 becomes 25000.
>
> The rounded value goes into the fixed-link "speed" property. On link-up,
> phylink passes it to enetc4_pl_mac_link_up(), which has no pseudo-MAC
> check:
>
> enetc4_pl_mac_link_up()
> enetc4_set_port_speed(priv, speed);
>
> priv->speed starts at 0, so the first call always does a read-modify-write
> of ENETC4_PCR with PCR_PSPEED_VAL(rounded speed).
>
> Suppose the switch owner programmed a PSPEED that is not in the table.
> Wouldn't the driver replace it with a lower rate? priv->speed is used by
> enetc_qos.c for the CBS port_transmit_rate. Wouldn't it also stop
> matching the real internal link?
No. First, the CBS use case does not apply to the ENETC v4 Pseudo-MAC case
(enetc_setup_tc_cbs is currently called for ENETC v1 only). Secondly,
priv->speed was always and remains a standard speed.
>
> This seems to conflict with the commit message statement that "the fixed
> link reflects the actual boot-time configuration". I could not confirm
> whether firmware actually programs rates outside the table.
This works as intended. The goal is to have a supported standard speed
pre-programmed into PCR[PSPEED] at probe time. If that's not the case,
for some reason, the PSPEED value will be rounded down to the closest
standard value, as observed by the bot. PCR[PSPEED] can be safely written
at runtime, before traffic. Maybe I can enhance the commit message a bit
to avoid this confusion.
>
> > +
> > + ocs = kzalloc_obj(*ocs);
> > + if (!ocs)
> > + return -ENOMEM;
> > +
> > + of_changeset_init(ocs);
>
> [Severity: Medium]
> Will this build when CONFIG_OF_DYNAMIC is not set?
>
> This function calls of_changeset_init(), of_changeset_create_node(),
> of_changeset_add_prop_u32(), of_changeset_add_prop_bool() and
> of_changeset_apply(). enetc4_put_ppm_fixed_link() also calls
> of_changeset_revert() and of_changeset_destroy(). All of these are
> declared in include/linux/of.h only under #ifdef CONFIG_OF_DYNAMIC.
>
> The #else branch only has stubs for the of_reconfig_* helpers.
> drivers/of/dynamic.c is also only built with OF_DYNAMIC=y.
>
> config NXP_ENETC4 only depends on PTP_1588_CLOCK_OPTIONAL and
> PCI_MSI.
> OF_DYNAMIC is a hidden symbol that is only enabled when something
> selects it (OF_OVERLAY, PCI_DYNAMIC_OF_NODES, ...).
>
> With NXP_ENETC4=y/m and OF_DYNAMIC=n, wouldn't the build fail? I'd
> expect implicit declaration errors first, then undefined symbols at
> modpost or link time. That includes CONFIG_OF=n builds through
> COMPILE_TEST.
>
> The commit message says:
>
> This is intentionally not a hard Kconfig dependency, since the ENETC4
> driver also serves regular ports described by static DT; when
> PCI_DYNAMIC_OF_NODES is absent the PCI function has no of_node and the
> pseudo-MAC probe path fails gracefully with a clear -ENODEV error.
>
> If nothing selects OF_DYNAMIC, the driver would not build at all, so it
> never gets to the -ENODEV path. Should NXP_ENETC4 select or depend on
> OF_DYNAMIC, or should these calls be guarded?
Will add this config dependency to the driver, as I already commented on the
built error (found by the build bot) caused by this.
>
> > +
> > + fixed_link = of_changeset_create_node(ocs, np, "fixed-link");
> > + if (!fixed_link) {
> > + err = -ENOMEM;
> > + goto err_destroy;
> > + }
> > +
> > + err = of_changeset_add_prop_u32(ocs, fixed_link, "speed", speed);
>
> [Severity: Low]
> This isn't a functional bug, but can this write a speed that the
> fixed-link binding doesn't allow?
>
> enetc_phylink_pseudo_mac_caps[] includes SPEED_25000 and SPEED_20000.
> For
> PSPEED >= 20 Gbps, enetc_phylink_match_pseudo_mac_speed() returns
> 20000
> or 25000.
>
> For the object form of fixed-link, the "speed" property in
> Documentation/devicetree/bindings/net/ethernet-controller.yaml only
> allows:
>
> enum: [10, 100, 1000, 2500, 5000, 10000]
>
> The commit message says the node is added "exactly as if it had come
> from static DT". A static DT describing this port the same way would
> fail dtschema validation. phylink_parse_fixedlink() accepts these speeds
> at runtime, so nothing breaks.
>
> Should the binding be extended to 20000 and 25000, or should the driver
> avoid emitting them?
>
Ignoring this, this is not the first driver using higher ethernet speeds.
> [ ... ]
>
> > static int enetc4_link_init(struct enetc_ndev_priv *priv,
> > struct device_node *node)
> > {
> > + bool dynamic = node && of_node_check_flag(node, OF_DYNAMIC);
> > struct enetc_pf *pf = enetc_si_priv(priv->si);
> > struct device *dev = priv->dev;
> > int err;
> >
> > - err = of_get_phy_mode(node, &pf->if_mode);
> > - if (err) {
> > - dev_err(dev, "Failed to get PHY mode\n");
> > - return err;
> > + /* Pseudo-MAC ENETCs are described by a runtime-synthesized fixed- link
> > + * node rather than static DT. This covers both a missing OF node and a
> > + * PCI-synthesized (OF_DYNAMIC) node, which is an empty node created
> > + * by the PCI core and thus carries no fixed-link description.
> > + */
> > + if (enetc_is_pseudo_mac(priv->si) && (!node || dynamic)) {
> > + pf->if_mode = PHY_INTERFACE_MODE_INTERNAL;
>
> [Severity: Medium]
> Can OF_DYNAMIC be relied on to mean the node has no link description?
>
> OF_DYNAMIC only records that a node was allocated at runtime.
> __of_node_dup() sets it on every runtime-created node. That includes
> nodes created by the overlay engine (add_changeset_node()-
> >__of_node_dup())
> and PCI-synthesized nodes that a later overlay fills in. The
> PCI-synthesized node is not empty either, since it has compatible and
> reg.
>
> Take an OF_DYNAMIC pseudo-MAC node that already has phy-mode and a
> fixed-link child. This path skips of_get_phy_mode() and forces
> PHY_INTERFACE_MODE_INTERNAL. enetc4_add_ppm_fixed_link() then adds
> a second child named "fixed-link" without checking for an existing one.
>
> __of_attach_node() inserts the new node at the head of the parent's
> child list:
>
> np->sibling = np->parent->child;
> np->parent->child = np;
>
> So phylink_parse_fixedlink()->fwnode_get_named_child_node(fwnode,
> "fixed-link") would find the synthesized node first. Wouldn't the
> overlay's speed, pause, asym-pause and link-gpios be silently ignored?
> The tree would also end up with two sibling nodes of the same name.
>
> Before this patch, such a node went through of_get_phy_mode() and its
> own fixed-link was used. Would a check based on the node's contents (no
> phy-mode, no phy-handle, and !of_phy_is_fixed_link()) match the intent
> in the comment better than the flag?
>
> I couldn't find in-tree code that applies such an overlay to an ENETC
> node today, so this may be theoretical for now.
>
This is theoretical indeed, the Pseudo-MAC ports will not have overlays
on top. It's either static DT node, or a clean PCI-synthetized node.
Any other configuration for Pseudo-MAC node (like the one implied
above) is not valid.
pw-bot: cr
Technical Details
Message-ID:
<GV2PR04MB1174015C406D353895C57476696692@GV2PR04MB11740.eurprd04.prod.outlook.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355311-linux-kernel-netdev=dewy.ruReferences:
<d7b51cb29758538a4c68a700dd8cd41b6e7e08b6.1791908694.git.claudiu.manoil@nxp.com> <179213850452.434549.17833070545168867976@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355311-linux-kernel-netdev=dewy.ru From: claudiu.manoil@nxp.com (Claudiu Manoil) Newsgroups: linux.kernel.netdev Subject: RE: [PATCH net-next v2 1/5] net: enetc: Add pseudo-MAC support for ENETCv4 Ports via a fixed-link node Date: Tue, 3 Nov 2026 09:11:11 +0000 Organization: Usenet Network Message-ID: <GV2PR04MB1174015C406D353895C57476696692@GV2PR04MB11740.eurprd04.prod.outlook.com> References: <d7b51cb29758538a4c68a700dd8cd41b6e7e08b6.1791908694.git.claudiu.manoil@nxp.com> <179213850452.434549.17833070545168867976@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: usenet.network; logging-data="3131079"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:DQaG3xxtcqi+h3nCZRewBCpXu1c= sha256:xcobNNsmKs07UFennyyYp0NDcSBgxPMID29t5ZBuw8Y= sha1:liGMnkWiuEUAzEwdUo485MSEa2M= sha256:a6tRsxAKsIpuPhzCD7+1HtwYmMhzeDSfe4jqhDj04+A= Content-Language: en-US List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-MS-Has-Attach X-MS-TNEF-Correlator msip_labels X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id E4F8F112795; Tue, 3 Nov 2026 12:26:38 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 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] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=nxp.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 Q7DWiCNvkU_y; Tue, 3 Nov 2026 12:26:36 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-355311-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=nxp.com X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id BF895112793; Tue, 3 Nov 2026 12:26:27 +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 6A74E30CF4; Tue, 3 Nov 2026 09:11:32 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793697084; b=tM8oIvSY2NKe77uRQqJc49o9f6H62x1gOuZdAwDUaqDbsNDU72j+8gVz+Y9U2KM3LQ7x zxCzwj8tHU6naF65tcby9HOs9WcCojrVkhmNQ1t8dZpy6FwESaIUjVrg0AtGJ/SNOotki xe4cJzAYBli/mFmbz5GZmpO96rXee1woQdReU6b4FSc+XGcUsLOc0O8cgKRShXDC++YsE A6zG/LSLl1REuxSu+xLAhMPc43V/DL+FNPqUW3qARS/nWycRpoa5rTFk2Fg6+S7bn59Wo v2Ukzw2zvqziOzFA30C+dj017ELgl85f5qjDUU8/H3pRaiKMUYzJV1+N5czGV2Sz+qw== X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793697084; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Received: From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID: References:In-Reply-To:Accept-Language:Content-Language: X-MS-Has-Attach:X-MS-TNEF-Correlator:msip_labels: x-ms-publictraffictype:x-ms-traffictypediagnostic: x-ms-office365-filtering-correlation-id:x-ms-exchange-senderadcheck: x-ms-exchange-antispam-relay:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata-chunkcount: x-ms-exchange-antispam-messagedata-0:Content-Type: Content-Transfer-Encoding:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: X-OriginatorOrg:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=xAfmDLBH8j439OUr7bMn6jW5npXg6RTBQZiUDvnUfBc=; b=ymTJd97JMufVXPm/YGeBUQb9cdYd6++QHMLzjTtDrNih65WNMKD/rRRLC/FTQwwtbY8o T7gt330OuNKOAFZ9CAl2YljfUJVpM4YXnKqdlEq18NDcLCiPcU9SAQqz52Wwk0fUQxFt3 yZUUmBOpixXfi5IMe54ZUWl2+0MkSKyGV1s24oscLvnS0ARlXc/KwHpxag3lejTkyTe2R rk9suPFNXMjJntmiZ1XSKh4CgKA9FnqJCSrTS7AV+z1G1FGM/wS8eaeG9S5YJTQAud3kt QeJCTE+IiqZUS8+rVatlAE7zGelEk05icGu8T+QehA814fhCnwOeRT9q+eY5wTAkrIA== X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; dkim=pass header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector1 header.b=FALrbfaQ; dmarc=pass header.from=nxp.com; spf=pass smtp.mailfrom=nxp.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 7C33A606D806; Tue, 3 Nov 2026 09:11:24 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector1 header.b=FALrbfaQ X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=40.107.130.47 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793697078; b=pTQAP1GYbGZVsC9f5hs4n1FIEdW8SLmqSKba1iBivzYs8mSgEPO6Dud3sWwAz+JC234c FI6R9n77NVDRkMckNPRUc+TVtfK7rpz89pHzSJH11Hr41m9ng5NE9PyP0To9NFkiyMKy1 ZWkyihqUCODNrr/wFFkB9DGavWSJCWpPhkB1IbeY6fde49320H3WqwXYPLptW0e7tjkyx T6ucpOoHi++noraucxCpsgUr2jMD0GkQnwCZUD4ujfkzoenKTwCNSyQbMHX7kLKX9d4mV rc9pPaegJ+07XF9OgtUFhPr06ZuYfSVXR9ifNk14jomj7FCGtD42xXFeCYwYx610OJw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793697078; h=DMARC-Filter:DKIM-Signature:Received:Received:From:To:CC:Subject: Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To: Accept-Language:Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator: msip_labels:x-ms-publictraffictype:x-ms-traffictypediagnostic: x-ms-office365-filtering-correlation-id:x-ms-exchange-senderadcheck: x-ms-exchange-antispam-relay:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata-chunkcount: x-ms-exchange-antispam-messagedata-0:Content-Type: Content-Transfer-Encoding:MIME-Version:X-OriginatorOrg: X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=xAfmDLBH8j439OUr7bMn6jW5npXg6RTBQZiUDvnUfBc=; b=jwETCqBMV1lT0X3XbkASrCBDERnRjBuaP+0ZuWUASBWGs1qb80luJHWJ+KwFUHiFH+lH n//EWfUy0iUawWtSwrEMYwJep1DkB/iWN6QAJ9CC53046DNX8kK05Jc+Z7YfyPoUaT5yd HBYVRMFwO+puWZ7s2dhPNXslXB+ADbviKu7ujb14CBdnwSaZg6BmqCtzOMwt3quli53Pu 3zANT02qcOcXmnxJIuVII38ekkmWNbop+DYLZZTtPYEpSz1j/rNWakW3TNhUYZ8ycZvXZ jEeH9IqvG8APxzXxkRdco7DxszA5esfEuo6rLIrRcF/tdaA4TsoDYFmo9bFlRjuDs1w== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector1 header.b=FALrbfaQ; arc=pass header.oldest-pass=0 smtp.remote-ip=40.107.130.47 X-Received: from MRWPR03CU001.outbound.protection.outlook.com (mail-francesouthazon11011047.outbound.protection.outlook.com [40.107.130.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C4EAE606A324; Tue, 3 Nov 2026 09:11:17 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C4EAE606A324 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com X-ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=uixUyt1JbLoqEjVMzZTgCnl8E6Oec2UJYEYV706ZXRuiOKXLLhDLLp0jF4HsgY568ed6jPv78YdmpHZoc/We20+cCYWoqEJarjcUlbtOhJFVDwOcUob0Aey66h+cpRPCXbXLnlwfS8e9n8SQLsTMNrsyqF65SHp8Unypn64T1vOaNfy/wrt2HldKo3IPWLlgPkvGfamrozSVC1C4Wk3SFSKEPgJSquKi7v5yYSye5f7VJIWIsp53AOmOo27VbkoWDvtyGmO3MGs7fAAAIr8Ecj2VhpVR4sdppbYAO53uzrS+mLcyHtMZA1swOFpQ/zDikIyutX8+/R3lI2ox3K237g== X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xAfmDLBH8j439OUr7bMn6jW5npXg6RTBQZiUDvnUfBc=; b=rmIwV5cw1iuj3UxteqxplLq9pBJlwha9knDq/ce6g2cdv6PEEavt2T8LGg+x0kttvX2wd5eZ+KfBIOgX4g1q5kYqZtinqZSjgg4DPiC2UfavO/0XLWubxpbsFFkbg/9fD1Pa9firjRi6uXf8Sf1RW8gFNf6oLshoKCWRHUjNci1YZLiso7506ZwPDbaKkfpmJuQBsj13JA521zPhjollsWhQlsNVMIM9ts2fIRwkbNmGz+upxhi5zstrTxaMQU515JZ/QNl/5EG+Bx0fVW1T9gMnFXeDJssItQk+onaxJ98KhV0LfnUZZ1Z7YtLdaiogNumYaIlobYRRduJHxxLa1A== X-ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xAfmDLBH8j439OUr7bMn6jW5npXg6RTBQZiUDvnUfBc=; b=FALrbfaQiklxxNb8MiFZJzHduVZvXgRxHunA1kD+ZrRKG1gGgradFQGdOekdDH4CQnDQE9Rkc7wZ1Nk/vIGYB6iTHVAHeOeN1SPut1H1Pybz9ZJ/e8U6Bv9xQI7BG4vbCyxn9cQrsD0ssAmmhlzSpES8q5Xb+5IG6HfnMGgDBObey+76OhjfZvD7d9OzcKonUJvn0an7HOYZOsiZoT+DNfDMwsYzz7r4yS0QQkySPvGkn42VRJbLp5AGVqKDFgQTSyEDY9RXrxMBnHsgiUiERdqYBXgojFQjBJhqDfTaSTdiPr/DVtoqWpi6uBnjW9AQwMJY2w1QQJJOyMg2Fs6bTw== X-Received: from GV2PR04MB11740.eurprd04.prod.outlook.com (2603:10a6:150:2cd::13) by VI0PR04MB10686.eurprd04.prod.outlook.com (2603:10a6:800:25d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.592.8; Tue, 3 Nov 2026 09:11:11 +0000 X-Received: from GV2PR04MB11740.eurprd04.prod.outlook.com ([fe80::ca5f:7e1c:a67a:a490]) by GV2PR04MB11740.eurprd04.prod.outlook.com ([fe80::ca5f:7e1c:a67a:a490%4]) with mapi id 15.21.0569.011; Tue, 3 Nov 2026 09:11:11 +0000 X-CC: "netdev@vger.kernel.org" <netdev@vger.kernel.org>, dl-S32 <S32@nxp.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "bhelgaas@google.com" <bhelgaas@google.com>, "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>, "kuba@kernel.org" <kuba@kernel.org> X-Thread-Topic: [PATCH net-next v2 1/5] net: enetc: Add pseudo-MAC support for ENETCv4 Ports via a fixed-link node X-Thread-Index: AQHdXUZ3qz9gSfJEH0yvrNimvCsV2rccGbLA X-In-Reply-To: <179213850452.434549.17833070545168867976@kernel.org> X-Accept-Language: en-US X-authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: GV2PR04MB11740:EE_|VI0PR04MB10686:EE_ x-ms-office365-filtering-correlation-id: 07d57d3f-c4a7-431b-cee3-08df398a678b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|376014|19092799006|366016|1800799024|23010399003|6133799003|10067099003|22082099003|18002099003|3023799007|38070700021|56012099006|11063799006|5023799004|261021121427099003|261102123227099003|261028144727099003|261022075727099003|261026121527099003|261026140227099003|261022105027099003|261009223027099003; x-microsoft-antispam-message-info: GYMMAkDFMWBiXxgtCN4bIUIUvMfugrlU4baC3FgP8qXfk99YQxamdJzJ+XzzT3g04UtG/O1WROCQJKc3X3MNnYeVk86sr/LYSVkUAO69PoxKjB8HASAMQRfL97pA04BNcnVq4Ok7Z+ZD3RHQSCGQNbVdt3op49LKQiv+hf4Je9MgCV9OZmzrh01bUUHBbWHJGKZD2AsCphDxIdMi7SOvQ/vteVXF4n5FGvh9At+TEEJ7T/AHMtpcFfnmpjXhCBXNS7NhOa6mTjHh/V9BL0P+yEi+wSDpZ2tQDI55B3qUHzeR7XfqrAEuFLfjhvnLp4aNBleEsCxtSWVYJkI2WGc984TEI72/rbD0It5FqULhY+Uf2voAHLyKvXFcvNXPoR84occp7vVr+rkx95Saay7d5ABOF+76z27EXQqrqQrApkrbcpC4tg3Dsu9UIyXfFU5OsDP+VTmLlPkfxaekNy3IW5XnRRnnT/SwTpRsX3gWsRW5E/iepNP/ZipWy6oCXD9epNaJd/+jMyvu42u+XLTRDvU+9OM4esDGs3F+WRrnqnFrdAWMxoRqkFFFFCBb4aWjj7NhdV+2wAQfWLOqil/oKEvdjnaimHPwRu3TPCFL7BXRSTuUwRfVMffFrm0MUzeFcOHTRmBJvJ58gFWisZVshDdbyryaoMto1gEqzlx/0FgbWUJ6fWLqN/I0ueXmHjZgMfOd/ia03hf9wyh4vAz+0DPs0H2wkTmvo3xV4nA/B88= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:GV2PR04MB11740.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(19092799006)(366016)(1800799024)(23010399003)(6133799003)(10067099003)(22082099003)(18002099003)(3023799007)(38070700021)(56012099006)(11063799006)(5023799004)(261021121427099003)(261102123227099003)(261028144727099003)(261022075727099003)(261026121527099003)(261026140227099003)(261022105027099003)(261009223027099003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: JwzIQKiQU4WFjdXHi6dy6f0mIgDPcngKgHVZmWdH83WTZB/jT+VKuvzSuGIuetxlsdO1QdDaXsgwY7KwwArUEJRU6/1qJRSrymxXo6mihk/vMIM9SSYIF+saPwmo3mDOCDFwsUS0BVK+baoeaD4jRD+lfMlVYga0M7aS/E043AOd6BkJFqRaszigg7Oo2/GZNK+sRl3V5aXU1RxyRM6mLrNeat1bjaJYhpp8NdddXoRXpOV2aULnTFw7JqIX+ci3BBfBMmp67sHWBgebdsmDOnyrs6UuuDTXovhzdnMK+i7jVItkZlWAlrnSQr45UpkvRxvbf89dm/PABWvf8I4ryKtYB5YHRcmKgmXWQtfPHYUJu9kH4okxOSDx190PKmwLSF4GteMGWGPIbrZUVfxscIokj8E7nyaQeFbwqFdla73E876pqOdH11z9XvIcR9d8exHOzCV6BhVESgJ4pCWICEAVdztLEyXNxSNy5vv7c9MC9RGeDenMe3bQFV+waitKM7CruylxQhu/hwva3Z7zKXJS8FmymezJnCFR1i0wSeoiBjmYFj8xyLZ37aPw3aThk+TFcy3eDCb36FbjEAeEkxyffhYi0SScY6DDrR2LzCAYtV+8W8OdItJ6f2phFzhA8rdaRHhjy/aFFz4B27llga5KIr2PLj07oIAezo4Rvfvkm9HPY7bO31Kt7ASp6tvZH5pYkRFg40+dcUSS6Z2KsEYUsJziXab21a7hJ+bUtaC+3NstDdJlkFfb1rYVrN7e84E/ScJg1rAvaRxWcwH6WowjoToBFAtS5FSpCzcef89Go+bFwAwNOe3wKeCPO6nq86EaPmo60421M5ImX9spKbz7TAKQnHPSkqcMonq19cDHaDT4wrJDBOJJN6j1/GqKhB3B8Cvgm97tI0PvCofWhYbO/2bTKOzbRgM01eMVzUekSTBHJdQ0tuDyDJSSDPdYwCfdnupxZeOK7hdF/ERhKMhGetb1nOMPIYyHqujoXhvES6pUVSoQZpmQ4ZdD9VNFWFYVJvZHKbqFKZrnFTDltzmM0bYbQP6ZGIyOp4O892V9M6cHNlLlV4A3bsfxyXqr8QxkpgxUjs8//uBaple413/ZCqWg+SlHh6uPwpGjf+xmm6mkmgKCYTSuZNPq5YIXPU/uMfyX4Ndbk5yyV8r0uAE57nGrz4IwfkU9NA79/C4oN7ZggVNu5WPQfEVu+auuTy/LBoYCw+H4uAeinbepKGGtuiOp1aFtppQFQcbypAule04lPzVFfRSNennERx+yW/5/IN9HK98xKjHLE3Bmrny4erUrV8EcJ6YBT15QegeY38fULKV3Bb7tKVAwHqabiO4CS1qouuUIVMRA3hycgYAUIYT6/njXsuT01CsU9X3+Jjp2nR+0WLT0sH9VEl+fOImAURfbUnILdfPnoNCVO2uQ367tsEY+DV6+GVBvA8I4CO5G42KeteWjQqmkdTt8QY2iE5k3ClrQyPUNmbw5FE/7wW/zqcdLsleJCdH6l18I4ltJDFh25EzhFLZ0Qr/zxqr/ph6r8ui1xcj3d69lahMWLOphOG8gx+bLXF9/Un1tWoDSJ+dESfzPbIrldfrlN/2dp7Q00KG6pjqalENdlVNgFgqENO5XPcwL6Xt4ctVAwW2ZQvttWQv8G5G/PbJbE7gG/8V52PhI9yle1Qnqhn8/+dQaJngRn3B0fiSD/uzRpKLbcmw3jm2XlRr4Lu6L4ZUbaZp0QrYqlD2sLr94+Q== 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-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: GV2PR04MB11740.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07d57d3f-c4a7-431b-cee3-08df398a678b X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2026 09:11:11.5106 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9xsKxnroc+JnBJG99/Z8dfFxOjPVSjKX0fioZeweGpBVJzOXdEEvQPviRdHZqx+OIlOehMD+gSN989gbMuAwRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10686