[dpdk-dev] [PATCH v3] vhost: Only access header if offloading is supported in dequeue path

Yuanhan Liu yuanhan.liu at linux.intel.com
Tue Oct 18 16:30:03 CEST 2016


On Fri, Oct 14, 2016 at 10:07:07AM +0200, Maxime Coquelin wrote:
> If offloading features are not negotiated, parsing the virtio header
> is not needed.
> 
> Micro-benchmark with testpmd shows that the gain is +4% with indirect
> descriptors, +1% when using direct descriptors.
> 
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Applied to dpdk-next-virtio.

Thanks.

	--yliu


More information about the dev mailing list