From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 642DB7F25 for ; Fri, 7 Nov 2014 15:57:48 +0100 (CET) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1XmlB6-00088G-Px; Fri, 07 Nov 2014 16:10:23 +0100 Message-ID: <545CE01F.2060509@6wind.com> Date: Fri, 07 Nov 2014 16:07:11 +0100 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 MIME-Version: 1.0 To: Thomas Monjalon , dev@dpdk.org References: <1415371867-3730-1-git-send-email-thomas.monjalon@6wind.com> In-Reply-To: <1415371867-3730-1-git-send-email-thomas.monjalon@6wind.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] kni: fix build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2014 14:57:48 -0000 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