DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: ajit.khaparde@broadcom.com, fangfangx.wei@intel.com, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] mem: support page locking on FreeBSD
Date: Fri, 16 Jun 2017 15:31:29 +0100	[thread overview]
Message-ID: <20170616143128.GA83676@bricha3-MOBL3.ger.corp.intel.com> (raw)
In-Reply-To: <20170615175055.27032-1-thomas@monjalon.net>

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 <fangfangx.wei@intel.com>
> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
> ---
This fixes gcc and clang errors on FreeBSD so

Acked-by: Bruce Richardson <bruce.richardson@intel.com>

  reply	other threads:[~2017-06-16 14:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <ac403b$3dpoa8@fmsmga006.fm.intel.com>
2017-06-15 13:43 ` [dpdk-dev] [dpdk-test-report] | ERROR | daily Intel builds (57/60) Wei, FangfangX
2017-06-15 17:50   ` [dpdk-dev] [PATCH] mem: support page locking on FreeBSD Thomas Monjalon
2017-06-16 14:31     ` Bruce Richardson [this message]
2017-06-16 14:52       ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170616143128.GA83676@bricha3-MOBL3.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=ajit.khaparde@broadcom.com \
    --cc=dev@dpdk.org \
    --cc=fangfangx.wei@intel.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).