From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by dpdk.org (Postfix) with ESMTP id 5E4265F0D for ; Mon, 30 Jul 2018 18:20:59 +0200 (CEST) Received: from 1.general.paelzer.uk.vpn ([10.172.196.172] helo=lap.fritz.box) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1fkAry-00009D-L8; Mon, 30 Jul 2018 16:18:02 +0000 From: Christian Ehrhardt To: Beilei Xing Cc: Xueqin Lin , Qi Zhang , dpdk stable Date: Mon, 30 Jul 2018 18:13:00 +0200 Message-Id: <20180730161342.16566-135-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180730161342.16566-1-christian.ehrhardt@canonical.com> References: <20180730161342.16566-1-christian.ehrhardt@canonical.com> Subject: [dpdk-stable] patch 'net/i40e: fix PPPoL2TP packet type parsing' has been queued to stable release 18.05.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2018 16:20:59 -0000 Hi, FYI, your patch has been queued to stable release 18.05.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/01/18. So please shout if anyone has objections. Thanks. Christian Ehrhardt --- >>From bd4474aa6a57edfa20b7e011e6052beddcd83227 Mon Sep 17 00:00:00 2001 From: Beilei Xing Date: Thu, 5 Jul 2018 09:36:14 +0800 Subject: [PATCH] net/i40e: fix PPPoL2TP packet type parsing [ upstream commit 525fd36991d50e07dd0d3111e07dc257429fb90e ] Since PPPoL2TP profile is updated, PPPoL2TP packet type parser will be false with the current parser function. This patch fixes the issue. Fixes: 11556c915a08 ("net/i40e: improve packet type parser") Signed-off-by: Beilei Xing Tested-by: Xueqin Lin Acked-by: Qi Zhang --- drivers/net/i40e/i40e_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 50bbc77ae..4b4f53b32 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -12127,7 +12127,8 @@ i40e_update_customized_ptype(struct rte_eth_dev *dev, uint8_t *pkg, ptype_mapping[i].sw_ptype |= RTE_PTYPE_TUNNEL_GRENAT; in_tunnel = true; - } else if (!strncasecmp(name, "L2TPV2CTL", 9)) { + } else if (!strncasecmp(name, "L2TPV2CTL", 9) || + !strncasecmp(name, "L2TPV2", 6)) { ptype_mapping[i].sw_ptype |= RTE_PTYPE_TUNNEL_L2TP; in_tunnel = true; -- 2.17.1