From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] kni: fix build Date: Mon, 10 Nov 2014 10:29:28 +0100 Message-ID: <3371210.3dBl657YQg@xps13> References: <1415371867-3730-1-git-send-email-thomas.monjalon@6wind.com> <545CE01F.2060509@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Olivier MATZ Return-path: In-Reply-To: <545CE01F.2060509-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" > > 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 Applied -- Thomas