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 C4F1E41D8D for ; Mon, 27 Feb 2023 08:16:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BFE854114A; Mon, 27 Feb 2023 08:16:14 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2078.outbound.protection.outlook.com [40.107.94.78]) by mails.dpdk.org (Postfix) with ESMTP id 9C5784114B for ; Mon, 27 Feb 2023 08:16:12 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i3xtp9LqcxAHXSJhlIONHAqY96R3buqvxOdcfJAlymnmcjzkks1tT9ALpxqRTRFJfuOXljsx9gloGFHQYkwK6uSKqSWVRHNnZXGb/cj/M+W1Et9bEGox404YJj1eQhHXzz8gxsURxjzzqq5ZYbuK81eAoM+CpGxgH08DzqeArNspv7N4ORiZjnMDxFE2mJcqCF9F5DTUQXYkRgqsV3bEeleuk1l7Gzq3mm1Y9cJPauBCjhOn2NpcXarDIdSy0vqqiO9HwjMMmroEyJbGTN3Zl3/RF5pBLxQMfkITJfpQRM4tIbv0Ak/qIiehTRuz5zh81bCTMD4QTUB46PgYBhWyRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=+h6tZ5AkgiKj6Vw9h7kw92vFTosW82V+GA96aU5T2AA=; b=bt8IZLg8QtVwg7dAPFByqdInfU6lkxGCTXwRhWzsb81BAxUCBjlhl7PrCXq0gjF7vU0DoZpTCDqU8J69e8OYTGXUNuarrYfLNB9Ly49UC4uCsVCUeL650iyLagCKfN26HEdOEqeXiRYrXqEgDVBwc/6RcE0rZp18NLy0OZfH+rQkx4MABR/U7Eqf+saEyCH3ki1Z/cOBO0MpB+9ZMbeDfRczMAOwGe/gVNT+bis/PHCC2ZI29gRZQETi49o3mdP+rK7Ol7WAxU6wZQWUfytFK681eiypN41u84DmfHxHnJvgyA8Eu9IqSNdH7zChx9Djz+ckzLQI3dxpiL/+gITJ6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=intel.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 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=+h6tZ5AkgiKj6Vw9h7kw92vFTosW82V+GA96aU5T2AA=; b=eq0dAVBIkHTqMcLkJTWeBTWl3wIL4MEpYYf4crMe8OFqN/RjN4zbNCOwAwyoNb0T74XAI75PrcHMYmITEwDR8PgzLFiAMvcw7YJd7J3RXxQaA+x9QwZ5fqWX6c2GiwjtBSDWAFHnBD2sNWlECgFON0Rvrj6skebW2bBraOlcRNhsC4hGmnQATueR0XwmI2BsRgJGvprzdx/p5qJ8szxKre9rYz4NKHWsObjrMufbOZ+osRJx/BUZ1VtlmSXmjsaIExWHJ1omKdgfdGy2oeckUe0DdlUSjqXZXMR+dhpRE4jdAs/bXCXlaakxGRRgeRK4IlQbJjr5//USvI4b+QkQvw== Received: from DM6PR07CA0098.namprd07.prod.outlook.com (2603:10b6:5:337::31) by SA0PR12MB4415.namprd12.prod.outlook.com (2603:10b6:806:70::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29; Mon, 27 Feb 2023 07:16:09 +0000 Received: from DM6NAM11FT093.eop-nam11.prod.protection.outlook.com (2603:10b6:5:337:cafe::4e) by DM6PR07CA0098.outlook.office365.com (2603:10b6:5:337::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29 via Frontend Transport; Mon, 27 Feb 2023 07:16:09 +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 DM6NAM11FT093.mail.protection.outlook.com (10.13.172.235) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.16 via Frontend Transport; Mon, 27 Feb 2023 07:16:09 +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.986.36; Sun, 26 Feb 2023 23:15:59 -0800 Received: from nvidia.com (10.126.231.37) 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.986.37; Sun, 26 Feb 2023 23:15:57 -0800 From: Xueming Li To: Steve Yang CC: Qi Zhang , dpdk stable Subject: patch 'net/ice: fix validation of flow transfer attribute' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 15:00:45 +0800 Message-ID: <20230227070107.15664-137-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227070107.15664-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230227070107.15664-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.37] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT093:EE_|SA0PR12MB4415:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a341698-5155-45ab-154b-08db18928026 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LjyumHXMiKquUmD/FP3taM39Qn/TBWj2x2F2WBFWbns+dG4GVmfvYEPlmbyKaysoU9iPWBEXGSfdxRdYTMGTxssqmsO1J87VMxBgfB+FsLqZAQXQHrlALirzuASdwyvpg7jcQFJwqUOQazLTk6u6ShWLmovwM0azvaWflSTAdIDdlRXwj20ms8IB1FicgCqUhBXnm5EFLpqDeFHqUTXP3g545PClJzGu3HDuCJLzC3+nx2K3erVJAfjWmydMcdHYX72H618eqK3yhuwDEHmuC1E4T4K1WhOc6CfHJLcDLbXqbaHFRNAiIUV/mijrVNqFQVb/mPHUg6YSO1QUIJdPlO0/OSvrdUTiwpUP/uMNY525Uzn5Z6jkyU37S24ESHxB0FCs4SLWNvKgT5eMvX787QJsvFZBQB8pE9zGYXG4PRVcrrx0PilR80kXSe9vCmMB6562CyaktH2+/zTgX9FOAjrx1CWwTluGGOroNNq8I3BRb1lDmpN+r7WfNlzTzDmrraELb3OaGvuP72v9VamWbp/WRC4fwPInGi6Lu16xLFRdc3PII4MA3sbCe5UtgM5iVBj8csmAq5NWgv3wHpz6PNgAO4gi9lzurEUBfaP32FLKTXih9nb7eNjrVECRs3y/1w5Dgg5g3QHAldWl6WnDmvbjNYYujva52d8c6CbFGSZQB0M1UVNEprRL4U9rINa051cwONEse+JbaE3BpLpY4aTH+0Ugk5bypihlqAGh86Hr3+BI+odo9cqPSN8cK8qY31AoHtvy2XiBT28Lh5wRQB9NGYhSWf1wGniVZN/QJLiPiislU734LDssglU45oyx 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:(13230025)(4636009)(39860400002)(396003)(376002)(346002)(136003)(451199018)(36840700001)(46966006)(40470700004)(36756003)(40460700003)(316002)(54906003)(966005)(478600001)(5660300002)(2906002)(8936002)(7696005)(70586007)(70206006)(8676002)(4326008)(6916009)(41300700001)(7636003)(82740400003)(36860700001)(34020700004)(356005)(86362001)(55016003)(40480700001)(6286002)(186003)(26005)(16526019)(2616005)(6666004)(53546011)(82310400005)(1076003)(336012)(47076005)(426003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:16:09.5922 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8a341698-5155-45ab-154b-08db18928026 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: DM6NAM11FT093.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR12MB4415 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 22.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/01/23. 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=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=e13bcf76455789f6a776f2bf1cda35b4fe51765a Thanks. Xueming Li --- >From e13bcf76455789f6a776f2bf1cda35b4fe51765a Mon Sep 17 00:00:00 2001 From: Steve Yang Date: Mon, 26 Dec 2022 00:37:15 +0000 Subject: [PATCH] net/ice: fix validation of flow transfer attribute Cc: Xueming Li [ upstream commit a6153cf2c3b98bfd4035dc3ad304b5d75a56940b ] ice doesn't support transfer attribute of flow rule, ignore it when validating rule attributes. Fixes: d76116a4678f ("net/ice: add generic flow API") Signed-off-by: Steve Yang Acked-by: Qi Zhang --- drivers/net/ice/ice_generic_flow.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/net/ice/ice_generic_flow.c b/drivers/net/ice/ice_generic_flow.c index d496c28dec..86a32f8cb1 100644 --- a/drivers/net/ice/ice_generic_flow.c +++ b/drivers/net/ice/ice_generic_flow.c @@ -2030,6 +2030,14 @@ ice_flow_valid_attr(struct ice_adapter *ad, return -rte_errno; } + /* Not supported */ + if (attr->transfer) { + rte_flow_error_set(error, EINVAL, + RTE_FLOW_ERROR_TYPE_ATTR_TRANSFER, + attr, "Not support transfer."); + return -rte_errno; + } + /* Check pipeline mode support to set classification stage */ if (ad->devargs.pipe_mode_support) { if (attr->priority == 0) -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:45.285624700 +0800 +++ 0138-net-ice-fix-validation-of-flow-transfer-attribute.patch 2023-02-27 14:08:40.929237000 +0800 @@ -1 +1 @@ -From a6153cf2c3b98bfd4035dc3ad304b5d75a56940b Mon Sep 17 00:00:00 2001 +From e13bcf76455789f6a776f2bf1cda35b4fe51765a Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit a6153cf2c3b98bfd4035dc3ad304b5d75a56940b ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org