Re: [dpdk-dev] [PATCH] examples/performance-thread: fix compilation on FreeBSD 10.0

2017-05-01 Thread Thomas Monjalon
28/04/2017 14:38, De Lara Guarch, Pablo: > From: Bruce Richardson > > > > While later releases in the FreeBSD 10 series have a CPU_COUNT macro > > defined, FreeBSD 10.0 and 10.1 do not have this macro. Therefore we > > provide > > a basic fallback implementation of the macro for platforms where it

Re: [dpdk-dev] [PATCH] examples/performance-thread: fix compilation on FreeBSD 10.0

2017-04-28 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > Sent: Friday, April 28, 2017 11:18 AM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [dpdk-dev] [PATCH] examples/performance-thread: fix compilation > on FreeBSD

[dpdk-dev] [PATCH] examples/performance-thread: fix compilation on FreeBSD 10.0

2017-04-28 Thread Bruce Richardson
While later releases in the FreeBSD 10 series have a CPU_COUNT macro defined, FreeBSD 10.0 and 10.1 do not have this macro. Therefore we provide a basic fallback implementation of the macro for platforms where it is not defined. Fixes: 433ba6228f9a ("examples/performance-thread: add pthread_shim a