[dpdk-dev] [PATCH] kni: fix build

Olivier MATZ olivier.matz at 6wind.com
Fri Nov 7 16:07:11 CET 2014


Hi Thomas,

On 11/07/2014 03:51 PM, Thomas Monjalon wrote:
> Since commit 08b563ffb19 ("mbuf: replace data pointer by an offset"),
> KNI vhost compilation (CONFIG_RTE_KNI_VHOST=y) was broken.
> 
> rte_pktmbuf_mtod() is not used in the kernel context but is replaced
> by a simple addition of the base address and the offset.
> 
> Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>



More information about the dev mailing list