Re: [Patch v2] net/netvsc: fix the calculation of checksums based on mbuf flag

2022-04-26 Thread Ajit Khaparde
On Tue, Apr 26, 2022 at 2:57 PM Ferruh Yigit wrote: > > On 3/24/2022 5:46 PM, lon...@linuxonhyperv.com wrote: > > From: Long Li > > > > The netvsc should use RTE_MBUF_F_TX_L4_MASK and check the masked value to > > decide the correct way to calculate checksums. > > > > Not checking for RTE_MBUF_F_

Re: [Patch v2] net/netvsc: fix the calculation of checksums based on mbuf flag

2022-04-26 Thread Ferruh Yigit
On 3/24/2022 5:46 PM, lon...@linuxonhyperv.com wrote: From: Long Li The netvsc should use RTE_MBUF_F_TX_L4_MASK and check the masked value to decide the correct way to calculate checksums. Not checking for RTE_MBUF_F_TX_L4_MASK results in incorrect RNDIS packets sent to VSP and incorrect check

Re: [Patch v2] net/netvsc: fix the calculation of checksums based on mbuf flag

2022-04-26 Thread Ferruh Yigit
On 3/24/2022 5:46 PM, lon...@linuxonhyperv.com wrote: From: Long Li The netvsc should use RTE_MBUF_F_TX_L4_MASK and check the masked value to decide the correct way to calculate checksums. Not checking for RTE_MBUF_F_TX_L4_MASK results in incorrect RNDIS packets sent to VSP and incorrect check

[Patch v2] net/netvsc: fix the calculation of checksums based on mbuf flag

2022-03-24 Thread longli
From: Long Li The netvsc should use RTE_MBUF_F_TX_L4_MASK and check the masked value to decide the correct way to calculate checksums. Not checking for RTE_MBUF_F_TX_L4_MASK results in incorrect RNDIS packets sent to VSP and incorrect checksums calculated by the VSP. Fixes: 4e9c73e96e ("net/net