Re: [dpdk-dev] [PATCH 1/2] vhost: fix Virtio-net header len with packed ring

2020-10-08 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Thursday, October 1, 2020 6:12 PM > To: dev@dpdk.org; Xia, Chenbo ; Liu, Yong > > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [PATCH 1/2] vhost: fix Virtio-net header len with packed ring > > In case packed ring layout has been ne

[dpdk-dev] [PATCH 1/2] vhost: fix Virtio-net header len with packed ring

2020-10-01 Thread Maxime Coquelin
In case packed ring layout has been negotiated, but neither Version 1 nor mergeable buffers, the Virtio-net header len is assigned to the legacy devices value, which is wrong. This patch fixes this with using the proper len as devices using packed ring are not legacy devices. Fixes: a922401f35cc