Skip to content

Fixes for BSD compilation

Bruce Richardson dpdk-dev 2 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

* adjust fix for perf thread compilation to use rte_lcore.h instead of extra #ifdefs.
* added in two extra patches, enabling examples_clean to run on BSD, and removing the "common" build dir in perf thread example.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4net/ark: fix FreeBSD compilationdrivers/net/ark/Makefile+2 -00 replies
2/4examples: fix examples_clean build target on FreeBSDexamples/exception_path/Makefile examples/netmap_compat/bridge/Makefile examples/qos_sched/Makefile+3 -00 replies
3/4examples/performance-thread: fix FreeBSD compilationexamples/performance-thread/l3fwd-thread/main.c examples/performance-thread/pthread_shim/main.c examples/performance-thread/pthread_shim/pthread_shim.c +1 more+29 -90 replies
4/4examples/performance-thread: use a single build output direxamples/performance-thread/common/common.mk+11 -90 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchJohn Miller
1/4A-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] Fixes for BSD compilation

Fixes a number of issues with compiling on BSD, and a general fix to clean up the compilation of the performance-thread app.

V2 changes:
* adjust fix for perf thread compilation to use rte_lcore.h instead of extra #ifdefs.
* added in two extra patches, enabling examples_clean to run on BSD, and removing the "common" build dir in perf thread example.

Bruce Richardson (4):
net/ark: fix FreeBSD compilation
examples: fix examples_clean build target on FreeBSD examples/performance-thread: fix FreeBSD compilation examples/performance-thread: use a single build output dir

 drivers/net/ark/Makefile                           |  2 ++
 examples/exception_path/Makefile                   |  1 +
 examples/netmap_compat/bridge/Makefile             |  1 +
 examples/performance-thread/common/common.mk       | 20 ++++++++++---------
 examples/performance-thread/l3fwd-thread/main.c    |  4 ++++
 examples/performance-thread/pthread_shim/main.c    |  8 ++++++--
 .../performance-thread/pthread_shim/pthread_shim.c | 23 ++++++++++++++++------
 .../performance-thread/pthread_shim/pthread_shim.h |  3 ++-
 examples/qos_sched/Makefile                        |  1 +
 9 files changed, 45 insertions(+), 18 deletions(-)
Signature · 1 line
2.11.0