Re: [dpdk-dev] [PATCH] vhost: fix dequeue offload support

2017-10-24 Thread Yuanhan Liu
On Tue, Oct 24, 2017 at 11:12:30AM +0800, Tiwei Bie wrote: > When offload is enabled, vhost needs to access the first mbuf > to get the packet info, e.g. TCP header. So we couldn't delay > the data copy in this case. > > Fixes: e5c494a7a22b ("vhost: batch small guest memory copies") > > Reported-

[dpdk-dev] [PATCH] vhost: fix dequeue offload support

2017-10-23 Thread Tiwei Bie
When offload is enabled, vhost needs to access the first mbuf to get the packet info, e.g. TCP header. So we couldn't delay the data copy in this case. Fixes: e5c494a7a22b ("vhost: batch small guest memory copies") Reported-by: Lei Yao Signed-off-by: Tiwei Bie --- lib/librte_vhost/virtio_net.c