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 299F9A0547 for ; Mon, 8 Feb 2021 12:14:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 22CE91606D4; Mon, 8 Feb 2021 12:14:50 +0100 (CET) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by mails.dpdk.org (Postfix) with ESMTP id 654AF40147 for ; Mon, 8 Feb 2021 12:14:49 +0100 (CET) Received: from 2.general.paelzer.uk.vpn ([10.172.196.173] helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1l94VF-00019q-7N; Mon, 08 Feb 2021 11:14:49 +0000 From: Christian Ehrhardt To: Chengwen Feng Cc: Lijun Ou , dpdk stable Date: Mon, 8 Feb 2021 12:14:20 +0100 Message-Id: <20210208111429.1875789-8-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210208111429.1875789-1-christian.ehrhardt@canonical.com> References: <20210204112954.2488123-1-christian.ehrhardt@canonical.com> <20210208111429.1875789-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/hns3: remove MPLS from supported flow items' has been queued to stable release 19.11.7 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 19.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 02/10/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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/73d183306dc9c1666dd729e9b2a2a69b98b71d6e Thanks. Christian Ehrhardt --- >From 73d183306dc9c1666dd729e9b2a2a69b98b71d6e Mon Sep 17 00:00:00 2001 From: Chengwen Feng Date: Wed, 3 Feb 2021 20:23:51 +0800 Subject: [PATCH] net/hns3: remove MPLS from supported flow items [ upstream commit e9550856f8c65b6e15f8f59810560bc6d240a1f8 ] The Kunpeng920 and Kunpeng930 don't support parse MPLS packet, so remove the type from supported flow items. Fixes: fcba820d9b9e ("net/hns3: support flow director") Signed-off-by: Chengwen Feng Signed-off-by: Lijun Ou --- drivers/net/hns3/hns3_flow.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/net/hns3/hns3_flow.c b/drivers/net/hns3/hns3_flow.c index 3f4d9dbfe6..2147da73cd 100644 --- a/drivers/net/hns3/hns3_flow.c +++ b/drivers/net/hns3/hns3_flow.c @@ -46,8 +46,7 @@ static enum rte_flow_item_type first_items[] = { RTE_FLOW_ITEM_TYPE_NVGRE, RTE_FLOW_ITEM_TYPE_VXLAN, RTE_FLOW_ITEM_TYPE_GENEVE, - RTE_FLOW_ITEM_TYPE_VXLAN_GPE, - RTE_FLOW_ITEM_TYPE_MPLS + RTE_FLOW_ITEM_TYPE_VXLAN_GPE }; static enum rte_flow_item_type L2_next_items[] = { @@ -67,8 +66,7 @@ static enum rte_flow_item_type L3_next_items[] = { static enum rte_flow_item_type L4_next_items[] = { RTE_FLOW_ITEM_TYPE_VXLAN, RTE_FLOW_ITEM_TYPE_GENEVE, - RTE_FLOW_ITEM_TYPE_VXLAN_GPE, - RTE_FLOW_ITEM_TYPE_MPLS + RTE_FLOW_ITEM_TYPE_VXLAN_GPE }; static enum rte_flow_item_type tunnel_next_items[] = { @@ -1059,8 +1057,7 @@ is_tunnel_packet(enum rte_flow_item_type type) if (type == RTE_FLOW_ITEM_TYPE_VXLAN_GPE || type == RTE_FLOW_ITEM_TYPE_VXLAN || type == RTE_FLOW_ITEM_TYPE_NVGRE || - type == RTE_FLOW_ITEM_TYPE_GENEVE || - type == RTE_FLOW_ITEM_TYPE_MPLS) + type == RTE_FLOW_ITEM_TYPE_GENEVE) return true; return false; } -- 2.30.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-08 12:04:29.850193591 +0100 +++ 0008-net-hns3-remove-MPLS-from-supported-flow-items.patch 2021-02-08 12:04:29.535496792 +0100 @@ -1 +1 @@ -From e9550856f8c65b6e15f8f59810560bc6d240a1f8 Mon Sep 17 00:00:00 2001 +From 73d183306dc9c1666dd729e9b2a2a69b98b71d6e Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e9550856f8c65b6e15f8f59810560bc6d240a1f8 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index a6011245c5..c484114b32 100644 +index 3f4d9dbfe6..2147da73cd 100644 @@ -22 +23 @@ -@@ -44,8 +44,7 @@ static enum rte_flow_item_type first_items[] = { +@@ -46,8 +46,7 @@ static enum rte_flow_item_type first_items[] = { @@ -32 +33 @@ -@@ -65,8 +64,7 @@ static enum rte_flow_item_type L3_next_items[] = { +@@ -67,8 +66,7 @@ static enum rte_flow_item_type L3_next_items[] = { @@ -42 +43 @@ -@@ -1118,8 +1116,7 @@ is_tunnel_packet(enum rte_flow_item_type type) +@@ -1059,8 +1057,7 @@ is_tunnel_packet(enum rte_flow_item_type type)