RE: [PATCH 2/6] vhost: fix missing enqueue pseudo-header calculation

2022-05-16 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Thursday, May 5, 2022 6:27 PM > To: dev@dpdk.org; jasow...@redhat.com; Xia, Chenbo ; > david.march...@redhat.com; olivier.m...@6wind.com > Cc: sta...@dpdk.org; Maxime Coquelin > Subject: [PATCH 2/6] vhost: fix m

[PATCH 2/6] vhost: fix missing enqueue pseudo-header calculation

2022-05-05 Thread Maxime Coquelin
The Virtio specification requires that in case of checksum offloading, the pseudo-header checksum must be set in the L4 header. When received from another Vhost-user port, the packet checksum might already contain the pseudo-header checksum but we have no way to know it. So we have no other choice