From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E8C4B45E41 for ; Sat, 7 Dec 2024 09:01:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA0F640281; Sat, 7 Dec 2024 09:01:45 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2062.outbound.protection.outlook.com [40.107.223.62]) by mails.dpdk.org (Postfix) with ESMTP id 2BD2840685 for ; Sat, 7 Dec 2024 09:01:44 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lgKAELwAI26UBe6Ly5nF7E/P1cgMH5CMS1bmIQUPwP0XQF3dNd/0Ew54HBRmm8W1sQfvdcgeSLRatZFbF9X0f4ee7EEIB8bB21kalH5MJIy7mCvi2m6selhuCAFxuFXc97KIDSqxbxPg2TUFBwa6UIwoySCKs+S2e2Ow7hzNu/GgfBESoFkXeH9ziu2XUG0fltD/uSKYN+AAaTuepjOB/tmGs5vin+b14Q1Dia2SAwoRAYHk65Yduqj7c9sG2jTasx//ui0GFsOUKJzXIDZTtPl2nKUOtl13NIF1b9rUfVPwJ8ZZ5GeQ7Pd1B9KtU++FJLUJ0/9mKBDOaugOmIpA0w== 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=L1O0n7n8m8/pIjkg/vGNtWrDmvgVj/xibc+1sT2vpzc=; b=KzY06xnjEjcuSWFAtVZ6QtWnOwSVZ9FGGs543g9FgXrFVM1lw5pwyx6IbuCRqhdWj3RPArE47moTeZEl4Z/tszJN1vTXcm1GCiPV+GAZ63vXMQHq7Z4qZEIPx6ArWeWmj9nC6z9GVI4tHeNkREanw+m8QRZijJklQy4Qh7tr38ZIBA5a9s9Riz8KRNbJEKx+56w51G+VOzyMflKdh2cC7X1aZGe+2/BuPBVxbDHOqo3444NeWXYFYYdYmBPDorqwmuYeSqc/6/9I9GaRbjoem3PIrpWV7OkWmVJtnwnrDWJLQMvrGsmK239ila8Pvvh7tg3ZoLqDOma5IsB+hRSF8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=huawei.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L1O0n7n8m8/pIjkg/vGNtWrDmvgVj/xibc+1sT2vpzc=; b=dogc3LR5jf866FJARfC4wLGkQlUktm9guooFTnGfEgHH7DYy9tOk4IoJcONHTH2Vo4+lwNjSCqqSDKenoGBHfqkXwRrqp7uZ8cWVCY4EbJx2d/0HncUGHXFVgcxN0qIHOI7MNeaW/0z5uXJ+aK1XXi1tsDTvxZ0ROYqJePYBUOhnRJzrcuVPJsDomApclYppQyVevpfBlvKayZliosJ8vhLG3AHxtnxXdY0CluzHUnKZ1/Czbpt6pCgEfnp5jEjqFDJnV+pFuJ55lyipsmGjGvEBx4dxY6GeKQUKEyXp6GOaUMn24qRVHRoJ9jSHF6lwcON1YQudUo7kpgIIilcC8A== Received: from PH7P220CA0153.NAMP220.PROD.OUTLOOK.COM (2603:10b6:510:33b::15) by PH0PR12MB7981.namprd12.prod.outlook.com (2603:10b6:510:26c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.20; Sat, 7 Dec 2024 08:01:38 +0000 Received: from CY4PEPF0000E9DB.namprd05.prod.outlook.com (2603:10b6:510:33b::4) by PH7P220CA0153.outlook.office365.com (2603:10b6:510:33b::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8230.12 via Frontend Transport; Sat, 7 Dec 2024 08:01:37 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CY4PEPF0000E9DB.mail.protection.outlook.com (10.167.241.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.7 via Frontend Transport; Sat, 7 Dec 2024 08:01:36 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sat, 7 Dec 2024 00:01:21 -0800 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sat, 7 Dec 2024 00:01:19 -0800 From: Xueming Li To: Chengwen Feng CC: Xueming Li , Jie Hai , "dpdk stable" Subject: patch 'net/hns3: register VLAN flow match mode parameter' has been queued to stable release 23.11.3 Date: Sat, 7 Dec 2024 15:59:21 +0800 Message-ID: <20241207080055.488538-4-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241207080055.488538-1-xuemingl@nvidia.com> References: <20241111062847.216344-122-xuemingl@nvidia.com> <20241207080055.488538-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000E9DB:EE_|PH0PR12MB7981:EE_ X-MS-Office365-Filtering-Correlation-Id: e5c0b7ef-958e-471b-8b23-08dd16955fc8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|1800799024|82310400026|376014|7053199007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?ThNWd2sgA0kN7kvLQN8qIabNXhJCV6nI91N7HWC6UxUvRCAZW4rL3oHQgUeJ?= =?us-ascii?Q?iklCHa3JhJNN0rJPhFyRvyvl3I2+YufkB/TnpFPnYnmjCetpeX+UrQFY6IKY?= =?us-ascii?Q?2iBXLbtmebVgUhBLCvEgzJwAi78AmrymVKDSzHMDUPtU8pbZJBzL+CWC9x4S?= =?us-ascii?Q?O0RNelwU91jXPvgZJ2eaue4xWpegffbo1wetDjAH4s2KfWvK4wYGSWcXA2RJ?= =?us-ascii?Q?WM5F144bb3HSC6F0ZCX/0aaF5wQl6hcnc0lYTBUstdA7PybxozpgWgxH4Deq?= =?us-ascii?Q?4HYyiJvS3eY0CciRZu2gFLxSMCdr93Exr2i2EndJIeJf/yCyDLNtDj40+7xY?= =?us-ascii?Q?YOIG7XzH/9ZiXhniQ1Q0j3tmPz5dtF21pYcAUS0fV7pQPiWtxdl33OGaKC3t?= =?us-ascii?Q?4vCkg+H52t/ibrsTEc2ilr58Atbaf6cnqFuq9aqCqNWLq9jKlZdsuGSvye0h?= =?us-ascii?Q?wpI+MGl63O5bmifo/LgiPgd+B491iv7cNlfj+hl+34zR10LPU+6kztN/wGYc?= =?us-ascii?Q?0pKLP/vVPfa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a8ADtW8?= =?us-ascii?Q?sznLPBJh5TqGkG0psUlMwZzUb/CKuoSq?= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230040)(36860700013)(1800799024)(82310400026)(376014)(7053199007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2024 08:01:36.8144 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e5c0b7ef-958e-471b-8b23-08dd16955fc8 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000E9DB.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7981 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 23.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 12/10/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=78b0870687c5a1f5991b3d140339ba02a2ca14e8 Thanks. Xueming Li --- >From 78b0870687c5a1f5991b3d140339ba02a2ca14e8 Mon Sep 17 00:00:00 2001 From: Chengwen Feng Date: Fri, 18 Oct 2024 14:19:40 +0800 Subject: [PATCH] net/hns3: register VLAN flow match mode parameter Cc: Xueming Li [ upstream commit bf16032eb1e62338e02b1278e10033366448c5bc ] This commit adds fdir_vlan_match_mode in RTE_PMD_REGISTER_PARAM_STRING. Fixes: 06b9ee343940 ("net/hns3: add VLAN match mode runtime config") Signed-off-by: Chengwen Feng Signed-off-by: Jie Hai --- drivers/net/hns3/hns3_common.c | 2 +- drivers/net/hns3/hns3_common.h | 2 +- drivers/net/hns3/hns3_ethdev.c | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/hns3/hns3_common.c b/drivers/net/hns3/hns3_common.c index 5e6cdfdaa0..7a36673c95 100644 --- a/drivers/net/hns3/hns3_common.c +++ b/drivers/net/hns3/hns3_common.c @@ -308,7 +308,7 @@ hns3_parse_devargs(struct rte_eth_dev *dev) &hns3_parse_mbx_time_limit, &mbx_time_limit_ms); if (!hns->is_vf) (void)rte_kvargs_process(kvlist, - HNS3_DEVARG_FDIR_VALN_MATCH_MODE, + HNS3_DEVARG_FDIR_VLAN_MATCH_MODE, &hns3_parse_vlan_match_mode, &hns->pf.fdir.vlan_match_mode); diff --git a/drivers/net/hns3/hns3_common.h b/drivers/net/hns3/hns3_common.h index cf9593bd0c..166852026f 100644 --- a/drivers/net/hns3/hns3_common.h +++ b/drivers/net/hns3/hns3_common.h @@ -27,7 +27,7 @@ enum { #define HNS3_DEVARG_MBX_TIME_LIMIT_MS "mbx_time_limit_ms" -#define HNS3_DEVARG_FDIR_VALN_MATCH_MODE "fdir_vlan_match_mode" +#define HNS3_DEVARG_FDIR_VLAN_MATCH_MODE "fdir_vlan_match_mode" #define MSEC_PER_SEC 1000L #define USEC_PER_MSEC 1000L diff --git a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c index 6e72730d75..56adde3c66 100644 --- a/drivers/net/hns3/hns3_ethdev.c +++ b/drivers/net/hns3/hns3_ethdev.c @@ -6669,7 +6669,8 @@ RTE_PMD_REGISTER_PARAM_STRING(net_hns3, HNS3_DEVARG_RX_FUNC_HINT "=vec|sve|simple|common " HNS3_DEVARG_TX_FUNC_HINT "=vec|sve|simple|common " HNS3_DEVARG_DEV_CAPS_MASK "=<1-65535> " - HNS3_DEVARG_MBX_TIME_LIMIT_MS "= "); + HNS3_DEVARG_MBX_TIME_LIMIT_MS "= " + HNS3_DEVARG_FDIR_VLAN_MATCH_MODE "=strict|nostrict "); RTE_LOG_REGISTER_SUFFIX(hns3_logtype_init, init, NOTICE); RTE_LOG_REGISTER_SUFFIX(hns3_logtype_driver, driver, NOTICE); #ifdef RTE_ETHDEV_DEBUG_RX -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-12-06 23:26:44.247427224 +0800 +++ 0003-net-hns3-register-VLAN-flow-match-mode-parameter.patch 2024-12-06 23:26:43.843044829 +0800 @@ -1 +1 @@ -From bf16032eb1e62338e02b1278e10033366448c5bc Mon Sep 17 00:00:00 2001 +From 78b0870687c5a1f5991b3d140339ba02a2ca14e8 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit bf16032eb1e62338e02b1278e10033366448c5bc ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org @@ -46 +48 @@ -index 8b43d731ac..5c7d893736 100644 +index 6e72730d75..56adde3c66 100644 @@ -49 +51 @@ -@@ -6670,7 +6670,8 @@ RTE_PMD_REGISTER_PARAM_STRING(net_hns3, +@@ -6669,7 +6669,8 @@ RTE_PMD_REGISTER_PARAM_STRING(net_hns3, @@ -55 +57 @@ -+ HNS3_DEVARG_FDIR_VLAN_MATCH_MODE "=strict|nostrict " ++ HNS3_DEVARG_FDIR_VLAN_MATCH_MODE "=strict|nostrict ");