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 E9296A034F for ; Wed, 10 Nov 2021 07:50:51 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E2A3640683; Wed, 10 Nov 2021 07:50:51 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2057.outbound.protection.outlook.com [40.107.244.57]) by mails.dpdk.org (Postfix) with ESMTP id 2957440142 for ; Wed, 10 Nov 2021 07:50:50 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CV/iSbZUF3M2qcDza+gt6FeSKswKU6PGpfAaZqA0jfP4pZTW7usq55WfC9ryxTIX4l7WlQD9dWyD/VZMbKFlf/0P1prGGz7q5JeKJquWPjC34De6nvrUA8w2BoiHwzyY0taFy4KasJg0+eYXIsHsdaIpRObbU7wBNI4QrpnnyXdSYEfIKQMmtGsxb3uuCryohHmzSZLSRMLIKoAVPxABSg6glNVsTsjqlp8mmV0BiTH+qk8u0965+Tr37bNDCzFgBsQ7bfXIaJeKLfuFIIFgANZf5JV+FPDOYkGtO5gfYWMvdw0+X/5gQqIbZk0u6QGUXPy+5QaRKVJe19udBx693g== 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=58rbVKH7LmigqmdCezRfY+eK8u+REkn77ApvYVoFDUY=; b=ftNFLN4sUHSXbJlyU0bb486x6DEQyw9qCXi96jGrg/gpk02m/veN941VgXKXIMgWJWssn0CT/f3vTk0E/K2HSoeuOfDMRbsta2vqmrTsGRPOxc5BEicMuocabxZPCC3Hx6MXXIgebDBw2bv+LtEMXiB73a8Z0IBABxs2ZlY3BYfa6X53iE4ON22LM7NW5CxQqfKYFhqkLOGGP8odwvebfH1ZctNSTarieqSu4fjb1k7Kg7+OUxnoeD+/0md4wNiZ58hDYL+Do4YO301DRG+FK+ltEuoL18KO6CGLGSwstRZTaXm8o6XRyuR4bQ+nwImk0eDHle0kS4vs1SXPgHgfJA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=58rbVKH7LmigqmdCezRfY+eK8u+REkn77ApvYVoFDUY=; b=FVSu+1cun7k+ioPrndpAV0AhCaEhijb9+DJCLusFluRnmOqD7yHJ51xHImBB6k7nbrRskjups5e8Exj4kjie7v6t37eNhJDu3h8VMqgxLMbfMcYEjztfiY+TFPnH0HrPtkdwDLvqll3DQ7uLeQp0uSTMxKDj574KFeP9G6UUul/S9FjXqMhVuLiVTw1JyMHyIU99EW2QNmNGz6mwBBqvomnzNbPk6qFJvaR5G9SnN1asmBDFCx2sJ7LWaNNq6hwaKVdVG186QP4oYOdH+LYMSLy145F+pH9wESsNYV2iHMwIm3oTh4wIwxyEJs32dU/vskDYWFj+tBTqvBKtZR8cyg== Received: from BN8PR04CA0051.namprd04.prod.outlook.com (2603:10b6:408:d4::25) by BN6PR1201MB2464.namprd12.prod.outlook.com (2603:10b6:404:ae::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Wed, 10 Nov 2021 06:50:48 +0000 Received: from BN8NAM11FT052.eop-nam11.prod.protection.outlook.com (2603:10b6:408:d4:cafe::c7) by BN8PR04CA0051.outlook.office365.com (2603:10b6:408:d4::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:50:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT052.mail.protection.outlook.com (10.13.177.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Wed, 10 Nov 2021 06:50:47 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:50:34 +0000 From: Xueming Li To: Eli Britstein CC: Luca Boccassi , Viacheslav Ovsiienko , dpdk stable Date: Wed, 10 Nov 2021 14:30:48 +0800 Message-ID: <20211110063216.2744012-165-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cbde9dae-6fb3-4d0c-3269-08d9a4166d61 X-MS-TrafficTypeDiagnostic: BN6PR1201MB2464: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: x+cH2Sv1DLi3sHNzz3BB9fjCy8jsfPdvGMkVW7oz20QHrsxEsObvY4/OR72XzyXfrtYmgRwkZzRaE+MuNs08U/Gu2tdMssMMF0EErgMJRhR1SBRGcnq9rN+hM6wJukdoI2q+AksxoZ0nJsTln2QkZyMWNhyxD+28rk+JrhmfPbiN4X2BajPGe//gwODKGa1f3l9NIthdwDpmz3OiH32MtktM0SJJpeXrqPXPEC6+Ovwwf67GN3FB40GgaiNh5JC9IQdoHjb53jfWus/78GjuTZ+qvrE1ai6z9aKD4YDIkwc8YuDm5g9ujBGDWStPxphl8He0UQbCppqqgRkWIw1UqtRAvzsn3bUFAD385sg8+uLcPXp5WJdCRPbTGFu4nOvk8P1XbtefTJ1eFTrXIFp3QtkmaDXIrSvsAAxhNzWO+PT51qPUK0IfMnjoiF91bDPQt9Vp2pCNAX/vhvaBXUnqPuAzGmK8eO+VefjTjQRJ9DVN0FlDaIH4ri3J4293IscPuZ1LeqyNRQhQBZ8kkzAQUtudGcJZDl9ZVIcom6gOCmpYRdmckjjuennHbP9/DyxPA17hhBAjc94p97Sm5J9+GRLhjuuqPhA2oOE4SpkAiJs3NPm79MtE81z9LzzGaJNyD/aiR7ZmkC3iFWQf4wT/+GNm981RcbvasGGVImMwkQaVbZQo+eS7WPXu4CzJPkANn4X6TvU3eG27kpnZ3Ap+imFty7jnKRGMkc98aWgmeWYfMkEECtNqMpXNeWt190XcSz1keosomhArNw/pEsMiyJD9FfxPA6pd6D/QsTLXJTRWAKSK7SFNSsayACCCZUaJ2f2MdKTO8hCSJ6bkT/Odhw== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(26005)(6636002)(966005)(6666004)(1076003)(6862004)(336012)(36860700001)(2616005)(83380400001)(4326008)(7636003)(53546011)(55016002)(36906005)(8676002)(316002)(47076005)(70586007)(5660300002)(82310400003)(7696005)(508600001)(6286002)(54906003)(4001150100001)(37006003)(426003)(70206006)(356005)(16526019)(36756003)(186003)(8936002)(2906002)(86362001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:50:47.9308 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cbde9dae-6fb3-4d0c-3269-08d9a4166d61 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT052.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1201MB2464 Subject: [dpdk-stable] patch 'net/mlx5: support more tunnel types' has been queued to stable release 20.11.4 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/12/21. 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://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/17739766e31c9c38ce6d018cfcf2580d8b4c33d2 Thanks. Xueming Li --- >From 17739766e31c9c38ce6d018cfcf2580d8b4c33d2 Mon Sep 17 00:00:00 2001 From: Eli Britstein Date: Thu, 23 Sep 2021 11:43:01 +0300 Subject: [PATCH] net/mlx5: support more tunnel types Cc: Xueming Li [ upstream commit 292be511d2909c14db3c9ceaffa317f2beee67a0 ] Accept RTE_FLOW_ITEM_TYPE_GRE, RTE_FLOW_ITEM_TYPE_NVGRE and RTE_FLOW_ITEM_TYPE_GENEVE as valid tunnel types. Fixes: 4ec6360de37d ("net/mlx5: implement tunnel offload") Signed-off-by: Eli Britstein Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5_flow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 75d172e06b..5f44af5fa6 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -7771,6 +7771,9 @@ mlx5_flow_tunnel_validate(struct rte_eth_dev *dev, err_msg = "unsupported tunnel type"; goto out; case RTE_FLOW_ITEM_TYPE_VXLAN: + case RTE_FLOW_ITEM_TYPE_GRE: + case RTE_FLOW_ITEM_TYPE_NVGRE: + case RTE_FLOW_ITEM_TYPE_GENEVE: break; } -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:09.222729848 +0800 +++ 0164-net-mlx5-support-more-tunnel-types.patch 2021-11-10 14:17:01.974078578 +0800 @@ -1 +1 @@ -From 292be511d2909c14db3c9ceaffa317f2beee67a0 Mon Sep 17 00:00:00 2001 +From 17739766e31c9c38ce6d018cfcf2580d8b4c33d2 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 292be511d2909c14db3c9ceaffa317f2beee67a0 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -19 +21 @@ -index c914a7120c..6a03fc52d7 100644 +index 75d172e06b..5f44af5fa6 100644 @@ -22 +24 @@ -@@ -9123,6 +9123,9 @@ mlx5_flow_tunnel_validate(struct rte_eth_dev *dev, +@@ -7771,6 +7771,9 @@ mlx5_flow_tunnel_validate(struct rte_eth_dev *dev,