From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: force IOVA PA mode if KNI module inserted Date: Tue, 07 Nov 2017 00:25:35 +0100 Message-ID: <3773078.IDCL2VCezq@xps> References: <20171102000600.85309-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Sergio Gonzalez Monroy , Jianfeng Tan , Jerin Jacob , Santosh Shukla To: Ferruh Yigit Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id BDE7E1B32A for ; Tue, 7 Nov 2017 00:25:36 +0100 (CET) In-Reply-To: <20171102000600.85309-1-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 Applied, thanks