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 E40ADA0A0E for ; Mon, 10 May 2021 18:13:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D627F40140; Mon, 10 May 2021 18:13:27 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2046.outbound.protection.outlook.com [40.107.243.46]) by mails.dpdk.org (Postfix) with ESMTP id 50A7D40140 for ; Mon, 10 May 2021 18:13:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y3tz0YgB1bFWbRlnYs8TOmSYbU9D1lyXH3yifUfa7BXYDEBP23EUlKI4OCTvhMrwXd2pFt7PoZwFPBp1Nvpui0087tUNzRR+n5Vnq90gmX7zd0NO6YQXRgV9/0L3Ly6BAH1e9HXWjOV0qmSu++EUxYiZGakFCSTQVLmclrjw6FGUa8+lZ1yFzj1ywwTSV9lfeCA3v6R0516BA0FClIM0LT7ldLskdcVNaklS3xZowG/MS1OM/tA5YAJeRLYfdZkc3hK2pkokFIw0wdZ0MWG7C8Llv0expJV1q3acaI8FSh9Cvd/jqM8ZymImtv21rANfSIbsxunCLy31iFYZiMvHOA== 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-SenderADCheck; bh=q9u/ctD2gy6E6wff77Wa96jDwCNUnX8M+aWdaBj9gbQ=; b=dw2/xNloOsHozoy4q1aRFzEMmcUP3lVFfRuLL94SVy/irwT3w8LDsHesBQ6UefAM6pByTFMAeHxvojElqg5pbK40bQIRRl+82qthDPPcv8netfEu3KHJrhRVuBOGcY+EQ1OiP01CKo8RpxI693274eCZYFsEthpcFsC0wlmNM7u4mwKpPSrHwxCecG8jOvB+w2HWOHTG0Vk2Gt1TcQShSUPMGdSgxVwfmVDVbMJDMiaFCceZ3HDBlqOU6LiKIuL7ARm8kvcs4k0DS4D8ws8AU4dnFLAe6ZcquePoXspI5qbJHkr6NkQgpDB+LBk7zWLEIqMZPCMevrK0QIR7BZrg5w== 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=none sp=none 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=q9u/ctD2gy6E6wff77Wa96jDwCNUnX8M+aWdaBj9gbQ=; b=pU9BkhGPh7lywHjezqGJl3rOEx6PAzXzoo/exo2XqCn0XkDLJWEF67FBrIOUQbNfDsjCX07SD7QkxCiCEXK6whd4Jk1wrAnU47ZbYp3bZl7Z/XRHbbFBt/6nxaMPq0joGdKyZFHs28AFAvU7MiO/ozMnj9CJgF31i3ok05B8MGBe7Twbb2qvAi7Z6ng5syxwwACZjLSXHrDjhOqDABjl/t8s3Hn1iIuSl4UCtgaxgNKa6O7VsFSztSH8fynKpfkLerChg5bcC5o+2xw1aKMyMCS05XBr8MwoDQlizXtXlOyjCpOFtHezcRGhdzDQWe6roKTzRcOH0c6AC+ygMjcnNg== Received: from MW4PR03CA0199.namprd03.prod.outlook.com (2603:10b6:303:b8::24) by CH2PR12MB4971.namprd12.prod.outlook.com (2603:10b6:610:6b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Mon, 10 May 2021 16:13:24 +0000 Received: from CO1NAM11FT053.eop-nam11.prod.protection.outlook.com (2603:10b6:303:b8:cafe::87) by MW4PR03CA0199.outlook.office365.com (2603:10b6:303:b8::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:13:24 +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 CO1NAM11FT053.mail.protection.outlook.com (10.13.175.63) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:13:24 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 May 2021 16:13:22 +0000 From: Xueming Li To: Xiaoyu Min CC: Luca Boccassi , Matan Azrad , "dpdk stable" Date: Tue, 11 May 2021 00:00:52 +0800 Message-ID: <20210510160258.30982-103-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510160258.30982-1-xuemingl@nvidia.com> References: <20210510160258.30982-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cc9fd09b-dea5-497d-9bb7-08d913ce89e5 X-MS-TrafficTypeDiagnostic: CH2PR12MB4971: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ptGpUTNkStXrMtCASKgA6HK+ioltdAddn6QJje6hNuN9PczPnUEDgTsu+CMGtgzIBjO9544LRFIPQwg5fqx6DY/2ZzOtJ76GFx82AiuHCFwtNmGjz9MTCvY56Teye1wGgR75Z4/W4+XTgG82867Kc6FwJ4La/OsFxMpK0ehNuJKufz//CFV0ObYlOBEAFQZlKwNcN76Sxq948OKeobBll7ByU7VT9PKo/+tBgDNNHqUOOUemVfkC/ahsAvtbOrqhSRc3U5G55xPHa0VyuMRS+VR03eog1TwBnUZoBRxIsk7bmBC737pO9WKwmrghg6JY7DCFBeoF3Jhste0JOk57Gdjcidzpz8DigQLZJr1gYemS0zNsbwQL06bj/VHH7DVzYGeuk4jGP+UoY+nW5D32xRIPAzfA2WQDZkvBYm51rempjrXfVMoYsAml8dNAE2gS96rcCR4/0BRyOGzNiBrN/OWOXh4dLNUCYpytkNXZSleVODWQVsjsoAezDXYYAzgF18xex5GGIhBnDXrrZRnPQ9udOrP+4qoBDH9EZjsyjQC9UyTEzl9oq0R6oxcEEdt94fEjcsQIlsD5N9a5wmJd1TxoZjsr55f0yKmvY5i51yMbcZ+rLOnxnFhl38GGomNdg/QwRz028gbyTdHnrHaCEXDiC72O9LRiNjt2GFjUViVfhXemq+txE6j0Qa1OyWSaO3EIrLKXmLEHGJZZcsVZ6UefA3upVKN27OBIQswx3AuY+IOUwOQiZJiiDZDZEaJecNcyETSLmAKWUgPaEKq6nw== 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)(39860400002)(136003)(376002)(396003)(346002)(36840700001)(46966006)(336012)(83380400001)(478600001)(426003)(82740400003)(53546011)(16526019)(6862004)(36860700001)(6666004)(8936002)(7636003)(86362001)(966005)(356005)(2906002)(55016002)(6636002)(54906003)(70586007)(70206006)(36906005)(316002)(37006003)(186003)(7696005)(5660300002)(8676002)(36756003)(2616005)(1076003)(4326008)(47076005)(26005)(6286002)(82310400003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:13:24.6203 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cc9fd09b-dea5-497d-9bb7-08d913ce89e5 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: CO1NAM11FT053.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4971 Subject: [dpdk-stable] patch 'net/mlx5: support RSS expansion for IPv6 GRE' has been queued to stable release 20.11.2 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.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 05/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/530d228d3e4a360b996440ed118d6dcae3a34f96 Thanks. Xueming Li --- >From 530d228d3e4a360b996440ed118d6dcae3a34f96 Mon Sep 17 00:00:00 2001 From: Xiaoyu Min Date: Thu, 18 Mar 2021 11:03:57 +0000 Subject: [PATCH] net/mlx5: support RSS expansion for IPv6 GRE Cc: Luca Boccassi [ upstream commit 048f0d45e3420cc3569f60e2d9b5ee447ae34fd1 ] Currently RSS expansion only support IPv4 as GRE payload or delivery protocol (RFC2784). IPv6 as GRE payload or delivery protocol (RFC7676) is not supported. This patch add RSS expansion for RFC7676 so PMD can expand flow item correctly. Fixes: f4b901a46aec ("net/mlx5: add flow GRE item") Signed-off-by: Xiaoyu Min Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_flow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 39be15bcd4..d574ad78c7 100644 --- a/drivers/net/mlx5/mlx5_flow.c +++ b/drivers/net/mlx5/mlx5_flow.c @@ -499,7 +499,8 @@ static const struct mlx5_flow_expand_node mlx5_support_expansion[] = { (MLX5_EXPANSION_OUTER_IPV6_UDP, MLX5_EXPANSION_OUTER_IPV6_TCP, MLX5_EXPANSION_IPV4, - MLX5_EXPANSION_IPV6), + MLX5_EXPANSION_IPV6, + MLX5_EXPANSION_GRE), .type = RTE_FLOW_ITEM_TYPE_IPV6, .rss_types = ETH_RSS_IPV6 | ETH_RSS_FRAG_IPV6 | ETH_RSS_NONFRAG_IPV6_OTHER, @@ -527,7 +528,8 @@ static const struct mlx5_flow_expand_node mlx5_support_expansion[] = { .type = RTE_FLOW_ITEM_TYPE_VXLAN_GPE, }, [MLX5_EXPANSION_GRE] = { - .next = MLX5_FLOW_EXPAND_RSS_NEXT(MLX5_EXPANSION_IPV4), + .next = MLX5_FLOW_EXPAND_RSS_NEXT(MLX5_EXPANSION_IPV4, + MLX5_EXPANSION_IPV6), .type = RTE_FLOW_ITEM_TYPE_GRE, }, [MLX5_EXPANSION_MPLS] = { -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:29.290714200 +0800 +++ 0104-net-mlx5-support-RSS-expansion-for-IPv6-GRE.patch 2021-05-10 23:59:26.490000000 +0800 @@ -1 +1 @@ -From 048f0d45e3420cc3569f60e2d9b5ee447ae34fd1 Mon Sep 17 00:00:00 2001 +From 530d228d3e4a360b996440ed118d6dcae3a34f96 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit 048f0d45e3420cc3569f60e2d9b5ee447ae34fd1 ] @@ -14 +16,0 @@ -Cc: stable@dpdk.org @@ -23 +25 @@ -index d46fc333d1..de4e4a374a 100644 +index 39be15bcd4..d574ad78c7 100644