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 831C9A0A0E for ; Mon, 10 May 2021 18:22:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7DCCC4003E; Mon, 10 May 2021 18:22:29 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2087.outbound.protection.outlook.com [40.107.237.87]) by mails.dpdk.org (Postfix) with ESMTP id EE40C40F35 for ; Mon, 10 May 2021 18:22:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nw63aK1WimqKWMHTFLYOxnpB5cYmpyJsAYNDq5KZrDEYVabQ7sXESRn7sbEWKAQze44FTbEgjl6M8nU/f4vtW41J0vf2RSHAAi/CaqJEoKYOWcGyHgvtmZfGPoT232ED3f5L19kDn405So7+4TG+B28l1uDJgBpDFDrorBiaHCnolrTCquhGALutR/zOjfl3K/ariT/D5b3G+hFi6QPMXRipiTCy+oWfJo2umt1nC8woePhEnvI6c/2n9voTcW9wJIEyVNIq5aD+hegvLbKdHMbSg4++o3hB2YVBZaUb7hIqUo7Gl4uOoL6snSzCjK9UroWvOlY6ItXIhSvVaMWCqA== 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=h4btJnt0hov0/0nm38pkbxacCdVNH1p/XRlnPN+B3Cc=; b=NKPnpu7vO7o+A8wclnTVxOMVJNMHr2V3ZK1sLtPbKH4HfqHYtiDRzdQ3SOXVcFgQjn1M15WGfVKU6/xs5APTA+yQLBfMuPPnEZ3MmQu1oLo8fk5R1dz/8NeikFDmMvMnIwAhPs6T8H/QJQhvfAt9D80pynqTYe36LSD/EVMKh4H8+lDk5ZAx0Ai7xv+lDYUVpU7CH8CBw4HJr9dgc+lEbSl315QywjaY0TM4YB6RsZ9E/QHO0mUuTQ1bp6Wm9xCNaG3cJBBaXc7stsq7QMALeZUZvsT/8sj0hh0DB460lXnDZLnM8BBwQwxMuSxj5TRixgXfJ7NH76iIw/QLEfXWbg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=huawei.com 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=h4btJnt0hov0/0nm38pkbxacCdVNH1p/XRlnPN+B3Cc=; b=EKtfRRc+pn5YyvFkzwIRKfR533QJ2TUKIf6K4g+6vN00DhGpCcFu5TsDFErRDouLMZAtfUtkMtS81hi3C70VPUthtXUR5BLrXrXo1Bxobv6EjQ/SP4GW8jI9guguMnQr7ct30ks6LeikLVC/TRXMUFK8Uc+sK7icJF6Y1eP5r0ES0BAPSPFgSxFLb68/Hw/1uS6BaRoBFpaRBIFqHVQF4div4rR04LHA3Qra7ZUw07MHZP6niipStCFL2TE+30AYWInDDdojkQM/7tXvNy/asunUVLqWMO9JfXGfEB4vw2Xi6kQ/gShknmmODRj84E238EAMS6E82ro8zYNyrNSS1g== Received: from BN6PR17CA0022.namprd17.prod.outlook.com (2603:10b6:404:65::32) by MN2PR12MB3405.namprd12.prod.outlook.com (2603:10b6:208:cb::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.27; Mon, 10 May 2021 16:22:27 +0000 Received: from BN8NAM11FT029.eop-nam11.prod.protection.outlook.com (2603:10b6:404:65:cafe::5b) by BN6PR17CA0022.outlook.office365.com (2603:10b6:404:65::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.24 via Frontend Transport; Mon, 10 May 2021 16:22:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; huawei.com; dkim=none (message not signed) header.d=none;huawei.com; 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 BN8NAM11FT029.mail.protection.outlook.com (10.13.177.68) 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:22:26 +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:22:24 +0000 From: Xueming Li To: Chengwen Feng CC: Luca Boccassi , Min Hu , dpdk stable Date: Tue, 11 May 2021 00:02:23 +0800 Message-ID: <20210510160258.30982-194-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: 5541cd8d-3b40-4706-be50-08d913cfcd2f X-MS-TrafficTypeDiagnostic: MN2PR12MB3405: 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: DyqX2Wz8bqL7wiglnx28fF9Wu29yjugk/zLMTy3JMEk1iyjvtLM1nX7dtZTJdfIVTJ/m3juVYuQMaVLyoAQJ0OT7ep7yWrNBEoMz/zn8mm7s7piGtrlsNvdcNioA1b+idh1kjOHa/fmE11hFxthhMrpFhy5UZo4g/onR0DDjElejOluP/P5QJm0JG7gaNWpyPvs6ufV6TxcO+mpvo19TDZnN9wDaZELDhHD1zAbOorut02xQsiGN8OrF58f591SIDIAw5N0Zf4dJ7dsllfPAvgqVYGBZwzNwYJkDwIhjlfjs8zcmqj9LImevAi9pmKsc5qqAR59bFCSDtWqV/X0P7Yd1jK7Twxirtzo96pbC2NXpfXMdRjY10yfbyaCYbp94FEOcnk9aKwtpRYD4cemDHxuFwaVRBTHpHZxkvZb4GzZ9PQDzzK5MWPaoCwtVc4+phErATNN2GM0Edo67Wmnx5Dykepijnnz45uprLn1FE4mXd/D7IllokBxnrwlXpmnQ0c2TOTGWe0StQDXvLNwMEKwinYgW0/0z9/LGMP9y+EzOm+01SsHyB5HFbsDnEXwPP8lCoRKmLbetUfyZCjppF3+zGsTuaYYbcdUYmnT3p8mWXlz+GcgYKlE+8s6pAfas3dTS+DoTXRGwA9GuCgP4cAqV3a7gQNGhTMUzghTK3w60cse50tR1gJfWO46oejvunxKcxtQf/BukhessG615GsLcXhrRx9ZrLQxB9nQ6lwlEnMdvDh/whQYbZLRIq3oRAGWeO5Rf3V+QcUsmjKgBhA== 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)(136003)(396003)(39860400002)(346002)(376002)(36840700001)(46966006)(4326008)(2616005)(316002)(70586007)(36906005)(8936002)(54906003)(70206006)(55016002)(1076003)(426003)(966005)(6916009)(47076005)(8676002)(86362001)(6286002)(53546011)(5660300002)(36860700001)(82310400003)(16526019)(36756003)(478600001)(2906002)(7696005)(26005)(83380400001)(82740400003)(336012)(186003)(356005)(7636003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:22:26.9493 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5541cd8d-3b40-4706-be50-08d913cfcd2f 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: BN8NAM11FT029.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3405 Subject: [dpdk-stable] patch 'net/hns3: fix missing outer L4 UDP flag for VXLAN' 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/dc7d063415813e316381faa42db0fcefcafe85e5 Thanks. Xueming Li --- >From dc7d063415813e316381faa42db0fcefcafe85e5 Mon Sep 17 00:00:00 2001 From: Chengwen Feng Date: Tue, 13 Apr 2021 19:50:06 +0800 Subject: [PATCH] net/hns3: fix missing outer L4 UDP flag for VXLAN Cc: Luca Boccassi [ upstream commit 7d6df32cf742107130efc3cff53849f3cb0ad262 ] This patch adds RTE_PTYPE_L4_UDP flag when parsed tunnel vxlan packet. Fixes: bba636698316 ("net/hns3: support Rx/Tx and related operations") Signed-off-by: Chengwen Feng Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c index 1a554313ba..67f4ef5610 100644 --- a/drivers/net/hns3/hns3_rxtx.c +++ b/drivers/net/hns3/hns3_rxtx.c @@ -2053,7 +2053,7 @@ hns3_init_tunnel_ptype_tbl(struct hns3_ptype_table *tbl) tbl->ol3table[5] = RTE_PTYPE_L2_ETHER | RTE_PTYPE_L3_IPV6_EXT; tbl->ol4table[0] = RTE_PTYPE_UNKNOWN; - tbl->ol4table[1] = RTE_PTYPE_TUNNEL_VXLAN; + tbl->ol4table[1] = RTE_PTYPE_L4_UDP | RTE_PTYPE_TUNNEL_VXLAN; tbl->ol4table[2] = RTE_PTYPE_TUNNEL_NVGRE; } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:31.607122500 +0800 +++ 0195-net-hns3-fix-missing-outer-L4-UDP-flag-for-VXLAN.patch 2021-05-10 23:59:26.650000000 +0800 @@ -1 +1 @@ -From 7d6df32cf742107130efc3cff53849f3cb0ad262 Mon Sep 17 00:00:00 2001 +From dc7d063415813e316381faa42db0fcefcafe85e5 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit 7d6df32cf742107130efc3cff53849f3cb0ad262 ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org @@ -18 +20 @@ -index 1c22f3412e..3d94f72bf5 100644 +index 1a554313ba..67f4ef5610 100644 @@ -21 +23 @@ -@@ -2051,7 +2051,7 @@ hns3_init_tunnel_ptype_tbl(struct hns3_ptype_table *tbl) +@@ -2053,7 +2053,7 @@ hns3_init_tunnel_ptype_tbl(struct hns3_ptype_table *tbl)