vhost: fix dirty page logging missing
authorMarvin Liu <yong.liu@intel.com>
Mon, 4 Nov 2019 11:15:47 +0000 (19:15 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:05 +0000 (23:15 +0100)
commit4da3dd488511698364bc64477af3d836406ed9c5
tree840d9e661c3a3a2038db7acb03ed2c5d10b88d99
parenta76552d48f17a990662592ff5e13a6e83b62025c
vhost: fix dirty page logging missing

Packets data are directly copied when doing batch enqueue, add missed
dirty page logging after memory copy.

Fixes: ef861692c398 ("vhost: add packed ring batch enqueue")

Signed-off-by: Marvin Liu <yong.liu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/virtio_net.c