From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH] kni: fix build Date: Fri, 07 Nov 2014 16:07:11 +0100 Message-ID: <545CE01F.2060509@6wind.com> References: <1415371867-3730-1-git-send-email-thomas.monjalon@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: Thomas Monjalon , dev-VfR2kkLFssw@public.gmane.org Return-path: In-Reply-To: <1415371867-3730-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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 Acked-by: Olivier Matz