[dpdk-dev] [PATCH v2] virtio: use zeroed memory for simple TX header

Yuanhan Liu yuanhan.liu at linux.intel.com
Tue Apr 5 06:25:13 CEST 2016


On Mon, Apr 04, 2016 at 07:11:01PM -0700, Rich Lane wrote:
> For simple TX the virtio-net header must be zeroed, but it was using memory
> that had been initialized with indirect descriptor tables. This resulted in
> "unsupported gso type" errors from librte_vhost.
> 
> We can use the same memory for every descriptor to save cachelines in the
> vswitch.
> 
> Fixes: 6dc5de3a (virtio: use indirect ring elements)
> Signed-off-by: Rich Lane <rlane at bigswitch.com>

Acked-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>

Thanks.

	--yliu


More information about the dev mailing list