vhost: fix sync dequeue offload
authorXuan Ding <xuan.ding@intel.com>
Fri, 24 Jun 2022 05:38:24 +0000 (05:38 +0000)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 1 Jul 2022 13:49:49 +0000 (15:49 +0200)
commitb6eee3e834020fe7ffa0dc84d21be740998230ea
treea516c18ec4b41319d59814d69bb56dddfee6fd86
parentc8a3ee49c94d72d03e2de5814bca01f7fd7d79d1
vhost: fix sync dequeue offload

This patch fixes the missing virtio net header copy in sync
dequeue path caused by refactoring, which affects dequeue
offloading.

Fixes: 6d823bb302c7 ("vhost: prepare sync for descriptor to mbuf refactoring")

Signed-off-by: Xuan Ding <xuan.ding@intel.com>
Tested-by: Wei Ling <weix.ling@intel.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
lib/vhost/virtio_net.c