Re: [dpdk-dev] [PATCH 2/2] vhost: fix IP csum not calculated

2017-06-07 Thread Maxime Coquelin
On 06/07/2017 08:41 AM, Jianfeng Tan wrote: There is no way to bypass IP checksum verification in Linux kernel, no matter skb->ip_summed is assigned as CHECKSUM_UNNECESSARY or CHECKSUM_PARTIAL. So any packets with bad IP checksum will be dropped at VM IP layer. To correct, we check this flag

[dpdk-dev] [PATCH 2/2] vhost: fix IP csum not calculated

2017-06-06 Thread Jianfeng Tan
There is no way to bypass IP checksum verification in Linux kernel, no matter skb->ip_summed is assigned as CHECKSUM_UNNECESSARY or CHECKSUM_PARTIAL. So any packets with bad IP checksum will be dropped at VM IP layer. To correct, we check this flag PKT_TX_IP_CKSUM to calculate IP csum. Fixes: 85