[dpdk-dev] [PATCH] eal: force IOVA PA mode if KNI module inserted

Thomas Monjalon thomas at monjalon.net
Tue Nov 7 00:25:35 CET 2017


02/11/2017 01:06, Ferruh Yigit:
> Fix kernel crash with KNI because KNI requires physical addresses.
> 
> When IOVA VA mode used, memzones and mbufs physical address fields
> contain virtual addresses. But KNI relies on these fields to enable
> kernel access for buffers. Those fields having virtual address cause
> crash in kernel.
> 
> This is a workaround until KNI fixed properly to work with virtual
> addresses.
> 
> Fixes: 72d013644bd6 ("mem: honor IOVA mode in malloc virt2phy")
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied, thanks



More information about the dev mailing list