Re: [vpp-dev] VPP checksum behavior problems

2020-04-14 Thread Sun, Chenmin
. Thanks for your clarification. Best Regards, Sun, Chenmin From: vpp-dev@lists.fd.io On Behalf Of Florin Coras Sent: Tuesday, April 14, 2020 10:24 PM To: Sun, Chenmin Cc: vpp-dev Subject: Re: [vpp-dev] VPP checksum behavior problems Hi Chenmin, If packets are marked as having a bad csum, or

Re: [vpp-dev] VPP checksum behavior problems

2020-04-14 Thread Florin Coras
> 00:06:42:512308: error-drop > rx:1/2 > 00:06:42:512323: drop > ip4-local: bad tcp checksum > > > Best Regards, > Sun, Chenmin > > From: Florin Coras > Sent: Tuesday, April 14, 2020 12:04 AM > To: Sun, Chenmin > Cc: vpp-dev > Subject: Re: [vpp-dev

Re: [vpp-dev] VPP checksum behavior problems

2020-04-14 Thread Sun, Chenmin
bad tcp checksum Best Regards, Sun, Chenmin From: Florin Coras Sent: Tuesday, April 14, 2020 12:04 AM To: Sun, Chenmin Cc: vpp-dev Subject: Re: [vpp-dev] VPP checksum behavior problems Hi Chenmin, Regarding your second question, some of the device drivers could mark buffers for tx csum offl

Re: [vpp-dev] VPP checksum behavior problems

2020-04-13 Thread Florin Coras
Hi Chenmin, Regarding your second question, some of the device drivers could mark buffers for tx csum offload which is honored only if data is about to be delivered to the network (or if some other action performed to the buffer requires csums to be computed). Otherwise, if packets end up cons

[vpp-dev] VPP checksum behavior problems

2020-04-13 Thread Sun, Chenmin
[Edited Message Follows] Hi experts, I am confusing about the L4 checksum behavior in VPP. I noticed the code was there for a very long time(more than 3 years) so I open this topic to see if anybody knows the history and why. * The first problem is in DPDK plugin and was introduced in commit d

[vpp-dev] VPP checksum behavior problems

2020-04-13 Thread Sun, Chenmin
Hi experts, I am confusing about the L4 checksum behavior in VPP. I noticed the code was there for a very long time(more than 3 years) so I open this topic to see if anybody knows the history and why. The first problem is in DPDK plugin and was introduced in commit d81566ff92: Disable for-us u