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 26F02A0540 for ; Wed, 6 Jul 2022 22:36:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1EEDA4069D; Wed, 6 Jul 2022 22:36:07 +0200 (CEST) Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) by mails.dpdk.org (Postfix) with ESMTP id BD6CE40FAE for ; Wed, 6 Jul 2022 22:36:05 +0200 (CEST) Received: by mail-wm1-f50.google.com with SMTP id l40-20020a05600c1d2800b003a18adff308so9977303wms.5 for ; Wed, 06 Jul 2022 13:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=i7ZGtvysNeTFQpqngucQAJdvNJ72WzHVuuhw9S6ZPT0=; b=mOC/hjBoyfESJn7ny7y4RHuyNjA/djtZPtsR47rJnsrnWWP8epiWZVQVL8on6H+FGd 2AfK0JgIU/8MSWrIT21v790Y52svYoZq2TVEbHrPZTW6t3hEF/8GwdSV5bKOyOkvG8An ph4gxsgdLC6CFtfJrwDrVO0/RvYBluAmpROFlK1zbExBZdkBt2WR4p60h9Hza73nYRoo 88JxIqHKLV00TbOsM+x9rBOvaY3bjJqnjj2lgzzj+DU5ilJq0Fzju+jImjoapJ0lWNJp aStEggPVRukwCDV8PKuB3F0ema/STsvAN7B5WLmjGz4PWC7bSTh4s0Q1t2b2cRSDtEmc PY+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=i7ZGtvysNeTFQpqngucQAJdvNJ72WzHVuuhw9S6ZPT0=; b=vmPqUJkLyLa/3KBVRXm0GaQmjGe5xiWKvrxoBok3xKw31WbCqsueC42UR7r31Zklgh 77hMeANZUG7RbkNhk6WKd/i+7owXRUXlorRIAGghuQq8dp6NVZJbFTNR4xuOUIo+rz3o FBC4oxRILN4Gf279Bpy/8UImntTju8hUYfduFVqkmYxiNv/OxHYbZp3xqbQCHRl/c1LP ydaqiHFLh/J70D1eRjjyh9mwC7j6GZendnCj09hCCt6MDBZXC0t5SjMX966lR0Rl5pPL osdlW+VSL1ZK6whvkDj0NfT7Uax2PHiHh0ueRrOxpQeciZ5AE8ALpDuX9B4pq4B+YSvE m4aA== X-Gm-Message-State: AJIora/8mJ5AObYaktW3natLgm+fK30y/kShLEWA1zAGfquQQaWK9dIY SLbG9rk2iaV7m93gisLtlHjMTtfCTX7tCQ== X-Google-Smtp-Source: AGRyM1uIMbI/tlYKiaPC+okcmneRshC0/6X624wawPOPATQ6eCql1UVo0cc5zpOA2wViraaGT7o5OQ== X-Received: by 2002:a05:600c:4e90:b0:3a0:57d6:4458 with SMTP id f16-20020a05600c4e9000b003a057d64458mr451776wmq.198.1657139765534; Wed, 06 Jul 2022 13:36:05 -0700 (PDT) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id q4-20020a1ce904000000b003a2b433c738sm8715393wmc.26.2022.07.06.13.36.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jul 2022 13:36:05 -0700 (PDT) From: luca.boccassi@gmail.com To: Satheesh Paul Cc: Kiran Kumar K , dpdk stable Subject: patch 'common/cnxk: fix GRE tunnel parsing' has been queued to stable release 21.11.2 Date: Wed, 6 Jul 2022 21:34:53 +0100 Message-Id: <20220706203506.3422496-18-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220706203506.3422496-1-luca.boccassi@gmail.com> References: <20220628151938.2278711-26-ktraynor@redhat.com> <20220706203506.3422496-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 21.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 07/08/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/bbc9dcaefad10413759dd2c5e628651ba34a1b3a Thanks. Luca Boccassi --- >From bbc9dcaefad10413759dd2c5e628651ba34a1b3a Mon Sep 17 00:00:00 2001 From: Satheesh Paul Date: Thu, 23 Jun 2022 09:12:04 +0530 Subject: [PATCH] common/cnxk: fix GRE tunnel parsing [ upstream commit 3b1a48f1ed8de5ec06e8741a68fa061e206a1427 ] After parsing GRE tunnel, parse subsequent protocols (for example, TCP or UDP) as tunneled versions. Fixes: c34ea71b878 ("common/cnxk: add NPC parsing API") Signed-off-by: Satheesh Paul Reviewed-by: Kiran Kumar K --- drivers/common/cnxk/roc_npc_parse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/common/cnxk/roc_npc_parse.c b/drivers/common/cnxk/roc_npc_parse.c index 4f915f3692..9742ac90f7 100644 --- a/drivers/common/cnxk/roc_npc_parse.c +++ b/drivers/common/cnxk/roc_npc_parse.c @@ -535,11 +535,13 @@ npc_parse_ld(struct npc_parse_state *pst) case ROC_NPC_ITEM_TYPE_GRE: lt = NPC_LT_LD_GRE; info.len = pst->pattern->size; + pst->tunnel = 1; break; case ROC_NPC_ITEM_TYPE_GRE_KEY: lt = NPC_LT_LD_GRE; info.len = pst->pattern->size; info.hw_hdr_len = 4; + pst->tunnel = 1; break; case ROC_NPC_ITEM_TYPE_NVGRE: lt = NPC_LT_LD_NVGRE; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-06 21:07:54.179501261 +0100 +++ 0018-common-cnxk-fix-GRE-tunnel-parsing.patch 2022-07-06 21:07:53.551518861 +0100 @@ -1 +1 @@ -From 3b1a48f1ed8de5ec06e8741a68fa061e206a1427 Mon Sep 17 00:00:00 2001 +From bbc9dcaefad10413759dd2c5e628651ba34a1b3a Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 3b1a48f1ed8de5ec06e8741a68fa061e206a1427 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index 0748646779..ff00c746d6 100644 +index 4f915f3692..9742ac90f7 100644 @@ -22 +23 @@ -@@ -699,11 +699,13 @@ npc_parse_ld(struct npc_parse_state *pst) +@@ -535,11 +535,13 @@ npc_parse_ld(struct npc_parse_state *pst)