From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CFD4C20913; Fri, 16 Jun 2017 10:52:03 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 16 Jun 2017 10:52:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=VDyr+Qnfd0R/khm s0VwuBrOWPNzyLWb2o0tIflE+fxs=; b=jtf5w3huNTWy/zVTcyJwRatiXU6YZmY RTpIiYIZSaumjSFbjCiJ0hHZkTSIPjwLG2LR0OMJPNrToX6SHSxvjRewjWJQ4mVk mJh1XShEe0ladNjIZwbptkg1YVUW6NZEDCuNomzXO9ou0G6XcRm5Tm6WmwT82tXI o/5LoJ45JsUw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=VDyr+Qnfd0R/khms0VwuBrOWPNzyLWb2o0tIflE+fxs=; b=qvkxsWXO tepkv86SR5g3WFV5Q9v9qL3+d6kNEmSdHwFbQON5jWDTdyWdPoMnk9sUQDU/vyBC RgxOfmc4HcFNmAE2KiZz+fyjqWgN3lxgmxGcSNUK7AhiBG/h/Xs9JhwlVSXw674G LNdW1ZYHFku8DnN3J1gB6Iqmao9kMuPnpM9dJ01v6qJ2OP6w4zpwG4wGbAHHfl53 3vrtvzpSlJ0bbsaPCAhf4jWR4SEh2hVW8wzo3GHLw3JW4nV9DM1IqWOH1CDWPCWR Hi/m3XtsHf5jJaFel/ubOqaWmNGIRDphRGgEqmqpuykppDAICfqBloP6yQZrGAtA q7apNcshtdN3Eg== X-ME-Sender: X-Sasl-enc: xdijFlCthl9t0x55B6b7qewOOPiuSZfxdwldIzIbQBjZ 1497624723 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 814B07E9E4; Fri, 16 Jun 2017 10:52:03 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: Bruce Richardson , ajit.khaparde@broadcom.com, fangfangx.wei@intel.com Date: Fri, 16 Jun 2017 16:52:02 +0200 Message-ID: <3646938.9BSVnrcX9I@xps> In-Reply-To: <20170616143128.GA83676@bricha3-MOBL3.ger.corp.intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mem: support page locking on FreeBSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2017 14:52:04 -0000 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