Re: [PATCH v5 2/2] testpmd: fix l4 sw csum over multi segments

2022-01-24 Thread Ferruh Yigit
On 1/24/2022 10:30 AM, Kevin Traynor wrote: On 24/01/2022 09:16, Ferruh Yigit wrote: On 1/21/2022 5:09 PM, Kevin Traynor wrote: On 06/01/2022 16:03, Xiaoyun Li wrote: In csum forwarding mode, software UDP/TCP csum calculation only takes the first segment into account while using the whole pack

Re: [PATCH v5 2/2] testpmd: fix l4 sw csum over multi segments

2022-01-24 Thread Kevin Traynor
On 24/01/2022 09:16, Ferruh Yigit wrote: On 1/21/2022 5:09 PM, Kevin Traynor wrote: On 06/01/2022 16:03, Xiaoyun Li wrote: In csum forwarding mode, software UDP/TCP csum calculation only takes the first segment into account while using the whole packet length so the calculation will read invali

Re: [PATCH v5 2/2] testpmd: fix l4 sw csum over multi segments

2022-01-24 Thread Ferruh Yigit
: dev@dpdk.org; Pai G, Sunil Subject: Re: [PATCH v5 2/2] testpmd: fix l4 sw csum over multi segments On 1/6/2022 4:03 PM, Xiaoyun Li wrote: In csum forwarding mode, software UDP/TCP csum calculation only takes the first segment into account while using the whole packet length so the calculation will

RE: [PATCH v5 2/2] testpmd: fix l4 sw csum over multi segments

2022-01-24 Thread Li, Xiaoyun
dev@dpdk.org; Pai G, Sunil > Subject: Re: [PATCH v5 2/2] testpmd: fix l4 sw csum over multi segments > > On 1/6/2022 4:03 PM, Xiaoyun Li wrote: > > In csum forwarding mode, software UDP/TCP csum calculation only takes > > the first segment into account while using the whol

Re: [PATCH v5 2/2] testpmd: fix l4 sw csum over multi segments

2022-01-24 Thread Ferruh Yigit
On 1/21/2022 5:09 PM, Kevin Traynor wrote: On 06/01/2022 16:03, Xiaoyun Li wrote: In csum forwarding mode, software UDP/TCP csum calculation only takes the first segment into account while using the whole packet length so the calculation will read invalid memory region with multi-segments packet

Re: [PATCH v5 2/2] testpmd: fix l4 sw csum over multi segments

2022-01-21 Thread Kevin Traynor
On 06/01/2022 16:03, Xiaoyun Li wrote: In csum forwarding mode, software UDP/TCP csum calculation only takes the first segment into account while using the whole packet length so the calculation will read invalid memory region with multi-segments packets and will get wrong value. This patch fixes

Re: [PATCH v5 2/2] testpmd: fix l4 sw csum over multi segments

2022-01-21 Thread Ferruh Yigit
On 1/6/2022 4:03 PM, Xiaoyun Li wrote: In csum forwarding mode, software UDP/TCP csum calculation only takes the first segment into account while using the whole packet length so the calculation will read invalid memory region with multi-segments packets and will get wrong value. This patch fixes