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 37FFEA00C2 for ; Thu, 3 Nov 2022 10:32:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 34F734114E; Thu, 3 Nov 2022 10:32:44 +0100 (CET) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mails.dpdk.org (Postfix) with ESMTP id A573E40694 for ; Thu, 3 Nov 2022 10:32:42 +0100 (CET) Received: by mail-wr1-f45.google.com with SMTP id h9so1794978wrt.0 for ; Thu, 03 Nov 2022 02:32:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DDdtObccQKVOXtDrrAS3BUeOmNQrOkYz5FVJB9i/BBI=; b=RLsVBRAIHmvoe8jP/qsFuIPnX4qdVPK9qZVt0cAj8igSMgGSUoPopsPWNQw5ENamI6 ms7tELZh+XdWbtJNAA+xPgCB9jPPh2WEILE8pj/ZlEPVE3gsgDZE1MJjw3Qp43P9qTMd KjJQZTmhAMMj4bEAcuyhrBMRfVddvouDSrW2dBFUqSvm+oLpPm5xuwYE1dO50jt6XF// +acJS6vquhFP1p3x7UMWawYkRoo6SWpSetXywawA89dw44I0/X/n8cY0Jhpjs4ZJ2WHf jjq/Ep5bcw6xuebG17Q58ob8JWzQZCJ330xnh2zicQxMIm+jfVHSVBxwlNasBDv/1NUS TUew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DDdtObccQKVOXtDrrAS3BUeOmNQrOkYz5FVJB9i/BBI=; b=BOJ3xO4wCgEpwFyQrEOeSn1308U23c8zZafp0cISLUY1SuAXooVCEAW8eNFvPr1Mfu 7iOM1t/m/JwbaTbn2I3cuwwjJ3yMQetE8LSZoun+NYRwafKOyp2MzYU8+yBvuUMiMAmx oUuPeJSebMs2dmn3vkd/eV5viF2e7smOovVCUSSAylHJqJSl9WdBxzpTdz7Mdqntd54N 5Wdmhep+ky8ok+2QVTHjLov9doUB7ToxIbouEYfu5FxbfGq/W5pMumEHsNmpSm4FrYMM 8RFc9HOgj3eAmsVk+BWygMDFByk86Apu1VDfIRHWhME5b3ALACczpcZjfZiDRip3Dhny QjvQ== X-Gm-Message-State: ACrzQf0xlC2vOpNjCaWFcetbMJXSlmo24K5SqWcXUOCE5KGA8pes0cHn K6sh/w7X+JkM7mVgp1UnBPTSAhUR5KeoAGVw X-Google-Smtp-Source: AMsMyM548Nnw3jDwTPk6NlvjQ4iYc5u5OD4N7jE8Y2d11C8BZavM5GgjY9YeAgHS+HxiIkA9rAnZBw== X-Received: by 2002:a5d:4143:0:b0:236:4b40:bbd1 with SMTP id c3-20020a5d4143000000b002364b40bbd1mr17763749wrq.26.1667467962305; Thu, 03 Nov 2022 02:32:42 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id fc19-20020a05600c525300b003cf57329221sm6278965wmb.14.2022.11.03.02.32.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 02:32:41 -0700 (PDT) From: luca.boccassi@gmail.com To: Huisong Li Cc: Dongdong Liu , dpdk stable Subject: patch 'net/hns3: fix packet type for GENEVE' has been queued to stable release 20.11.7 Date: Thu, 3 Nov 2022 09:27:41 +0000 Message-Id: <20221103092758.1099402-83-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221103092758.1099402-1-luca.boccassi@gmail.com> References: <20221103092758.1099402-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 20.11.7 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/05/22. 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/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/3d817a2c4342b72e42a9b2a4d00750f6c9999ca2 Thanks. Luca Boccassi --- >From 3d817a2c4342b72e42a9b2a4d00750f6c9999ca2 Mon Sep 17 00:00:00 2001 From: Huisong Li Date: Fri, 30 Sep 2022 15:22:09 +0800 Subject: [PATCH] net/hns3: fix packet type for GENEVE [ upstream commit 904ee370e8086200859f8894bd0c32e3b7b77c65 ] Currently, hns3 reports VXLAN tunnel packet type for GENEVE, which is misleading to user. In fact, hns3 hardware cannot distinguish between VXLAN and GENEVE packet. So this patch uses RTE_PTYPE_TUNNEL_GRENAT packet type to report. Fixes: 7d6df32cf742 ("net/hns3: fix missing outer L4 UDP flag for VXLAN") Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/hns3/hns3_rxtx.c b/drivers/net/hns3/hns3_rxtx.c index 27f0fdbab2..daf74696c8 100644 --- a/drivers/net/hns3/hns3_rxtx.c +++ b/drivers/net/hns3/hns3_rxtx.c @@ -1989,7 +1989,7 @@ hns3_dev_supported_ptypes_get(struct rte_eth_dev *dev) RTE_PTYPE_INNER_L4_TCP, RTE_PTYPE_INNER_L4_SCTP, RTE_PTYPE_INNER_L4_ICMP, - RTE_PTYPE_TUNNEL_VXLAN, + RTE_PTYPE_TUNNEL_GRENAT, RTE_PTYPE_TUNNEL_NVGRE, RTE_PTYPE_UNKNOWN }; @@ -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_L4_UDP | RTE_PTYPE_TUNNEL_VXLAN; + tbl->ol4table[1] = RTE_PTYPE_L4_UDP | RTE_PTYPE_TUNNEL_GRENAT; tbl->ol4table[2] = RTE_PTYPE_TUNNEL_NVGRE; } -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-11-03 09:27:30.407291210 +0000 +++ 0083-net-hns3-fix-packet-type-for-GENEVE.patch 2022-11-03 09:27:25.537425615 +0000 @@ -1 +1 @@ -From 904ee370e8086200859f8894bd0c32e3b7b77c65 Mon Sep 17 00:00:00 2001 +From 3d817a2c4342b72e42a9b2a4d00750f6c9999ca2 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 904ee370e8086200859f8894bd0c32e3b7b77c65 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index fc304e1efd..0a342ed9a2 100644 +index 27f0fdbab2..daf74696c8 100644 @@ -24 +25 @@ -@@ -1992,7 +1992,7 @@ hns3_dev_supported_ptypes_get(struct rte_eth_dev *dev) +@@ -1989,7 +1989,7 @@ hns3_dev_supported_ptypes_get(struct rte_eth_dev *dev) @@ -33 +34 @@ -@@ -2089,7 +2089,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)