From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mem: support page locking on FreeBSD Date: Fri, 16 Jun 2017 16:52:02 +0200 Message-ID: <3646938.9BSVnrcX9I@xps> References: <067B569323FEB248B5CB480E1954F4346F4155FA@SHSMSX101.ccr.corp.intel.com> <20170615175055.27032-1-thomas@monjalon.net> <20170616143128.GA83676@bricha3-MOBL3.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: Bruce Richardson , ajit.khaparde@broadcom.com, fangfangx.wei@intel.com To: dev@dpdk.org Return-path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 566495583 for ; Fri, 16 Jun 2017 16:52:04 +0200 (CEST) In-Reply-To: <20170616143128.GA83676@bricha3-MOBL3.ger.corp.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" 16/06/2017 16:31, Bruce Richardson: > On Thu, Jun 15, 2017 at 07:50:55PM +0200, Thomas Monjalon wrote: > > The function rte_mem_lock_page() was added for Linux only. > > The file eal_common_memory.c is a better place to make it > > available in FreeBSD also. > > > > The issue is seen when trying to compile bnxt on FreeBSD: > > bnxt_hwrm.c: undefined reference to `rte_mem_lock_page' > > > > Fixes: 3097de6e6bfb ("mem: get physical address of any pointer") > > > > Reported-by: Fangfang Wei > > Signed-off-by: Thomas Monjalon > > --- > This fixes gcc and clang errors on FreeBSD so > > Acked-by: Bruce Richardson Applied