Re: [dpdk-dev] [PATCH v2] gro: fix an error when packet is IPv6

2020-11-14 Thread Thomas Monjalon
> > For VxLAN packets, GRO will mistakenly reassemble them > > if inner L3 is IPv6, inner L4 is TCP or UDP, and outer L3 > > is IPv4 because the value of IS_IPV4_VXLAN_TCP4/UDP4_PKT > > is true for them. > > > > This fix makes sure IS_IPV4_TCP_PKT, IS_IPV4_UDP_PKT, > > IS_IPV4_VXLAN_TCP4_PKT and

Re: [dpdk-dev] [PATCH v2] gro: fix an error when packet is IPv6

2020-11-04 Thread Hu, Jiayu
Acked-by: Jiayu Hu > -Original Message- > From: yang_y...@163.com > Sent: Thursday, November 5, 2020 10:55 AM > To: dev@dpdk.org > Cc: Hu, Jiayu ; Ananyev, Konstantin > ; tho...@monjalon.net; > yangy...@inspur.com; yang_y...@163.com > Subject: [PATCH v2] gro: fix an error when packet is

[dpdk-dev] [PATCH v2] gro: fix an error when packet is IPv6

2020-11-04 Thread yang_y_yi
From: Yi Yang For VxLAN packets, GRO will mistakenly reassemble them if inner L3 is IPv6, inner L4 is TCP or UDP, and outer L3 is IPv4 because the value of IS_IPV4_VXLAN_TCP4/UDP4_PKT is true for them. This fix makes sure IS_IPV4_TCP_PKT, IS_IPV4_UDP_PKT, IS_IPV4_VXLAN_TCP4_PKT and IS_IPV4_VXLA