🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26797

[PATCH net-next 06/14] net: enetc: decouple ETT logical config from hardware wire format

#26797
From: wei.fang
Date: Fri, 04 Dec 2026 07:14
315 lines
28105 bytes
From: Wei Fang <wei.fang@nxp.com>

Current SoCs only implement ETT version 0, but future versions may
extend the table with a different buffer layout and size. Today struct
ett_cfge_data is the hardware CFGE structure, so callers must know the
wire format and open-code endianness conversions. This interface is
hard to extend: once a new version changes the buffer layout or size,
updating the callers becomes cumbersome.

Add a version-agnostic struct ett_entry_data that uses native CPU types
and also carries the entry ID, and move the wire structure into
ntmp_private.h to keep it internal to the NTMP layer. Add a struct
ntmp_tbl_ops instance holding the buffer size and a pack() callback, and
select it via ntmp_get_ett_ops(), following the MAFT, IPFT, FDBT and VFT
tables.

Reshape the ETT interface around the logical config. ntmp_ett_add_entry()
and ntmp_ett_update_entry() now take a struct ett_entry_data pointer
instead of an entry ID and a separate cfge pointer.

A future version can then be added within the NTMP layer by providing
its wire structure, pack helper and ops instance. Callers may still need
small adjustments, but they no longer deal with the wire format or
endianness.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
---
 drivers/net/dsa/netc/netc_main.c              | 23 +++---
 drivers/net/ethernet/freescale/enetc/ntmp.c   | 80 ++++++++++++++-----
 .../ethernet/freescale/enetc/ntmp_private.h   |  9 +++
 include/linux/fsl/ntmp.h                      | 23 +++---
 4 files changed, 92 insertions(+), 43 deletions(-)

diff --git a/drivers/net/dsa/netc/netc_main.c b/drivers/net/dsa/netc/netc_main.c
index ce29b586f3c13..1ac6ec0087aa0 100644
--- a/drivers/net/dsa/netc/netc_main.c
+++ b/drivers/net/dsa/netc/netc_main.c
@@ -1251,16 +1251,17 @@ static void netc_switch_get_ip_revision(struct netc_switch *priv)
 	priv->revision = FIELD_GET(IPBRR0_IP_REV, val);
 }
 
-static void netc_init_ett_cfge(struct ett_cfge_data *cfge,
-			       bool untagged, u32 ect_eid)
+static void netc_init_ett_entry(struct ett_entry_data *entry, bool untagged,
+				u32 ett_eid, u32 ect_eid)
 {
 	u32 vuda_sqta = FMTEID_VUDA_SQTA;
 	u16 efm_cfg = 0;
 
+	entry->entry_id = ett_eid;
 	if (ect_eid != NTMP_NULL_ENTRY_ID) {
 		/* Increase egress frame counter */
 		efm_cfg |= FIELD_PREP(ETT_ECA, ETT_ECA_INC);
-		cfge->ec_eid = cpu_to_le32(ect_eid);
+		entry->ec_eid = ect_eid;
 	}
 
 	/* If egress rule is VLAN untagged */
@@ -1272,30 +1273,30 @@ static void netc_init_ett_cfge(struct ett_cfge_data *cfge,
 				      ETT_FRM_LEN_DEL_VLAN);
 	}
 
-	cfge->efm_eid = cpu_to_le32(vuda_sqta);
-	cfge->efm_cfg = cpu_to_le16(efm_cfg);
+	entry->efm_eid = vuda_sqta;
+	entry->efm_cfg = efm_cfg;
 }
 
 static int netc_add_ett_entry(struct netc_switch *priv, bool untagged,
 			      u32 ett_eid, u32 ect_eid)
 {
 	struct ntmp_user *ntmp = &priv->ntmp;
-	struct ett_cfge_data cfge = {};
+	struct ett_entry_data entry = {};
 
-	netc_init_ett_cfge(&cfge, untagged, ect_eid);
+	netc_init_ett_entry(&entry, untagged, ett_eid, ect_eid);
 
-	return ntmp_ett_add_entry(ntmp, ett_eid, &cfge);
+	return ntmp_ett_add_entry(ntmp, &entry);
 }
 
 static int netc_update_ett_entry(struct netc_switch *priv, bool untagged,
 				 u32 ett_eid, u32 ect_eid)
 {
 	struct ntmp_user *ntmp = &priv->ntmp;
-	struct ett_cfge_data cfge = {};
+	struct ett_entry_data entry = {};
 
-	netc_init_ett_cfge(&cfge, untagged, ect_eid);
+	netc_init_ett_entry(&entry, untagged, ett_eid, ect_eid);
 
-	return ntmp_ett_update_entry(ntmp, ett_eid, &cfge);
+	return ntmp_ett_update_entry(ntmp, &entry);
 }
 
 static int netc_add_ett_group_entries(struct netc_switch *priv,
diff --git a/drivers/net/ethernet/freescale/enetc/ntmp.c b/drivers/net/ethernet/freescale/enetc/ntmp.c
index 9d642dbf5e429..c967439ad3589 100644
--- a/drivers/net/ethernet/freescale/enetc/ntmp.c
+++ b/drivers/net/ethernet/freescale/enetc/ntmp.c
@@ -580,6 +580,34 @@ static const struct ntmp_tbl_ops *ntmp_get_vft_ops(u8 version)
 	}
 }
 
+static void ntmp_ett_pack_v0(const void *entry, void *buf, int access_method)
+{
+	const struct ett_entry_data *_entry = entry;
+	struct ett_req_ua *req = buf;
+	struct ett_cfge_data *cfge = &req->cfge;
+
+	cfge->efm_cfg = cpu_to_le16(_entry->efm_cfg);
+	cfge->efm_data_len = cpu_to_le16(_entry->efm_data_len);
+	cfge->efm_eid = cpu_to_le32(_entry->efm_eid);
+	cfge->ec_eid = cpu_to_le32(_entry->ec_eid);
+	cfge->esqa_tgt_eid = cpu_to_le32(_entry->esqa_tgt_eid);
+}
+
+static const struct ntmp_tbl_ops ett_ops_v0 = {
+	.req_ua_len = sizeof(struct ett_req_ua),
+	.pack = ntmp_ett_pack_v0,
+};
+
+static const struct ntmp_tbl_ops *ntmp_get_ett_ops(u8 version)
+{
+	switch (version) {
+	case NTMP_TBL_V(0):
+		return &ett_ops_v0;
+	default:
+		return NULL;
+	}
+}
+
 static int ntmp_delete_entry_by_id(struct ntmp_user *user, int tbl_id,
 				   u32 entry_id, u32 req_len, u32 resp_len)
 {
@@ -1403,33 +1431,39 @@ EXPORT_SYMBOL_GPL(ntmp_vft_delete_entry);
  * ntmp_ett_set_entry - add a new entry to the egress treatment table or
  * update the configuration element data of the specified entry
  * @user: target ntmp_user struct
- * @entry_id: entry ID
  * @cmd: command type, NTMP_CMD_ADD or NTMP_CMD_UPDATE
- * @cfge: configuration element data
+ * @entry: the entry data, entry->entry_id selects the entry and the
+ * configuration element data provides the values
  *
  * Return: 0 on success, otherwise a negative error code
  */
-static int ntmp_ett_set_entry(struct ntmp_user *user, u32 entry_id,
-			      int cmd, const struct ett_cfge_data *cfge)
+static int ntmp_ett_set_entry(struct ntmp_user *user, int cmd,
+			      const struct ett_entry_data *entry)
 {
+	u8 version = user->tbl_ver[NTMP_ETT_ID];
+	const struct ntmp_tbl_ops *ops;
 	struct netc_swcbd swcbd;
-	struct ett_req_ua *req;
 	struct netc_cbdr *cbdr;
 	union netc_cbd cbd;
+	void *buf;
 	int err;
 
 	if (cmd != NTMP_CMD_ADD && cmd != NTMP_CMD_UPDATE)
 		return -EINVAL;
 
-	swcbd.size = sizeof(*req);
-	err = ntmp_alloc_data_mem(user->dev, &swcbd, (void **)&req);
+	ops = ntmp_get_ett_ops(version);
+	if (!ops)
+		return -EOPNOTSUPP;
+
+	swcbd.size = ops->req_ua_len;
+	err = ntmp_alloc_data_mem(user->dev, &swcbd, &buf);
 	if (err)
 		return err;
 
 	/* Request data */
-	ntmp_fill_crd_eid(&req->rbe, user->tbl_ver[NTMP_ETT_ID], 0,
-			  NTMP_GEN_UA_CFGEU, entry_id);
-	req->cfge = *cfge;
+	ntmp_fill_crd_eid(buf, version, 0, NTMP_GEN_UA_CFGEU,
+			  entry->entry_id);
+	ops->pack(entry, buf, 0);
 
 	/* Request header */
 	ntmp_fill_request_hdr(&cbd, swcbd.dma, NTMP_LEN(swcbd.size, 0),
@@ -1445,20 +1479,21 @@ static int ntmp_ett_set_entry(struct ntmp_user *user, u32 entry_id,
 /**
  * ntmp_ett_add_entry - add a new entry to the egress treatment table
  * @user: target ntmp_user struct
- * @entry_id: entry ID
- * @cfge: configuration element data
+ * @entry: the entry data, entry->entry_id is the entry ID and the
+ * configuration element data provides the values
  *
  * Return: 0 on success, otherwise a negative error code
  */
-int ntmp_ett_add_entry(struct ntmp_user *user, u32 entry_id,
-		       const struct ett_cfge_data *cfge)
+int ntmp_ett_add_entry(struct ntmp_user *user,
+		       const struct ett_entry_data *entry)
 {
 	int err;
 
-	err = ntmp_ett_set_entry(user, entry_id, NTMP_CMD_ADD, cfge);
+	err = ntmp_ett_set_entry(user, NTMP_CMD_ADD, entry);
 	if (err)
 		dev_err(user->dev, "Failed to add %s entry 0x%x, err: %pe\n",
-			ntmp_table_name(NTMP_ETT_ID), entry_id, ERR_PTR(err));
+			ntmp_table_name(NTMP_ETT_ID), entry->entry_id,
+			ERR_PTR(err));
 
 	return err;
 }
@@ -1468,21 +1503,22 @@ EXPORT_SYMBOL_GPL(ntmp_ett_add_entry);
  * ntmp_ett_update_entry - update the configuration element data of the
  * specified entry
  * @user: target ntmp_user struct
- * @entry_id: entry ID
- * @cfge: configuration element data
+ * @entry: the entry data, entry->entry_id selects the entry and the
+ * configuration element data provides the new values
  *
  * Return: 0 on success, otherwise a negative error code
  */
-int ntmp_ett_update_entry(struct ntmp_user *user, u32 entry_id,
-			  const struct ett_cfge_data *cfge)
+int ntmp_ett_update_entry(struct ntmp_user *user,
+			  const struct ett_entry_data *entry)
 {
 	int err;
 
-	err = ntmp_ett_set_entry(user, entry_id, NTMP_CMD_UPDATE, cfge);
+	err = ntmp_ett_set_entry(user, NTMP_CMD_UPDATE, entry);
 	if (err)
 		dev_err(user->dev,
 			"Failed to update %s entry 0x%x, err: %pe\n",
-			ntmp_table_name(NTMP_ETT_ID), entry_id, ERR_PTR(err));
+			ntmp_table_name(NTMP_ETT_ID), entry->entry_id,
+			ERR_PTR(err));
 
 	return err;
 }
diff --git a/drivers/net/ethernet/freescale/enetc/ntmp_private.h b/drivers/net/ethernet/freescale/enetc/ntmp_private.h
index d75cde81f81cf..710ab88560c7d 100644
--- a/drivers/net/ethernet/freescale/enetc/ntmp_private.h
+++ b/drivers/net/ethernet/freescale/enetc/ntmp_private.h
@@ -333,6 +333,15 @@ struct vft_resp_query {
 	struct vft_cfge_data cfge;
 };
 
+/* Egress Treatment Table Configuration Element Data */
+struct ett_cfge_data {
+	__le16 efm_cfg;
+	__le16 efm_data_len;
+	__le32 efm_eid;
+	__le32 ec_eid;
+	__le32 esqa_tgt_eid;
+};
+
 /* Egress Treatment Table Request Data Buffer Format of Update and Add
  * actions
  */
diff --git a/include/linux/fsl/ntmp.h b/include/linux/fsl/ntmp.h
index 202fd49ac8933..23a612ec0b969 100644
--- a/include/linux/fsl/ntmp.h
+++ b/include/linux/fsl/ntmp.h
@@ -222,8 +222,11 @@ struct vft_entry_data {
 	u32 et_eid;
 };
 
-struct ett_cfge_data {
-	__le16 efm_cfg;
+struct ett_entry_data {
+	u32 entry_id;
+
+	/* CFGE_DATA */
+	u16 efm_cfg;
 #define ETT_EFM_MODE		GENMASK(1, 0)
 #define ETT_ESQA		GENMASK(5, 4)
 #define ETT_ECA			GENMASK(8, 6)
@@ -232,11 +235,11 @@ struct ett_cfge_data {
 #define ETT_FRM_LEN_DEL_VLAN	0x7c
 #define ETT_FRM_LEN_DEL_RTAG	0x7a
 #define ETT_FRM_LEN_DEL_VLAN_RTAG	0x76
-	__le16 efm_data_len;
+	u16 efm_data_len;
 #define ETT_EFM_DATA_LEN	GENMASK(10, 0)
-	__le32 efm_eid;
-	__le32 ec_eid;
-	__le32 esqa_tgt_eid;
+	u32 efm_eid;
+	u32 ec_eid;
+	u32 esqa_tgt_eid;
 };
 
 struct bpt_bpse_data {
@@ -310,10 +313,10 @@ int ntmp_vft_add_entry(struct ntmp_user *user,
 int ntmp_vft_update_entry(struct ntmp_user *user,
 			  struct vft_entry_data *entry);
 int ntmp_vft_delete_entry(struct ntmp_user *user, u16 vid);
-int ntmp_ett_add_entry(struct ntmp_user *user, u32 entry_id,
-		       const struct ett_cfge_data *cfge);
-int ntmp_ett_update_entry(struct ntmp_user *user, u32 entry_id,
-			  const struct ett_cfge_data *cfge);
+int ntmp_ett_add_entry(struct ntmp_user *user,
+		       const struct ett_entry_data *entry);
+int ntmp_ett_update_entry(struct ntmp_user *user,
+			  const struct ett_entry_data *entry);
 int ntmp_ett_delete_entry(struct ntmp_user *user, u32 entry_id);
 int ntmp_ect_update_entry(struct ntmp_user *user, u32 entry_id);
 int ntmp_bpt_update_entry(struct ntmp_user *user, u32 entry_id,
-- 
2.34.1
Technical Details
Message-ID: <20261204071410.692071-7-wei.fang@oss.nxp.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-377137-linux-kernel-netdev=dewy.ru
References: <20261204071410.692071-1-wei.fang@oss.nxp.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-377137-linux-kernel-netdev=dewy.ru
From: wei.fang@oss.nxp.com
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next 06/14] net: enetc: decouple ETT logical config from hardware wire format
Date: Fri,  4 Dec 2026 15:14:02 +0800
Organization: Usenet Network
Message-ID: <20261204071410.692071-7-wei.fang@oss.nxp.com>
References: <20261204071410.692071-1-wei.fang@oss.nxp.com>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2699672"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:v+STIwnhiqKuLv2l8fVR7iEAFR4= sha256:gquPz46eABPm7/cm1teuqdg8/CIjjLAdg+4mRlwgRIU=
	sha1:iGHdNrZtWDO+jjhvP8sZ3cOi2Co= sha256:Hs1R/y8TYTlu5uQZhvGeb+oV1Y2uPst/KvK9B8p6E7E=
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 7664B117B45; Fri,  4 Dec 2026 10:09:56 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.199
X-Spam-Status: No, score=-3.199 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-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]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=nxp1.onmicrosoft.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 WaJ9Rv1pNtMP;
	Fri,  4 Dec 2026 10:09:53 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-377137-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=oss.nxp.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 820C8117B18; Fri,  4 Dec 2026 10:09:45 +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 E35BE269BB; Fri,  4 Dec 2026 07:09:43 +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=1796368183;
	b=0MtN3vdqOTfUQdR8zzdVHJJNzIGXmKwllfFBT+MH79k4TcM3Mm8V7ZXBsnqePWlOiVTJ
	 dqyWGUtjew5Yl0mPTpTKkcaslppBedI5jPOWFWoRyPRTmqnJecoNY73UmAdc+bojSrmjg
	 fhhS+u6B5J4+F/ucxruPX6U+omKCHEcXkLmr3IBWT/asM6mdmuzg5pGerjlPQMZnJp8Hb
	 7He9C7b9qGLJXOeuylBVBzXsYEIP1gyZzyp/7oROgdUoHJfyDnSXMvcOF5S5Y84fN6TyH
	 qou4GcE7bb7PSJuycTJfyQnQ4RTSCzAwmbQe8XP+VG7DdF/mDeOpm+5zlR/q2tmgMVA==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796368183;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Received:
	 From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References:
	 Content-Transfer-Encoding:Content-Type:X-ClientProxiedBy:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 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:X-OriginatorOrg:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs:
	 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=zuo1ncYxEjFjOVgv3HVCdnBwQDgHtvMHQAiwu+C6/0A=;
	b=PiQYMcJln7AuerHWgoV8PHH4AaLuzAZsserLdpX1XxwWZxP5ZXrDgHulpWdMS7JhIDsS
	 NT4HS0O87d1e3rUznGWHv5PZyoMqs7WoKVhaqRA/jSmQuYEO9mxRujcElARM814ivv2BP
	 M0UTBYtBGwMe4kxbXeUJrPyZ1HMsEmIF4hN1OpaFm/zRbf/n4cPAngFgX3HbnAhxSSqr6
	 0V99L2sfUchADs80UrE8pruoE1jB+IY5TG/yet930nkiJrUHAnxpQuF3dJXlsO/2g+Vx/
	 xaFa2n12U4/BG+fYvRkCLE7f2zeDEg2Exw7ADdwpuavUV0PSXDc9reD+4miHJS31V4A==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b="AP4Ir3/Y";
	dmarc=pass header.from=oss.nxp.com;
	spf=pass smtp.mailfrom=oss.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 B752E606A330;
	Fri,  4 Dec 2026 07:09:43 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b=AP4Ir3/Y
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.83.45
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1796368182;
	b=mPuU0juiT8QPKLiS/3QICeaaPMB4RtT5sQXH6fzy6qc0OhQ4bpYlM3QvsYVMbaAVA/Ft
	 J9OMPtoJCG2lCWI55dPbb19UpZNlmrBcE2RvzuzBHGWT8EHYAR4c4LMEG78He2XF92PxL
	 ZTLELo3OaaXENmAuAVuxRXcqFL26HEoD+57itZieXAAoAXZ7KFyRyyzvKcFARoqLcDX5/
	 QaBGlvRhsBlaZIpaqbGfIzDhngJpMda2LJdakRuYRmKqg0kBSWIG7bCE13V6OFyHBN9kK
	 PgPluh6Ce1kzXZ5pjr60/4aFRPIk7D+PFR7Qtl9U5acxNuMBArpwTqoxL96FhBXJR7A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796368182;
	h=DMARC-Filter:DKIM-Signature:Received:Received:From:To:Cc:Subject:
	 Date:Message-Id:X-Mailer:In-Reply-To:References:
	 Content-Transfer-Encoding:Content-Type:X-ClientProxiedBy:MIME-Version:
	 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:X-OriginatorOrg:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs:
	 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=zuo1ncYxEjFjOVgv3HVCdnBwQDgHtvMHQAiwu+C6/0A=;
	b=H3uX0/tMhaKLJQU+ajszYadf0kX1IWbvLkZ76qqKTqPX5AoaD3GCViBHgeTVitM+NB+T
	 Zh8SlEFRjeGAWf63DY3kLIM8qM12yG1DRJajqlk+ubz5SpOtBBFvvkeAOqDyA1nh0/G7Y
	 jho03JQdRXXNaj4ufuDmDqTTbonD5NrKGlsXtV7EzGZLl0Lle10WVVXtJMc8nZNOiSXwl
	 MDNyWaAdnx02X5yGrgv70nJXxW5TsDYIVo53gy2LIq+2Ytpu8dMHzlYAzwgxHiCo9du0S
	 D44rc8KNLh0nVJmy+F1EPlss5vUCOAHvey2SUA4GKTLlGdBaZRSAQ2S1zjo4YPsSXuQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=oss.nxp.com;
	spf=pass smtp.mailfrom=oss.nxp.com;
	dkim=pass header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-NXP1-onmicrosoft-com header.b="AP4Ir3/Y";
	arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.83.45
X-Received: from GVXPR05CU001.outbound.protection.outlook.com (mail-swedencentralazon11013045.outbound.protection.outlook.com [52.101.83.45])
	(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 E78A4606A322
	for <netdev@vger.kernel.org>; Fri,  4 Dec 2026 07:09:41 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E78A4606A322
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com
X-ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=uNxLG+JjOTU3WQZFV6KaPm51ISib3noq9D9VtlLLiUtQwImP/cxqZitLh85LfAigxl5GjWpYOlnOuAD2Nw7br8XHeDY81utW1zjSxvftXfRj+z4Vj993mtwvgHB89uaM2mHDHnsS4xr89txvzEZuFuDr9FwuewLAq8tJdvmMG0Do8DL/h6onaKl8Jb9Kh0nku1+Atx0d1w+HxDUG5Kc3nGS46S406Q4V9l0vHZZtCULQUrfiTR8etAny+K6hFXkM+mlaITg02VnJPP3pWNJa208HUFBQQirODamQijkMKE2Pg5h2Snl4HTTAN4Ggy1cnrn/l6zHwH1LHpkhSVdKHCg==
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=zuo1ncYxEjFjOVgv3HVCdnBwQDgHtvMHQAiwu+C6/0A=;
 b=CeKTF2uSXQXtOJ7YZFPt2wlhn40IEziPY+L8GKZgCQDyL2+yNXRoGPAE/ZKx6toa7TwQ/yYYRrLdQ3my6HPs/lYFr9ryMrtwFqeN/R986mYH6tVxNIr9UwBdqJaTA0b0lQ7VlQuQQg86ZvcbUgESybEkiinutSpFANsJUV4jG4UuogR/T31JU84r1L0BOUGba/Ufl9npptc1WM4RYCOtO62n/jO3SZT1ZyRvHkyGCBRLgw0SMIdQg/cGWdIn9Rni2Dkvy+Hs8GbGXKB4NcRUQh4u527WyFlE8JJpUjC4DtoVOtZiMU7bR1qnqY4ExI1d/N9j8+dQ7orlYq3I5WPing==
X-ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com;
 dkim=pass header.d=oss.nxp.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com;
 s=selector1-NXP1-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=zuo1ncYxEjFjOVgv3HVCdnBwQDgHtvMHQAiwu+C6/0A=;
 b=AP4Ir3/YSsd7GgByEEq0KFzopKdPFYjF0ymXaBAeoVPLJV0R8I8sfECgQQ80SJhrrFAlFJVQj+5MC1iP4VnF+FcDI0c3UFHOOVw4zGcxblGpBbKH9dbrxysulmotiyQ2GvY9YDRK+Ntl6GvnxqrnJWvurlzafYUZJe87RRmwFTmnjHQpEG/VMAi4pWyqNWJg+diXugE0wR1hLqH3kCeu6rfzUedzpQqMedbX9PdjzR12MAgzbYjufCcLkdcDWggIv/YQNc6m1l8tYVHU0Xs1SRa/x0D61/Cyq20hoKPajiQ9ymWA6qwkTL1je1lgilh7lpoMkzXCo/0wbNl6kWUE+Q==
X-Authentication-Results: mx.microsoft.com 1; dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=oss.nxp.com;
X-Received: from VE1PR04MB7216.eurprd04.prod.outlook.com (2603:10a6:800:1b0::22)
 by AMBPR04MB11763.eurprd04.prod.outlook.com (2603:10a6:20b:6f2::16) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.13; Fri, 4 Dec
 2026 07:09:39 +0000
X-Received: from VE1PR04MB7216.eurprd04.prod.outlook.com
 ([fe80::a9a5:cf83:dbe8:1f74]) by VE1PR04MB7216.eurprd04.prod.outlook.com
 ([fe80::a9a5:cf83:dbe8:1f74%6]) with mapi id 15.21.0688.009; Fri, 4 Dec 2026
 07:09:39 +0000
X-Cc: wei.fang@nxp.com,
	imx@lists.linux.dev,
	netdev@vger.kernel.org,
	linuxppc-dev@lists.ozlabs.org,
	linux-arm-kernel@lists.infradead.org
X-Mailer: git-send-email 2.34.1
X-In-Reply-To: <20261204071410.692071-1-wei.fang@oss.nxp.com>
X-ClientProxiedBy: SI2PR06CA0008.apcprd06.prod.outlook.com
 (2603:1096:4:186::23) To VE1PR04MB7216.eurprd04.prod.outlook.com
 (2603:10a6:800:1b0::22)
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-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: VE1PR04MB7216:EE_|AMBPR04MB11763:EE_
X-MS-Office365-Filtering-Correlation-Id: 93d073b5-15b1-4815-0c01-08df51d58f9c
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: 	BCL:0;ARA:13230040|366016|1800799024|376014|7416014|23010399003|19092799006|22082099003|18002099003|921020|10067099003|56012099006|261026140227099003|261022105027099003|261022075727099003|261028144727099003|261026121527099003|261021123027099003|261021121427099003|261102123227099003|261102130727099003|261009223027099003|11063799006|6133799003;
X-Microsoft-Antispam-Message-Info: 	Z1STYmTcrbd/GXx3ZKLFLdAKSTsv+Ymo8QqNUErssJUKjLdrIaxytPNVwkncgN/KgIWO0EjfSY8jCF/8CcHGQofiyq/17xj3v8dvFb6GA0lQpz0KOQnlWsYk5ct0wOtfiY76hqwpvDwRydOKt2V+1Yy33LeOs2R+x7KkLYpRjDIAznbsF9sk755mBAG0n/a2VFkCoq/5jE4rThVnFyHTcTK0VS3Fs3F5vkNRYUsc4GZTx1RCLby7Ijo4tIcoQO7bHNvBONR4VM336N03pbdV/rEJ9Pa+9lbqk6R2VJ/LtVvnp92JgyyHiaOLoGjhNWTQcrELVWIaKfxB6I5b8xz5SCznB2LOu+jw89o4x1MhFyvLNEh2mWT4hBa3L0ta4nZIqCL6Gr7W8mYaO6UFlbQuSdw2K/LfyncEMlA+erLDmERx+qOgh10cs+hSe/WzZ5wzLBfiqLb4f6ao3gyfMCdIJfaA4Dmgo/SKTUBfi4njK8yUyJ/PP7b0aDE3f0QydvQjG2QnWkz7bErHARHqBAy1OoHTvj5LMQ8CBAgwYHDqkEAkmJJfcUxHYlNRCW0YZrikNwOigcePRJ9jKZigEQdAy8w5Olc2Ql9W847W/qLFnGRJlWVYkK+tRGAWdLg4h+lEdJynRwRBkuWuuIM5DdcPFDKSanFHL2kHCoG8K2tUtOF2fLzE8LzDm0MZqDQHDj1grpeN/blxvo7XJ5GQGmTpkw==
X-Forefront-Antispam-Report: 	CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR04MB7216.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(7416014)(23010399003)(19092799006)(22082099003)(18002099003)(921020)(10067099003)(56012099006)(261026140227099003)(261022105027099003)(261022075727099003)(261028144727099003)(261026121527099003)(261021123027099003)(261021121427099003)(261102123227099003)(261102130727099003)(261009223027099003)(11063799006)(6133799003);DIR:OUT;SFP:1101;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: 	OWk/SZTh1J8qcrwkm9jbZoyURwuinHshRw47tmwFLCjQvWFY8S4MrXfiLK6ejo+/v2ua4SPFenFZwDFcK8JMug0jFvLe/OTlzJe6qy2a2TAPzEWliDaRYPxr2FoQiH82osVEOgjzT6uFtb66lGHNVwt08W9KVUkz7MMbkiMX5Q71/7B5yVI4CcZ7xzce6bKf+gQC2DC+ln9MmQH8Y5y70T8Eqck5Z1GZROXTGG2P2KMZ6A+aPXQ+3eZgAPP8xj7etvSbTBkRwI5eVjlQ9spSaSLss9fA+BG23F0QRhMdF4xKIdSIitczF4z+E2BOFR8JlBsna1/lzw89gJ70wzIXks8pOLL9ZCXyrN/EbFGhDmXgxVsjn2P1cBc57aW+8qj0WoPEnWZQZUmcvUQQrf3VqJ97EtqWQm00tDZXNyw8/NLejXff/7FqSZOfraivDxCyp/6nECN8WHbF5wZ3nMqZlV6Ig1PnFbAbY/XSrYcBcxYaA3Rl9j+g/Y1bxT9QDlOJRtyi0sLYHWctN1Oc0ph6Q2zD423dguJ5ztHNPmU1b6IYgjnj5VRJqgDIeYuW/yS78xijBLgq39SbqKr7poHT8ef/U8Q6OVDLR3DWJRDW5a/S9o1mOJFM3qqM2Aq7cpchZwqvWfwVWfzJRh45xAzgA5GIJI+PraO2jLPQMb82r+ev+j4Fg2pt1EmtrqSi3J9T7BD1+9a5tZjIYF+LUX7DcAKuljT8YL3GBWDF/nLLRPtkNKUHUoIuSfqUSv3rTEr88I/zbGyV0qQkhMOTzhx1JbIgowWDHDs+xdvhed2AvQAii0f8BykdMGy/7iTBhVj6P6ULaSbLYOIWVaszeLGM40kIMPUpxykqsygGp2U/eGm2sLFjZDGr8498H2mCiJSsWR2VAM9JH8f/lId+ygzS52CdvE+p8gkp9HyN3Ph7mlCg//1s8IZbUGjgvVCZ8AG1VHMyLUdc421MHS6sOi2+oJSKC6+KjlfAzKOrII7mYcwxfFD6AabsIIaPe5bGAxTmEITkAWyExciOpauXvE7jiC4NmIA8yzaPdI4I578VLyf76ifRHE6wMeNTA4YTEhnMV3pELCLuaKdyNIHcM9YRz0GTXoPMoU3RmPLT0oOBE3hmLfmAZAbb13+xmy456QgCqBVy7zzhnJjxpPCEz2VKMkSkvwibX6nNFarjyGMD0DsgtzGDkaeEhu3iM/EOzQyede3/eeLA4+z74/rxjvSmTX56A/TjgMOg8jUhI1NuItIx7NGyVIEfWjNTeeEFIHyluk3hJC/iFuGy7cnTcXrWb9DZB5lPmpv1dE2ydhBnTnrKtlwsZLufrHiWNs1MU5UfEfroZDwXXxciQjLqazztY0NRouAJREp+nE0Mplef/5GdQvn0pQxH+0yWuBRshkQ2tkdcTKy3rxuqrhNL+P/hkVw7OrDaiMlawZ783TqHx7gGH6EEP+WE/U3A/FxZafaMQImuDGtueBKG/cb+a7oaB9nfnVBkVhH53Icnn+kEiFhHlf/I4Ck+o1b8ApPv6F+6I+CxSF0aZdqgt1kKaDDKRPjTo70E6L8byMzQM3c/w91PyhEJCZHvN5ey61WpTUSSQ/dfMMMC0Q6+V48foysrpWNgE01i9T7xmgWOGdXkntSvLovak1iOIvevYVutkcQavG+aWknOCRiYtTVjD31GI4G+TH34g9dLG56y0R5KKxCFPEdB/uDK875dAru34MMH4A71kYjua8mVCnRTL4Wd6dyNzwxa5Zg7V9jyTto+zC67tVtdZr29e1fsZkx9tqBv
X-OriginatorOrg: oss.nxp.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 93d073b5-15b1-4815-0c01-08df51d58f9c
X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB7216.eurprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2026 07:09:39.0929
 (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: 2Sw4/x9953hCM7LM3NTlMatVg+mjNlNNBVuE2KDvR61GhqBSV7lITN0rt7q22DDet8j5EpjQJem4eAJ0leWsCKYb+1aHBsLSCUeKFdvF6Z8BMmtCVKocKdzkEfDoXQu7
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AMBPR04MB11763