Re: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi-segments

2022-03-14 Thread Thomas Monjalon
14/03/2022 03:33, Zhang, Qi Z: > From: Yigit, Ferruh > > On 3/11/2022 7:04 AM, Liu, KevinX wrote: > > > From: Zhang, Yuying > > >>> From: Liu, KevinX > > Testpmd forwards packets in checksum mode that it needs to > > calculate the checksum of each layer's protocol. > > > > In

RE: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi-segments

2022-03-13 Thread Zhang, Qi Z
> >> To: Zhang, Qi Z ; Liu, KevinX > >> ; dev > >> Cc: Yang, Qiming ; Yang, SteveX > >> ; Yigit, Ferruh ; > >> Xing, Beilei ; Li, Xiaoyun > >> ; dpdk stable > >> Subject: RE: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi- > &

Re: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi-segments

2022-03-11 Thread Ferruh Yigit
: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi- segments LGTM. -Original Message- From: Liu, KevinX Sent: Wednesday, December 29, 2021 5:37 PM To: dev@dpdk.org Cc: Yang, Qiming ; Zhang, Qi Z ; Yang, SteveX ; Yigit, Ferruh ; Liu, KevinX ; sta...@dpdk.org Subject: [PATCH v2 2/2

Re: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi-segments

2022-03-11 Thread Singh, Aman Deep
, Yuying Sent: 2022年3月3日 14:30 To: Zhang, Qi Z; Liu, KevinX ; dev Cc: Yang, Qiming; Yang, SteveX ; Yigit, Ferruh; Xing, Beilei; Li, Xiaoyun ; dpdk stable Subject: RE: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi- segments LGTM. -Original Message- From: Liu, KevinX Sent: Wednesday

RE: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi-segments

2022-03-11 Thread Liu, KevinX
t;>> From: Liu, KevinX > >>>> Sent: Wednesday, December 29, 2021 5:37 PM > >>>> To: dev@dpdk.org > >>>> Cc: Yang, Qiming ; Zhang, Qi Z > >>>> ; Yang, SteveX ; > >>>> Yigit, Ferruh ; Liu, KevinX > >>>> ;

Re: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi-segments

2022-03-11 Thread Singh, Aman Deep
: Zhang, Qi Z ; Liu, KevinX ; dev Cc: Yang, Qiming ; Yang, SteveX ; Yigit, Ferruh ; Xing, Beilei ; Li, Xiaoyun ; dpdk stable Subject: RE: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi- segments LGTM. -Original Message- From: Liu, KevinX Sent: Wednesday, December 29, 2021 5:37 PM

RE: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi-segments

2022-03-10 Thread Liu, KevinX
dev > Cc: Yang, Qiming ; Yang, SteveX > ; Yigit, Ferruh ; Xing, Beilei > ; Li, Xiaoyun ; dpdk stable > > Subject: RE: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi- > segments > > LGTM. > > > > -Original Message- > > > From: Liu, Kevin

RE: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi-segments

2022-03-02 Thread Zhang, Yuying
LGTM. > > -Original Message- > > From: Liu, KevinX > > Sent: Wednesday, December 29, 2021 5:37 PM > > To: dev@dpdk.org > > Cc: Yang, Qiming ; Zhang, Qi Z > > ; Yang, SteveX ; Yigit, > > Ferruh ; Liu, KevinX ; > > sta...@dpdk.org > > S

[PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi-segments

2022-02-27 Thread Kevin Liu
Testpmd forwards packets in checksum mode that it needs to calculate the checksum of each layer's protocol. In process_inner_cksums, when parsing tunnel packets, inner L4 offset should be outer_l2_len + outer_l3_len + l2_len + l3_len. In process_outer_cksums, when parsing tunnel packets, outer L4