DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/i40e: fix PPPoL2TP packet type parser issue
@ 2018-07-05  1:36 Beilei Xing
       [not found] ` <94479800C636CB44BD422CB454846E01321E4AF1@SHSMSX101.ccr.corp.intel.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Beilei Xing @ 2018-07-05  1:36 UTC (permalink / raw)
  To: qi.z.zhang; +Cc: dev, stable

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")
Cc: stable@dpdk.org

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
---
 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 c47b9f5..54d9c5a 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -12137,7 +12137,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.5.5

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dpdk-dev] FW: [PATCH] net/i40e: fix PPPoL2TP packet type parser issue
       [not found] ` <94479800C636CB44BD422CB454846E01321E4AF1@SHSMSX101.ccr.corp.intel.com>
@ 2018-07-05  6:32   ` Lin, Xueqin
  2018-07-09 12:57     ` [dpdk-dev] " Zhang, Qi Z
  2018-07-09 12:58     ` Zhang, Qi Z
  0 siblings, 2 replies; 4+ messages in thread
From: Lin, Xueqin @ 2018-07-05  6:32 UTC (permalink / raw)
  To: Xing, Beilei, Zhang, Qi Z; +Cc: dev, stable



 > -----Original Message-----
 > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Beilei Xing
 > Sent: Thursday, July 5, 2018 9:36 AM
 > To: Zhang, Qi Z <qi.z.zhang@intel.com>
 > Cc: dev@dpdk.org; stable@dpdk.org
 > Subject: [dpdk-dev] [PATCH] net/i40e: fix PPPoL2TP packet type parser
 > issue
 >
 > 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")
 > Cc: stable@dpdk.org
 >
 > Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Tested-by: Xueqin Lin <xueqin.lin@intel.com>
   

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] net/i40e: fix PPPoL2TP packet type parser issue
  2018-07-05  6:32   ` [dpdk-dev] FW: " Lin, Xueqin
@ 2018-07-09 12:57     ` Zhang, Qi Z
  2018-07-09 12:58     ` Zhang, Qi Z
  1 sibling, 0 replies; 4+ messages in thread
From: Zhang, Qi Z @ 2018-07-09 12:57 UTC (permalink / raw)
  To: Lin, Xueqin, Xing, Beilei; +Cc: dev, stable



> -----Original Message-----
> From: Lin, Xueqin
> Sent: Thursday, July 5, 2018 2:33 PM
> To: Xing, Beilei <beilei.xing@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>
> Cc: dev@dpdk.org; stable@dpdk.org
> Subject: FW: [dpdk-dev] [PATCH] net/i40e: fix PPPoL2TP packet type parser
> issue
> 
> 
> 
>  > -----Original Message-----
>  > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Beilei Xing  > Sent:
> Thursday, July 5, 2018 9:36 AM  > To: Zhang, Qi Z <qi.z.zhang@intel.com>  >
> Cc: dev@dpdk.org; stable@dpdk.org  > Subject: [dpdk-dev] [PATCH] net/i40e:
> fix PPPoL2TP packet type parser  > issue  >  > 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")  > Cc:
> stable@dpdk.org  >  

> Signed-off-by: Beilei Xing <beilei.xing@intel.com>
> Tested-by: Xueqin Lin <xueqin.lin@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks!
Qi


> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [PATCH] net/i40e: fix PPPoL2TP packet type parser issue
  2018-07-05  6:32   ` [dpdk-dev] FW: " Lin, Xueqin
  2018-07-09 12:57     ` [dpdk-dev] " Zhang, Qi Z
@ 2018-07-09 12:58     ` Zhang, Qi Z
  1 sibling, 0 replies; 4+ messages in thread
From: Zhang, Qi Z @ 2018-07-09 12:58 UTC (permalink / raw)
  To: Lin, Xueqin, Xing, Beilei; +Cc: dev, stable



> -----Original Message-----
> From: Lin, Xueqin
> Sent: Thursday, July 5, 2018 2:33 PM
> To: Xing, Beilei <beilei.xing@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>
> Cc: dev@dpdk.org; stable@dpdk.org
> Subject: FW: [dpdk-dev] [PATCH] net/i40e: fix PPPoL2TP packet type parser
> issue
> 
> 
> 
>  > -----Original Message-----
>  > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Beilei Xing  > Sent:
> Thursday, July 5, 2018 9:36 AM  > To: Zhang, Qi Z <qi.z.zhang@intel.com>  >
> Cc: dev@dpdk.org; stable@dpdk.org  > Subject: [dpdk-dev] [PATCH] net/i40e:
> fix PPPoL2TP packet type parser  > issue  >  > 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")  > Cc:
> stable@dpdk.org  >  

> Signed-off-by: Beilei Xing <beilei.xing@intel.com>
> Tested-by: Xueqin Lin <xueqin.lin@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks!
Qi
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-09 12:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-05  1:36 [dpdk-dev] [PATCH] net/i40e: fix PPPoL2TP packet type parser issue Beilei Xing
     [not found] ` <94479800C636CB44BD422CB454846E01321E4AF1@SHSMSX101.ccr.corp.intel.com>
2018-07-05  6:32   ` [dpdk-dev] FW: " Lin, Xueqin
2018-07-09 12:57     ` [dpdk-dev] " Zhang, Qi Z
2018-07-09 12:58     ` Zhang, Qi Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).