Re: [dpdk-dev] [PATCH] mem: support page locking on FreeBSD

2017-06-16 Thread Thomas Monjalon
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 t

Re: [dpdk-dev] [PATCH] mem: support page locking on FreeBSD

2017-06-16 Thread 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:

[dpdk-dev] [PATCH] mem: support page locking on FreeBSD

2017-06-15 Thread Thomas Monjalon
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