[dpdk-dev] [PATCH] virtio: check mbuf is direct when using any layout
Yuanhan Liu
yuanhan.liu at linux.intel.com
Mon May 23 15:52:53 CEST 2016
On Mon, May 09, 2016 at 06:19:35PM +0200, Olivier Matz wrote:
> The commit dd856dfcb9e74 introduced an optimization that prepends virtio
> header to mbuf data. It can be used when the tx mbuf is writeable, so we
> need to check that the mbuf is direct (i.e. it embeds its own data).
>
> Fixes: dd856dfcb9e74 "virtio: use any layout on Tx"
Missing "()" here. Fixed and applied to dpdk-next-virtio.
Thanks.
--yliu
More information about the dev
mailing list