[dpdk-dev] [PATCH] vhost: fix ANY_LAYOUT definition for old kernels

Thomas Monjalon thomas at monjalon.net
Wed Jan 31 12:11:53 CET 2018


> > > This patch fixes compile failure with old kernels which have no
> > > VIRTIO_F_ANY_LAYOUT defined.
> > > 
> > > Signed-off-by: Zhihong Wang <zhihong.wang at intel.com>
> > > ---
> > >   lib/librte_vhost/vhost.h | 4 ++++
> > >   1 file changed, 4 insertions(+)
> > 
> > Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> 
> Cc: Thomas Monjalon <thomas at monjalon.net>
> 
> This fixes a cross compilation issue with arm64 too.
> 
> Tested-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>

Fixes: 5a8bb6e9020f ("vhost: claim to support any layout feature")

Applied, thanks


More information about the dev mailing list