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 9342D41D8D for ; Mon, 27 Feb 2023 08:16:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8DAA341151; Mon, 27 Feb 2023 08:16:11 +0100 (CET) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2051.outbound.protection.outlook.com [40.107.95.51]) by mails.dpdk.org (Postfix) with ESMTP id 2763741148 for ; Mon, 27 Feb 2023 08:16:10 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hhJy7/IOwB/Nu/3xhpoT4BDljkprv7FRdbvOBaK76g09RZ+NMdNp/tyrTEZkbDwrBEGyoAzQmRnijFEhSIt3NZKT16HKK2dNfo1c+CexIt4MeK8wvJvRQYtnnhxk1qEvGtQ6C4/U6dGBYD4CmrCmloYrzZKvyyXn2s9/Jy09ALfsvl2J7u+7mYtf4BGnOWOj02l/FLmIt/okL95hhMA6w8dBrfuLl4yD/epNoF+NYB+MTYHu4DW7oPXKq4NDFok21drfzJaWJYPe+DunSFgJd8zbzWPb1u1lQPCPT9M+9IuwGe057FC36Dg6dpf6YiGoyxO13AaK1r3f5yhX/dbFog== 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=8CYqqDcdL8JDPOSq6hTS5DnV95J+zeCBlB1BIbsMXZQ=; b=LVN6uFW5ecc/r/JrjBvECUEAf4Weud7gll1Veho8f7rW/WMK8tN60Fu5KY4SbjGOtaFzvXmip0p2A5Wz+LmE5XbfSFHbEXxFROvqdG2IIrO07EunjT/ADYEnkZQGGg2ZiC924RBI82YXXIkJsQ0FpkylSduqvemzN7OF3HaNcfFGtycHYsTb4T7I7D9aeDdUftHp58celjq4SabkQmnc9cpFs5PWmUdIG+akFJQDbu+yfhFrQ7Ev0UhJ9tljPaKBq2Y2y/6bgI0FIcFhKzqoU9ZApHuHoqiOlg2nDWXe5R1mdKeXoteNKwpcNqpIXZYJ2WzwmVHKUpA80/w17kOghw== 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=8CYqqDcdL8JDPOSq6hTS5DnV95J+zeCBlB1BIbsMXZQ=; b=r7zzRS3Gl+1AtDOjw8lnSINxhPRJJGH6rgzuIyWUb3/JmKXbaBF6uygS0mxygOufe4/DN2FoHUlEM0tJcblbjq8GIdEhhDZa1SQNx/aog8MUWpa9UerzX79max3H4ERHCwcy4yhCSkRx4USstkus6jfCV2LKLx6pLQcBO55Bvbe9VDv92N2A1wt8vAKcPnrEbVhfEC6bygkxgVspWwtLmvvKh4m/D/P7V+yx6OxgDyTJg7MJNHgxEsJD3euDqwaIyS2YSblz6F4cU6w1hk10FtKsIXfJWmgXlQbjBe0UI+JmewCxbyt6kkV7nWhwGKodEsqF7ft5t+ukemiwO+rQsA== Received: from DM6PR10CA0001.namprd10.prod.outlook.com (2603:10b6:5:60::14) by BY5PR12MB5510.namprd12.prod.outlook.com (2603:10b6:a03:1d2::15) 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:07 +0000 Received: from DM6NAM11FT094.eop-nam11.prod.protection.outlook.com (2603:10b6:5:60:cafe::b4) by DM6PR10CA0001.outlook.office365.com (2603:10b6:5:60::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.28 via Frontend Transport; Mon, 27 Feb 2023 07:16:07 +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 DM6NAM11FT094.mail.protection.outlook.com (10.13.172.195) 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:07 +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:57 -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:54 -0800 From: Xueming Li To: Steve Yang CC: Qi Zhang , dpdk stable Subject: patch 'net/i40e: fix validation of flow transfer attribute' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 15:00:44 +0800 Message-ID: <20230227070107.15664-136-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: DM6NAM11FT094:EE_|BY5PR12MB5510:EE_ X-MS-Office365-Filtering-Correlation-Id: 1a2f2d7b-00cb-456b-82e4-08db18927eaf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Eja3axTRZ27vrBElD4yHk++WK9vAlUxvgh4iFirBOhV4+V2Tw+6jcCRuwN7fMmwbyN+1Ai1DByYgWo6CCra6/ZBq/3+u6J0oS4YQTM362Qp0S5TZ62e+ZBOPrHQG7QJ2Y/A06lqZRBkVd3fzekYl0aqJB8+ONTTEmqUarxaWaOTtNsH8Fy/7hdfDzAGTZ00v7oH5cc94a6eukUyPSTuC8prcGxIrT1+i1AMUMdcUIfDzxjyy3adoSpy2h4xBpaLHTanjH5ikKGP4bbmmSFf0TGMFHud7XEkJu9xUHmsMP30qgUCF9osXQgES93PActuaVKAen69o38Xw5wDiwTsVlX9p+CQHxZXusOumxusfhQnS0+uVky4sJSq06vdmoU2H0J6dh3swLJPXfhcV+tXucYW96r3o21+RiqvoDjfijOSb8jZrj7ETnWZ+toSwdVjEbX2/38C2cW6le5+kodBSp60Hcs9uNiy82POu48T4AIbCgvslxEhgH+9ez6uCZzj53HgGn0U/lTawvf5Rb3qwwU2qWvPrgA3A2CNjKeQa7qbsvBNKzmNcxERiGvjd4sD5h/LVHZCfNSeRb+YNuKEtwwPTh3CGxUUhmMKANBfcs6QqbPVfpNy4J3o6dJUJGf2R2joj6fPkkc31ih604ccB0h1rk0E6GA5sO2IOVErf2DFLK1vF/8kXD0nkTdONjUSfQIrvkvMjy/A6Z30FmPtgRhCsSgfsKIP/8cqgQyj3v43/KB1xdzK1UZl03YqsBX7NpOrc3YAguj6SeTZ8fuAFTREwWerpqeHGGIT9nuJMSIk= 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)(39850400004)(376002)(346002)(136003)(396003)(451199018)(36840700001)(46966006)(36756003)(316002)(54906003)(966005)(478600001)(5660300002)(2906002)(8936002)(7696005)(70586007)(70206006)(8676002)(4326008)(6916009)(41300700001)(7636003)(36860700001)(34020700004)(356005)(86362001)(55016003)(40480700001)(82740400003)(6286002)(186003)(26005)(16526019)(2616005)(53546011)(83380400001)(6666004)(1076003)(82310400005)(336012)(47076005)(426003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:16:07.1374 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1a2f2d7b-00cb-456b-82e4-08db18927eaf 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: DM6NAM11FT094.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB5510 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=199591d8d1605679fde91ffa052d9d63792f49c1 Thanks. Xueming Li --- >From 199591d8d1605679fde91ffa052d9d63792f49c1 Mon Sep 17 00:00:00 2001 From: Steve Yang Date: Mon, 26 Dec 2022 00:37:14 +0000 Subject: [PATCH] net/i40e: fix validation of flow transfer attribute Cc: Xueming Li [ upstream commit 74d20de6101f60d3d2b345abcd4ab5bfd2b6076a ] i40e doesn't support transfer attribute of flow rule, ignore it when validating rule attributes. Fixes: 86eb05d6350b ("net/i40e: add flow validate function") Signed-off-by: Steve Yang Acked-by: Qi Zhang --- drivers/net/i40e/i40e_flow.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index 65a826d51c..67df77890a 100644 --- a/drivers/net/i40e/i40e_flow.c +++ b/drivers/net/i40e/i40e_flow.c @@ -1236,6 +1236,14 @@ i40e_flow_parse_attr(const struct rte_flow_attr *attr, 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; + } + /* Not supported */ if (attr->priority) { rte_flow_error_set(error, EINVAL, -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:45.256643500 +0800 +++ 0137-net-i40e-fix-validation-of-flow-transfer-attribute.patch 2023-02-27 14:08:40.929237000 +0800 @@ -1 +1 @@ -From 74d20de6101f60d3d2b345abcd4ab5bfd2b6076a Mon Sep 17 00:00:00 2001 +From 199591d8d1605679fde91ffa052d9d63792f49c1 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 74d20de6101f60d3d2b345abcd4ab5bfd2b6076a ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -19 +21 @@ -index 3c550733f2..877e49151e 100644 +index 65a826d51c..67df77890a 100644