Go to file
Bruce Richardson 4cde45f36f examples/performance-thread: fix build on FreeBSD
This set of sample apps did not compile on FreeBSD due to use of a number
of Linux/glibc-specific APIs, or APIs which existed in different headers
on FreeBSD. Specifically, the following APIs has problems:
  * sched_getcpu() is a glibc extension, so use rte_lcore_id() on BSD
  * pthread_yield() returns int on Linux, but void on FreeBSD, so
    we have to create two slightly different copies of the function.
  * the type for managing cpu sets is cpuset_t on FreeBSD rather than
    cpu_set_t as on Linux, so use rte_cpuset_t from rte_lcore.h.
  * APIs for managing cpu affinity are in pthread_np.h on FreeBSD, rather
    than in pthread.h, also fixed by including rte_lcore.h

Fixes: 433ba6228f ("examples/performance-thread: add pthread_shim app")
Fixes: d48415e1fe ("examples/performance-thread: add l3fwd-thread app")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2017-04-21 16:20:16 +02:00
app app/procinfo: fix description of --xstats-name option 2017-04-21 15:13:02 +02:00
buildtools mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
config crypto/dpaa2_sec: introduce poll mode driver 2017-04-20 11:32:45 +02:00
devtools devtools: add test apps to build script 2017-04-06 21:44:06 +02:00
doc doc: fix flow validate comments 2017-04-21 10:41:52 +02:00
drivers net/ark: fix build on FreeBSD 2017-04-21 16:19:40 +02:00
examples examples/performance-thread: fix build on FreeBSD 2017-04-21 16:20:16 +02:00
lib doc: fix flow validate comments 2017-04-21 10:41:52 +02:00
mk crypto/dpaa2_sec: introduce poll mode driver 2017-04-20 11:32:45 +02:00
pkg version: 17.02.0 2017-02-14 22:17:45 +01:00
test test/crypto: add DPAA2 crypto functional test 2017-04-20 11:32:45 +02:00
usertools usertools: fix active interface detection when binding 2017-01-30 17:30:21 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: reformat crypto drivers overview 2017-04-06 00:17:44 +02:00
GNUmakefile mk: do not build tests by default 2017-02-28 16:04:18 +01:00
LICENSE.GPL
LICENSE.LGPL
MAINTAINERS doc: add NXP DPAA2 SEC 2017-04-20 11:32:45 +02:00
Makefile
README

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org