Article View: linux.kernel.netdev
Article #26799[PATCH net-next 08/14] net: enetc: add generic ntmp_add_entry_by_id() helper
From: wei.fang
Date: Fri, 04 Dec 2026 07:14
Date: Fri, 04 Dec 2026 07:14
258 lines
25571 bytes
25571 bytes
From: Wei Fang <wei.fang@nxp.com>
Some NTMP tables have their entry IDs allocated by software, and adding
a new entry to them follows the same logic: look up the table ops,
allocate the request buffer, fill the common request data and header,
then issue the add command over a CBDR. Adding such a table today means
duplicating this boilerplate.
Introduce ntmp_add_entry_by_id() to factor out this common logic, along
with ntmp_table_ops() to select the table ops by table ID. The update
actions are passed in so callers can request the needed element updates.
Convert the MAFT and ETT add paths to use the new helper. More tables
will reuse it later.
Signed-off-by: Wei Fang <wei.fang@nxp.com>
---
drivers/net/ethernet/freescale/enetc/ntmp.c | 182 +++++++++++---------
1 file changed, 96 insertions(+), 86 deletions(-)
diff --git a/drivers/net/ethernet/freescale/enetc/ntmp.c b/drivers/net/ethernet/freescale/enetc/ntmp.c
index 07a9117273220..fec6c3fcfd2e4 100644
--- a/drivers/net/ethernet/freescale/enetc/ntmp.c
+++ b/drivers/net/ethernet/freescale/enetc/ntmp.c
@@ -640,6 +640,76 @@ static const struct ntmp_tbl_ops *ntmp_get_bpt_ops(u8 version)
}
}
+static const struct ntmp_tbl_ops *ntmp_table_ops(int tbl_id, u8 version)
+{
+ switch (tbl_id) {
+ case NTMP_MAFT_ID:
+ return ntmp_get_maft_ops(version);
+ case NTMP_IPFT_ID:
+ return ntmp_get_ipft_ops(version);
+ case NTMP_FDBT_ID:
+ return ntmp_get_fdbt_ops(version);
+ case NTMP_VFT_ID:
+ return ntmp_get_vft_ops(version);
+ case NTMP_ETT_ID:
+ return ntmp_get_ett_ops(version);
+ case NTMP_BPT_ID:
+ return ntmp_get_bpt_ops(version);
+ default:
+ return NULL;
+ }
+}
+
+/**
+ * ntmp_add_entry_by_id - add a new entry to a table whose entry ID is
+ * allocated by software
+ * @user: target ntmp_user struct
+ * @tbl_id: ID of the target table
+ * @entry_id: the software-allocated entry ID
+ * @entry: the logical entry data to be packed into the request buffer
+ * @ua: update actions applied to the entry, 0 if none
+ *
+ * A generic helper for tables that add a new entry with a software-allocated
+ * entry ID. It looks up the table ops for the current version, allocates the
+ * request buffer, packs the entry data and issues the add command over a CBDR.
+ *
+ * Return: 0 on success, otherwise a negative error code
+ */
+static int ntmp_add_entry_by_id(struct ntmp_user *user, int tbl_id,
+ u32 entry_id, void *entry, u16 ua)
+{
+ u8 version = user->tbl_ver[tbl_id];
+ const struct ntmp_tbl_ops *ops;
+ struct netc_swcbd swcbd;
+ struct netc_cbdr *cbdr;
+ union netc_cbd cbd;
+ void *buf;
+ int err;
+
+ ops = ntmp_table_ops(tbl_id, version);
+ if (!ops)
+ return -EOPNOTSUPP;
+
+ swcbd.size = ops->req_ua_len;
+ err = ntmp_alloc_data_mem(user->dev, &swcbd, &buf);
+ if (err)
+ return err;
+
+ ntmp_fill_crd_eid(buf, version, 0, ua, entry_id);
+ ops->pack(entry, buf, NTMP_AM_ENTRY_ID);
+ ntmp_fill_request_hdr(&cbd, swcbd.dma, NTMP_LEN(ops->req_ua_len, 0),
+ tbl_id, NTMP_CMD_ADD, NTMP_AM_ENTRY_ID);
+
+ ntmp_select_and_lock_cbdr(user, &cbdr);
+ err = netc_xmit_ntmp_cmd(cbdr, &cbd, &swcbd);
+ if (err)
+ dev_err(user->dev, "Failed to add %s entry 0x%x, err: %pe\n",
+ ntmp_table_name(tbl_id), entry_id, ERR_PTR(err));
+ ntmp_unlock_cbdr(cbdr);
+
+ return err;
+}
+
static int ntmp_delete_entry_by_id(struct ntmp_user *user, int tbl_id,
u32 entry_id, u32 req_len, u32 resp_len)
{
@@ -716,39 +786,8 @@ static int ntmp_query_entry_by_id(struct netc_cbdr *cbdr, int tbl_id,
int ntmp_maft_add_entry(struct ntmp_user *user, struct maft_entry_data *entry)
{
- u8 version = user->tbl_ver[NTMP_MAFT_ID];
- const struct ntmp_tbl_ops *ops;
- struct netc_swcbd swcbd;
- struct netc_cbdr *cbdr;
- union netc_cbd cbd;
- void *buf;
- int err;
-
- ops = ntmp_get_maft_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;
-
- /* Set mac address filter table request data buffer */
- ntmp_fill_crd_eid(buf, version, 0, 0, entry->entry_id);
- ops->pack(entry, buf, 0);
-
- ntmp_fill_request_hdr(&cbd, swcbd.dma, NTMP_LEN(swcbd.size, 0),
- NTMP_MAFT_ID, NTMP_CMD_ADD, NTMP_AM_ENTRY_ID);
-
- ntmp_select_and_lock_cbdr(user, &cbdr);
- err = netc_xmit_ntmp_cmd(cbdr, &cbd, &swcbd);
- if (err)
- dev_err(user->dev, "Failed to add %s entry 0x%x, err: %pe\n",
- ntmp_table_name(NTMP_MAFT_ID), entry->entry_id,
- ERR_PTR(err));
- ntmp_unlock_cbdr(cbdr);
-
- return err;
+ return ntmp_add_entry_by_id(user, NTMP_MAFT_ID, entry->entry_id,
+ (void *)entry, 0);
}
EXPORT_SYMBOL_GPL(ntmp_maft_add_entry);
@@ -1460,17 +1499,32 @@ int ntmp_vft_delete_entry(struct ntmp_user *user, u16 vid)
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
+ * ntmp_ett_add_entry - add a new entry to the egress treatment table
* @user: target ntmp_user struct
- * @cmd: command type, NTMP_CMD_ADD or NTMP_CMD_UPDATE
- * @entry: the entry data, entry->entry_id selects the entry and the
+ * @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
*/
-static int ntmp_ett_set_entry(struct ntmp_user *user, int cmd,
- const struct ett_entry_data *entry)
+int ntmp_ett_add_entry(struct ntmp_user *user,
+ const struct ett_entry_data *entry)
+{
+ return ntmp_add_entry_by_id(user, NTMP_ETT_ID, entry->entry_id,
+ (void *)entry, NTMP_GEN_UA_CFGEU);
+}
+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: 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,
+ const struct ett_entry_data *entry)
{
u8 version = user->tbl_ver[NTMP_ETT_ID];
const struct ntmp_tbl_ops *ops;
@@ -1480,9 +1534,6 @@ static int ntmp_ett_set_entry(struct ntmp_user *user, int cmd,
void *buf;
int err;
- if (cmd != NTMP_CMD_ADD && cmd != NTMP_CMD_UPDATE)
- return -EINVAL;
-
ops = ntmp_get_ett_ops(version);
if (!ops)
return -EOPNOTSUPP;
@@ -1499,59 +1550,18 @@ static int ntmp_ett_set_entry(struct ntmp_user *user, int cmd,
/* Request header */
ntmp_fill_request_hdr(&cbd, swcbd.dma, NTMP_LEN(swcbd.size, 0),
- NTMP_ETT_ID, cmd, NTMP_AM_ENTRY_ID);
+ NTMP_ETT_ID, NTMP_CMD_UPDATE, NTMP_AM_ENTRY_ID);
ntmp_select_and_lock_cbdr(user, &cbdr);
err = netc_xmit_ntmp_cmd(cbdr, &cbd, &swcbd);
- ntmp_unlock_cbdr(cbdr);
-
- return err;
-}
-
-/**
- * ntmp_ett_add_entry - add a new entry to the egress treatment table
- * @user: target ntmp_user struct
- * @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,
- const struct ett_entry_data *entry)
-{
- int err;
-
- 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->entry_id,
- ERR_PTR(err));
-
- return err;
-}
-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: 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,
- const struct ett_entry_data *entry)
-{
- int err;
-
- 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->entry_id,
ERR_PTR(err));
+ ntmp_unlock_cbdr(cbdr);
+
return err;
}
EXPORT_SYMBOL_GPL(ntmp_ett_update_entry);
--
2.34.1
Technical Details
Message-ID:
<20261204071410.692071-9-wei.fang@oss.nxp.com>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mi.newsdeef.eu!srv.newsdeef.eu!newsfeed.endofthelinebbs.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377139-linux-kernel-netdev=dewy.ruReferences:
<20261204071410.692071-1-wei.fang@oss.nxp.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mi.newsdeef.eu!srv.newsdeef.eu!newsfeed.endofthelinebbs.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377139-linux-kernel-netdev=dewy.ru From: wei.fang@oss.nxp.com Newsgroups: linux.kernel.netdev Subject: [PATCH net-next 08/14] net: enetc: add generic ntmp_add_entry_by_id() helper Date: Fri, 4 Dec 2026 15:14:04 +0800 Organization: Usenet Network Message-ID: <20261204071410.692071-9-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="2699895"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:X++wrz/5acDk2Nv91xUcrwLYCus= sha256:9Rc+ga71F6AXXWVBE2UQsz141w2kmHQaA8Z5cq8U76E= sha1:9qdnVE/SqKkjCZkLZ/XElkgLNhM= sha256:WjhMEQ7wYmeTpXvMl8giJTE7B8xU4vQEOUG4+YdV47U= 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 CEC44117B47; Fri, 4 Dec 2026 10:10:08 +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 LddpeUi332OM; Fri, 4 Dec 2026 10:10:06 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-377139-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 3D489117B45; Fri, 4 Dec 2026 10:09:58 +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 44472272E0; Fri, 4 Dec 2026 07:09:56 +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=1796368196; b=GSTnuw+gZ5Wlq6Mr1EBjYIIcTQgEVuGeK+4y0c0X1kpGKqcCsh/lI7Ywz6juGBRD8/Jx qnjSJhzPzEf4BxQbq9Hd1ahuJEIcUHVMLAeHvmHQOfVGRiEunf2z2sg7ZNUFLdXi3QEIL 6QPos4Di5cL/tjrGponLz8xbzytHxHIhuKTwn+KspxZclnhoWoCVY3OxAnsw38b+xqBm0 W/Me7ePsjUygtIpaUVjU6YVQvG5H6sCGSzoUFyLlUoLQyZmC4/iMJJ0WHaEHI1HS9qxeh 55sf6N6JQ2R0z2kHhiC3ylgGZtHibLjlSZZkgCdQMor3DiBAKNz5jeoJf2XD+gx0QHQ== X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796368196; 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=5ptDMXuA/ZFpKsdePQ7UnI9cF2P14szY/VGcWXIBwzc=; b=i/lG4FTrQodlv7ZRpM2fLtjj89OvEg4W4TOLBDpRXb5iF9mOfNnoDv0XqdqXxt4Nqku/ ttwK/kx2LECoid+/J4rFMQQP0uin73F59HKebizAhVYTdauV6dDigsC5QnN9doLQu/pEA OFHsWlM0Nz2Upy3TAHZ0f0MXo87uvV1ukUcqzTFe7YFLM7Zqx+sefdYZOsxvJ2qeW0Grr 7KINW+PBMh5PiMsT5Vbei2+fQ0i+OoVatMOOao7/jA4YFM0U3qWPDlGE8XjQzYa0+96PS FDqlHLtQybeNb1K6PJ8qCvvwO8BOPUpYInMVjGOB0rRWgaNpYX1zHI31hdFHfyPPmzA== 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=hl4QoWA0; 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 1AB74606A336; Fri, 4 Dec 2026 07:09:56 +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=hl4QoWA0 X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.72.57 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796368195; b=u+Q3TuIq5AzkRoJGQYgx1/hsApyrIMRN4ZGd1JlUZrxZyOvo7B3H46QU6CRdNoodh9Nn 9hnK9YerocVRiGpGSHg+POYaUKRZ++XXA3gVF0OiiTJ4QDaMAr+IGJesbsFQm/MQJH50I 9RI7rmU79FevjeHr8XKyrJ8DFoFlAXCZI0k/Y8jbvZQlHienq68DA3u0khCxMS82UinyN 80YTBwKgNNAA0XD+A27qQqZ1rSe8EkugD1F5pJMCHwF6GHH6LArK3I6jeSy1ci5XeUMw4 +wMEwp88EcVv150RLMF275puZS8/oNV6EO1KVZeDVuAiCrb4PvHtOg45aLzGYXEg/YA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796368195; 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=5ptDMXuA/ZFpKsdePQ7UnI9cF2P14szY/VGcWXIBwzc=; b=y0F6UyNkW4IcFvQP7Cjo5tfGSYSdwZatH64WiMNJTYFphZG9K0XekswOd1BYMD0IW7mr 8CDHNfxw8bNlJYjTu4PgCtPb+p1/EDBRpJ91UQX1PskgExTa/nhyf84AktdfHShsAvgyz shqhj+y9k6zhJN5trEKrIHrbAhrm1j4BrxI7f8bsoVtO/RgjmgyvIJByRFGQH9+TKRd8x VxJywc8JsLiyRlL6tKamvjU4Cv5xCpLrHYa9MkZYY0cRzlLwlcr4vPhjTBfFTu5ZzIPrF z8/yufSVvbsOxoCyeiKyIyQdKTohEoO/Xx1aAkkPZy0+asiWSYEPBxJnRWbkQYOwMmg== 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=hl4QoWA0; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.72.57 X-Received: from AM0PR02CU008.outbound.protection.outlook.com (mail-westeuropeazon11013057.outbound.protection.outlook.com [52.101.72.57]) (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 8ECCC606A322 for <netdev@vger.kernel.org>; Fri, 4 Dec 2026 07:09:54 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8ECCC606A322 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=ScK0JElPO/4WLJizGSrmwxF9kkJWM1rWf1DLG+NinQWvSfOt3g4S1aiirfPqUbNM77PO4t2WvIejqvPgxb+VeavC6lloAoypIeJltZAzeMG0E1D5fR3MxppYnMAZICuG3S5j5DO7vIr10fyNR6LCkzRg+SzRHlVradu3eETuw2TAYwD4fGQ385NGdNmVf9tkAbKyNZwtBV2eX85sCROK/nInVlAK8Nk4AjAyyNIb1w1YeP2PJF0P3ZsS/ph4Z3FvPSoyB68UYOwkOnFAVui4UriaHhVH3aj2rdcMl/kd2nPjGOqj8qTcszU9oQdv4hYJdP1AUJ7q/OkVp7MOSv5MZw== 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=5ptDMXuA/ZFpKsdePQ7UnI9cF2P14szY/VGcWXIBwzc=; b=htmYUTHdkHkJUcYBC8IAKNI1bIvj4NJiSIuoOq6vM1fxliWZGFgG4IFuLt2SdSSZ7dBS9/p06Ml3OQ77ARJ2c3x7iiPnatvqfbZkCdPxQiPn72chFHHeRO6bg2Am2PvWqFWqTD9j2MHRpk2FJ5h4KpKMikltvIZcKyYDHGTziFKBb5vtraFUXR5Cxc+TikHD4omyw6y6EfLspF8pLEc8ni1c5o8OmD/JfCi1F7u0qBohW4iNrU7RsylNLoYW43x+4psEF3oHnfD+4Au6Z2Vt9CXet/mFVqPGEXGDLVcKxA1bPzcYKR1LAIuF7iqgwMdasT/lg/GcWWNAXZngWnH1jg== 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=5ptDMXuA/ZFpKsdePQ7UnI9cF2P14szY/VGcWXIBwzc=; b=hl4QoWA0ub4UZOX+rzLuWeFYDx/oI5qa+URtghUwer6r6UCpLnykyeLymMGJJ36Cx0T8NdDW6Iay+hbgkq3pqlt8EyYRCoHNRWTmb65cJpexfM0dC2OHFhkUmb9yeoDr7XXAztNeQTOBjG4Q3NJqsULMRxD6iXccw6uDIA8ta7I3pBetKxmGaXSFb0LgHpHaMzFFcq74cJ8vPOUhQfy++ClPBkkJRZwWPqe4n/IXkq+61mbgtm1UAqXgkXRNFD7MOZt7TR3J3463oXuX8r/zF/io9XSuFOS+pG9kDdAt0fvgvsoyT4mgxAxRiBzsgWfA9j+pnq9YeAU+GiCNPPKx/g== 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:52 +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:52 +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: SI2PR02CA0007.apcprd02.prod.outlook.com (2603:1096:4:194::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: f169ad66-9f1f-4bc3-9469-08df51d5976b 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|260925021911599003|260925021311599003|260925022911599003|261026140227099003|261022105027099003|261022075727099003|261028144727099003|261026121527099003|261021123027099003|261021121427099003|261102123227099003|261102130727099003|261009223027099003|11063799006|6133799003; X-Microsoft-Antispam-Message-Info: P0HTLrvOrNGegX63HtPQ0w7icIEFS021Tblk+VxSy9Cwzf2V2Y7E8zkgl6gdIzjcxB2EjE4zdfbeNiX+NiftEz2PlpfqN+SFJcde/6xUh5HOLhApPkyx1HDdezJn7xBx6dg6pV9eYUx/hIUiuZucKhgQRyJX+zzod1Vj7tvt094NSbWa1oO5WDu7laO9tA/TEQv705GvFEf/fUAKzFQLfLJBP3sRo2zSffprY/FvMy5bh1xkj2/qsSYFFmFUKI8VBG9/APhIxo42RWhb9c1QFBpkmpngRhRcI74JGQypUDiOpnHFOJMQ4W8oy1vjt+sNr72lP7ayHmtkyfmsP6vyNXJN6KkYJr8TCMg/G/QjQ4jj3LQeEgzoLrVRDnRo3fh6l3tGQw65Tzt/eT/vseJKaxR6s4+0bfjEWJbVNlqOrd9U7WMOjkJWIZF9rBcJf4Lra+fLyQ+UPvsITc9JXA/3pRrJd09KD895Bem5glsdNLFPvMOhRJhe4gTheuylVgD3qZVmsx3FW1iLO0XZf6IXv3K8UclwGhEta0Gznba0mPwxKpb7ZdVW8AaLoDi5EiBfwTRwPpjAUs3XSg8UjgRtiDIvjdt34gED2HqxHOJkGG/VP8sHee3OYkL6fR+OzCUiR0Z1bGfJvReYQlM4M/LbVoRb9IuWiXyg0NSSXdRSV9zsL8AzKAbh73512eDyVS3yimxmAARQgaICd+rt9N71qQ== 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)(260925021911599003)(260925021311599003)(260925022911599003)(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: 0TKXnUbhMi719vBKmUXNInDqQZnoy87EoMI/hP4LbNBm1QdZmFg4kbu47flqotgn8Nk0zt3i4AqaorTJaVf/MS19VeJUC7oJWPJJ30ZEY+ttDx4s39gYLIMmb64wmicEZUXCDtnK07rwXvMCSVFrLoSKudCdUukAlSyxGna6YwP1i+BME655OB0+O+w43Q8pLKinoBLeMVvDT4TYiXFDtM7J0T9bmpYhd5CxFbmw4c0jXo9lzn924HTH09/OYpXMFKCIfYHwvScI5KpLGaj+AENzzZ57Cv2odaB+6S9rmiYfPbany3LTBacGNZ5r5716RwIiFukJYM6QO5QhND6TALl7kvN6iNIwEFCgLAwifKfNFXjR4Ffln/iZowBeRr9f4VmKqA6MIxmFL35M05gqHHqrUVfInya0wf/gw/FHISMpNho0JPtAWZjkVhBrq5ZMHW7oDpPe5m83uDxJIXz7ywGWUsvw2NGuBRiI3mWTwnEveH5E2Z8cdizaUsu1agnBJ6mP6PdvS0BTnFydgBFivet11EQbS5mwRrl1kCdewO2VRODEi/hDVjQKMjK07TYOoB9MEEWGMwHO99zk/sFYG8sTq0bZQjAqw/xejspLvL4wS7uRWm7RtUzaD42bfMHUOeMxZQ1Gfz2z2LYj3iAp/qQRGOQ+68JOLX9/UIHP/W6Hpe624LK3q93iVYcpZM+W8v8Pf9Mmjz9XaH0fUTg5QlXEHJjlzGTI9QhHwJI2nISkFhfuAayZWUbuC564Ckfge3Ra9cO1JgmJoJ05lk6ZH+t/X28RgaP292gZIJYcVcifrNXH1daQ0rgG8DVsAHYHgWCOHRaWlHuz/LjBjoXpNIsjLOB/FujspwSJQCY57sPq3LJilbZgGSUDp1pjjIwJlPAOL/sjryjGUnE1vUDKzA9tbK1A3nITsnRLabi1iWP1B6u6eX2hyf5uSFKjoxMvaI8Q6FNDQ62ktMYy43yDK/ENBPreTGsgJhFP3DiCQElRKYW6tkTAGnxSFbEZh/Sc3yZeEcaz9D5U38eA+39YUFBg2S1tYzedHt8mOUsKr80Vktcwwyj9PU0dFPTFfcln6bX87CeQ4hbXyLI2sN0elFUSdBNGJ7qDCcPS1Ml2PG7JStdA+3O6nSbMBUs564bkP6eazH9+tPhqJdzuF2v2YqH0D04KirUlVUvU9UJ9pRbgUz5Tnf+ClpHmJcBCxlJRmb/zxnbTR5OIpttiVeKR2fEsZ9qfgf9TQhSA2ILKmQarwY6S6CbjEOC1pgA43a0bq9BUmyYik6xuARZ2eIZqXmPA3zpKUExLlIoaTUeWWA6wPPuXr+PrSfSA+ZDGxHtp7HuPWMV1cetc9PiOiP3ItTsy0CaMS3b21lSjvmaWl+90wk89q6PTWdjJZC2OWyNCJ0H7BRbWhNOUdzgyfT8fNlMkWzKiiG5HO8tPhM+wIvRashj0LQnFGwU7CP4Xnx0MT70lDTYWFqcrG/9wnbIe/OV8frl6o6xdgrAKNDGzJw0Utt8Ouejn5LTaFWBt+hyicM7gOHpXYgAhHT2mkFEbTGtt8bzGmywJclmkvkLQn7/SYPlb7ch2G5OtL7DEoszZq9UaZ2dEtwPyT0SGYLKSRKIbNZ6yzRmERnrIE+mn5Q1Gvrm3jcd6Vn+KtIp5y0Ud/B8u9R6oGM5a5rxA8qubq/W5w1dC+LVZ0Pg7S/zrCqfYf4A9Vp8ebgPtvs/frcP4xRMWDdGb/ykNqz+PaJb3ANxW64WWONTGU/+0/t6GXRnIsrlNNmkhZCpZOSfi6bCB X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f169ad66-9f1f-4bc3-9469-08df51d5976b 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:52.1851 (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: iPRWk2khE45H/fys7IUYj2vczakjOTJCViuDANL2jW9GISgwZ1N7S9JW4sCaRww0lVb3CqcATrGAebADYh5w+5zP3ZRkVAmkLbkPQagLM5Uh42bGJR/1CSznvpp01jVf X-MS-Exchange-Transport-CrossTenantHeadersStamped: AMBPR04MB11763