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 D706543B7D for ; Tue, 5 Mar 2024 10:59:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D0DB942E52; Tue, 5 Mar 2024 10:59:34 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2080.outbound.protection.outlook.com [40.107.237.80]) by mails.dpdk.org (Postfix) with ESMTP id C5AC042E67 for ; Tue, 5 Mar 2024 10:59:33 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FvdTBEWV+TuEYMCND0I3FHfQ5Ega/L97zrhfCanMhlhAyEwnovB4pQ6UQiXgJLvbE8EOIOi5HzC71ZH+MPzAGAIsYFyN4qGxEWUB7YON5n17VSA0KOr4+9hohfBOZTYhnIiHM/4l1yRJ/QDjx/cd5YUwYuOaA3ClNjrEEWeOUX/7pbmatxaChETwrHdNTiiNLbwOnILWW78a0O3FRvdn2fMVbu4OG5EXmAvX8wr91Xg7qjFEoJllwUs66Zr+BeY39e+tBjKbSo8FBwDVSthCQhSnIHgXz5EzAfVESeZC9uBEWtnPa/3ds5uBT2++RJIaOEYqocB/aswOgAdHFOI1Qg== 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=ajP7+DWAwSWGvgIl9QIQ9FaX+miLIAqesPVROXM7z3Y=; b=YoXKM4W1i9GuxkUxMJXRuZPppy/Tdaz421nOOJzwFRn379G2YuRnyCdJGFJ6++dygwzPpkULu0goBRdBZmdgpPoDFIqjkmwi+oERVAXNWqPKm2vYyimqSpO2Bz7OHDEavIy0WIaJdW4afNXKyss6ruTYOX4EeFIJwzQVCCfuBzQVB2Mcc4DAp9wXfFnv7jG76SROrrQeiVaVAbZ6v9NDvsAcjp9qMp9rD/iLwHbyNRw1JGCb4UMYs4rlYXcNP3wlZ3aV3OGwQuUJYuUj93/l4V2jD3KkPqccwTafhwSmU590AugFRYK3esjpWLHYh0f4gF+fDc2dq8FhOnllcIAlvw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=dpdk.org 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=ajP7+DWAwSWGvgIl9QIQ9FaX+miLIAqesPVROXM7z3Y=; b=m/546EDWgFcULjKPQc0UFk9180XojT4G9Jt5Klvpg1PJuF4mMJ769nLDffUkR+G5u6MTnhE2xnkqjD0d/HW8qZp9xRXE2sP26EJIjP5J8BrFUe4rnEpqRCbw0OcQrScD7kWIknbeWVVW7LKFU3MO7q0DheO8ZN60DA9cwGO7RooQkceNw5H8+7GwTCN3eMZU5YKwkcoTLI4yI5QTUXeGGG/3FiPdBUTTBQjoOp6xBpixLsCw4Vi/RMGp8BcyMSAPZIbvdKqaBOk//0QWTrtim+Da1eagrw2Td2mwxEpyl3/W1uiyLd/J6Bjit50TACZlzeNeAF+GyhRPaBSnkGuhoQ== Received: from CY5PR15CA0113.namprd15.prod.outlook.com (2603:10b6:930:7::18) by MW4PR12MB6900.namprd12.prod.outlook.com (2603:10b6:303:20e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Tue, 5 Mar 2024 09:59:31 +0000 Received: from CY4PEPF0000EDD1.namprd03.prod.outlook.com (2603:10b6:930:7:cafe::5) by CY5PR15CA0113.outlook.office365.com (2603:10b6:930:7::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39 via Frontend Transport; Tue, 5 Mar 2024 09:59:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by CY4PEPF0000EDD1.mail.protection.outlook.com (10.167.241.205) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.11 via Frontend Transport; Tue, 5 Mar 2024 09:59:30 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Tue, 5 Mar 2024 01:59:20 -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.1258.12; Tue, 5 Mar 2024 01:59:18 -0800 From: Xueming Li To: Michael Baum CC: Hamdan Igbaria , Matan Azrad , "dpdk stable" Subject: patch 'net/mlx5/hws: fix ESP flow matching validation' has been queued to stable release 23.11.1 Date: Tue, 5 Mar 2024 17:47:48 +0800 Message-ID: <20240305094757.439387-128-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240305094757.439387-1-xuemingl@nvidia.com> References: <20240305094757.439387-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: 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: CY4PEPF0000EDD1:EE_|MW4PR12MB6900:EE_ X-MS-Office365-Filtering-Correlation-Id: 1c1ee2fb-2c3c-4578-d3e3-08dc3cfaf3d6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Wxwm0eRpF1oKQKA8mSIT/kcUETqswUw2IrQ0dfJEiO3hubde1uUasAX1ppHzh0ixciogapC5tiFvsIRxwrb3VkiB89XNMYqGcHLJhoSnaXjDKi1OgrR9J13CM7FZYwFsXMdFYrfoF7nzgaht1kprlTjE+03EGIvhjy8qrxbza4hxg+Iqjwifr1pp6A09nDhBzAcEB3BkcuRssgo52i7ZCu6VeCSiVNdUyVYnhyhuezYMxWrSjVZb/g6EFxjFmHQSHhaHXOPolP6gS0erHB36hjEK/CLKtC7ayKkDCq+Mpp8lwWQh30uGnyUYwGD2yhPHUQhAVmdyqYRKu6O++3z8l95mrI1bjZ80nSJ2tXF3dhn76WUp/KN7BcPWUR52FM+C7W17Q6wtEAPllxBLONXO+ZPc/jiWT3W/gMWbhxn3NnxhpKMN3w6gu8tC1eVr5wchktNkc7B9+RzzPZFcIhNTJIDqF2LOiKdqXspSz9eFCuYmkEQL6z2dcArNFuHX9jVM1hF2xd4T4zfhHeXsnzywBZvxWywXN/PdOey5eTpdt3tQUpOnpwOikovEOjmlgVW3fsybiwNH8+/pNt2ucZmxoxaRrENiVN4BMamshgKjcgr1ohoyXeK7cr9dnsKUdqquNap59TK0Hd1a3PhBrOuSUSkAM5AfnQlxRTaqstKhntqlzwcrYuVlNjn+rVhwWaVQEl/5EkS7RYjusXhq+VVEypRFiwtyOgU0QqBGXGlqyzId5hWZvcn/6dDRnnyoyjJQ X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(376005)(36860700004)(82310400014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2024 09:59:30.9107 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1c1ee2fb-2c3c-4578-d3e3-08dc3cfaf3d6 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000EDD1.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB6900 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.1 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/31/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=c3eb8629791a10fafd439fe040bc18bc83965891 Thanks. Xueming Li --- >From c3eb8629791a10fafd439fe040bc18bc83965891 Mon Sep 17 00:00:00 2001 From: Michael Baum Date: Mon, 15 Jan 2024 14:09:39 +0200 Subject: [PATCH] net/mlx5/hws: fix ESP flow matching validation Cc: Xueming Li [ upstream commit 5ce652c02a7ff38cf51507b9d6b90eb32c5ccf1a ] The "mlx5dr_definer_conv_item_esp()" function validates first whether "ipsec_offload" PRM flag is on, if the flag is off the function returns error. The "ipsec_offload" PRM flag indicates whether IPsec encrypt/decrypt is supported, IPsec matching may be supported even when this flag is off. This patch removes this validation. Fixes: 81cf20a25abf ("net/mlx5/hws: support match on ESP item") Signed-off-by: Michael Baum Acked-by: Hamdan Igbaria Acked-by: Matan Azrad --- drivers/net/mlx5/hws/mlx5dr_definer.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/net/mlx5/hws/mlx5dr_definer.c b/drivers/net/mlx5/hws/mlx5dr_definer.c index 0b60479406..7bd4ea560e 100644 --- a/drivers/net/mlx5/hws/mlx5dr_definer.c +++ b/drivers/net/mlx5/hws/mlx5dr_definer.c @@ -2240,11 +2240,6 @@ mlx5dr_definer_conv_item_esp(struct mlx5dr_definer_conv_data *cd, const struct rte_flow_item_esp *m = item->mask; struct mlx5dr_definer_fc *fc; - if (!cd->ctx->caps->ipsec_offload) { - rte_errno = ENOTSUP; - return rte_errno; - } - if (!m) return 0; if (m->hdr.spi) { -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-05 17:39:34.789359626 +0800 +++ 0127-net-mlx5-hws-fix-ESP-flow-matching-validation.patch 2024-03-05 17:39:31.013566501 +0800 @@ -1 +1 @@ -From 5ce652c02a7ff38cf51507b9d6b90eb32c5ccf1a Mon Sep 17 00:00:00 2001 +From c3eb8629791a10fafd439fe040bc18bc83965891 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 5ce652c02a7ff38cf51507b9d6b90eb32c5ccf1a ] @@ -16 +18,0 @@ -Cc: stable@dpdk.org