|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1 |
|
| #
1dcbc676 |
| 17-Dec-2021 |
Ferruh Yigit <[email protected]> |
examples/performance-thread: remove
Remove sample application which is not clear if it is still relevant.
Signed-off-by: Ferruh Yigit <[email protected]>
|
|
Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2 |
|
| #
f01ca13f |
| 06-Nov-2021 |
David Marchand <[email protected]> |
examples: skip build when missing dependencies
Trying to disable the vhost library, meson will complain it can't build the vhost* and vdpa examples when passing -Dexamples=all.
-Dexamples=all skips
examples: skip build when missing dependencies
Trying to disable the vhost library, meson will complain it can't build the vhost* and vdpa examples when passing -Dexamples=all.
-Dexamples=all skips examples if the example itself announces it can't be built (for external dependencies, internal dependencies and other reasons). Since examples/meson.build will evaluate the internal dependencies in any case, let's move the check there and resolve the issue for optional internal libraries.
Fixes: 0bf583222297 ("lib: allow disabling optional libraries")
Signed-off-by: David Marchand <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
bb4141db |
| 26-Oct-2021 |
Kevin Laatz <[email protected]> |
examples/dma: rename ioat application example
Since the APIs have been updated from rawdev to dmadev, the application should also be renamed to match. This patch also includes the documentation upda
examples/dma: rename ioat application example
Since the APIs have been updated from rawdev to dmadev, the application should also be renamed to match. This patch also includes the documentation updates for the renaming.
Signed-off-by: Kevin Laatz <[email protected]> Reviewed-by: Conor Walsh <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
cf59165d |
| 20-Apr-2021 |
Bruce Richardson <[email protected]> |
examples: reduce indentation in build files
As with the lib and drivers directories, we can use "continue" keyword to reduce the indentation level of the majority of the foreach block. At the same t
examples: reduce indentation in build files
As with the lib and drivers directories, we can use "continue" keyword to reduce the indentation level of the majority of the foreach block. At the same time, we can also replace tab indentation with spaces.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| #
1cd512b2 |
| 25-Feb-2021 |
Thomas Monjalon <[email protected]> |
build: detect execinfo library on Linux
The library execinfo and its header file can be installed on Alpine Linux where the backtrace feature is not part of musl libc: apk add libexecinfo-dev
As a
build: detect execinfo library on Linux
The library execinfo and its header file can be installed on Alpine Linux where the backtrace feature is not part of musl libc: apk add libexecinfo-dev
As a consequence, this library should not be restricted to BSD only.
At the same time, the library and header are detected once and added globally to be linked with any application, internal or external.
Fixes: 9065b1fac65f ("build: fix dependency on execinfo for BSD meson builds") Cc: [email protected]
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
| #
5d20515e |
| 12-Mar-2021 |
Bruce Richardson <[email protected]> |
build: exclude meson files from examples installation
The meson.build files in each example directory is simply to support building the example as part of the main SDK build, and these should not be
build: exclude meson files from examples installation
The meson.build files in each example directory is simply to support building the example as part of the main SDK build, and these should not be installed with the example's source code and makefile. The exclude of "meson.build" only filters out the top-level examples/meson.build file, not the file in each subdirectory.
To fix this, we can build up the list of files to exclude based off the list of all examples. With this change "find examples/ -name meson.build" returns no hits when run on an installed instance.
Fixes: e5b95003f1df ("examples: fix flattening directory layout on install") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1 |
|
| #
da042bcf |
| 12-Jan-2021 |
Dmitry Kozlyuk <[email protected]> |
build: fix linker flags on Windows
The --export-dynamic linker option is only applicable to ELF. On Windows, where COFF is used, it causes warnings:
x86_64-w64-mingw32-ld: warning: --export-dyn
build: fix linker flags on Windows
The --export-dynamic linker option is only applicable to ELF. On Windows, where COFF is used, it causes warnings:
x86_64-w64-mingw32-ld: warning: --export-dynamic is not supported for PE+ targets, did you mean --export-all-symbols? (MinGW)
LINK : warning LNK4044: unrecognized option '/-export-dynamic'; ignored (clang)
Don't add --export-dynamic on Windows anywhere.
Fixes: b031e13d7f0d ("build: fix plugin load on static build") Cc: [email protected]
Signed-off-by: Dmitry Kozlyuk <[email protected]> Acked-by: Ranjit Menon <[email protected]>
show more ...
|
| #
b031e13d |
| 18-Dec-2020 |
Olivier Matz <[email protected]> |
build: fix plugin load on static build
When dpdk is compiled as static libraries, it is not possible to load a plugin from an application. We get the following error:
EAL: librte_pmd_xxxx.so: und
build: fix plugin load on static build
When dpdk is compiled as static libraries, it is not possible to load a plugin from an application. We get the following error:
EAL: librte_pmd_xxxx.so: undefined symbol: per_lcore__rte_errno
This happens because the dpdk symbols are not exported. Add them to the dynamic symbol table by using '-Wl,--export-dynamic'. This option was previously present when compiled with Makefiles, it was introduced in commit f9a08f650211 ("eal: add support for shared object drivers")
Also add it to the pkg-config file.
Fixes: 16ade738fd0d ("app/testpmd: build with meson") Fixes: 89f0711f9ddf ("examples: build some samples with meson") Cc: [email protected]
Signed-off-by: Olivier Matz <[email protected]> Reviewed-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v20.11, v20.11-rc5, v20.11-rc4 |
|
| #
e5b95003 |
| 12-Nov-2020 |
Bruce Richardson <[email protected]> |
examples: fix flattening directory layout on install
By installing the examples one-by-one in a loop in the examples meson.build file we effectively flattened out the structure of the examples folde
examples: fix flattening directory layout on install
By installing the examples one-by-one in a loop in the examples meson.build file we effectively flattened out the structure of the examples folder and omitted some common and shared subfolders that were never directly built. Instead, we can remove the loop and just have the whole "examples" folder installed as-is in a single statement, preserving its directory structure, and thereby fixing the build of a number of the examples.
Fixes: 2daf565f91b5 ("examples: install as part of ninja install") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc3, v20.11-rc2 |
|
| #
079981e9 |
| 26-Oct-2020 |
Xiaoyun Li <[email protected]> |
examples/tep_term: remove this application
This example sets up a scenario that VXLAN packets can be received by different PF queues based on VNID and each queue is bound to a VM with a VNID so that
examples/tep_term: remove this application
This example sets up a scenario that VXLAN packets can be received by different PF queues based on VNID and each queue is bound to a VM with a VNID so that the VM can receive its inner packets.
Usually, OVS is used to do the software encap/decap for VXLAN packets.
And the VXLAN packets offloading can be replaced with flow rules in testpmd like Chapter "Sample VXLAN flow rules" in Testpmd Application User Guide.
And this example hasn't been used for a long time.
So deprecate this example.
Signed-off-by: Xiaoyun Li <[email protected]> Acked-by: Thomas Monjalon <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc1 |
|
| #
4fa3a084 |
| 28-Sep-2020 |
Dmitry Kozlyuk <[email protected]> |
examples/cmdline: build on Windows
Enable cmdline sample application as all dependencies are met.
Signed-off-by: Dmitry Kozlyuk <[email protected]> Acked-by: Olivier Matz <olivier.matz@6wind
examples/cmdline: build on Windows
Enable cmdline sample application as all dependencies are met.
Signed-off-by: Dmitry Kozlyuk <[email protected]> Acked-by: Olivier Matz <[email protected]>
show more ...
|
| #
b77f6600 |
| 01-Oct-2020 |
Cristian Dumitrescu <[email protected]> |
examples/pipeline: add new example application
Add new example application to showcase the API of the newly introduced SWX pipeline type.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@int
examples/pipeline: add new example application
Add new example application to showcase the API of the newly introduced SWX pipeline type.
Signed-off-by: Cristian Dumitrescu <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1 |
|
| #
de321d59 |
| 01-Jul-2020 |
Thomas Monjalon <[email protected]> |
build: remove special handling for node library
The node library had a need of being linked as a whole to make some constructors effective. Now that all libraries are linked with --whole-archive, th
build: remove special handling for node library
The node library had a need of being linked as a whole to make some constructors effective. Now that all libraries are linked with --whole-archive, there is no need to have this library separate.
Fixes: e2db26f76673 ("build: always link whole DPDK static libraries")
Signed-off-by: Thomas Monjalon <[email protected]> Tested-by: Jerin Jacob <[email protected]>
show more ...
|
| #
e2db26f7 |
| 30-Jun-2020 |
Bruce Richardson <[email protected]> |
build: always link whole DPDK static libraries
To ensure all constructors are included in static build, we need to pass the --whole-archive flag when linking, which is used with the "link_whole" mes
build: always link whole DPDK static libraries
To ensure all constructors are included in static build, we need to pass the --whole-archive flag when linking, which is used with the "link_whole" meson option. Since we use link_whole for all libs, we no longer need to track the lib as part of the static dependency, just the path to the headers for compiling.
After this patch is applied, all DPDK .a files are inside --whole-archive/--no-whole-archive flags, but external dependencies and shared libs being linked against remain outside.
Signed-off-by: Bruce Richardson <[email protected]> Tested-by: Andrzej Ostruszka <[email protected]> Acked-by: Luca Boccassi <[email protected]> Acked-by: Sunil Pai G <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1 |
|
| #
08bd1a17 |
| 11-Apr-2020 |
Nithin Dabilpuram <[email protected]> |
examples/l3fwd-graph: add graph-based l3fwd skeleton
Add graph based l3fwd application skeleton with cmdline parsing support inline with normal l3fwd.
Signed-off-by: Nithin Dabilpuram <ndabilpuram@
examples/l3fwd-graph: add graph-based l3fwd skeleton
Add graph based l3fwd application skeleton with cmdline parsing support inline with normal l3fwd.
Signed-off-by: Nithin Dabilpuram <[email protected]>
show more ...
|
|
Revision tags: v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2 |
|
| #
c19beb3f |
| 04-Nov-2019 |
Jin Yu <[email protected]> |
examples/vhost_blk: introduce vhost storage sample
A Vhost-blk example that support inflight feature. It uses the new APIs that introduced in the first patch, so it can show how these APIs work to s
examples/vhost_blk: introduce vhost storage sample
A Vhost-blk example that support inflight feature. It uses the new APIs that introduced in the first patch, so it can show how these APIs work to support inflight feature.
Signed-off-by: Jin Yu <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
| #
4ff45798 |
| 30-Oct-2019 |
Pavan Nikhilesh <[email protected]> |
examples/l2fwd-event: add default poll mode routines
Add the default l2fwd poll mode routines similar to examples/l2fwd.
Signed-off-by: Sunil Kumar Kori <[email protected]> Signed-off-by: Pavan Nik
examples/l2fwd-event: add default poll mode routines
Add the default l2fwd poll mode routines similar to examples/l2fwd.
Signed-off-by: Sunil Kumar Kori <[email protected]> Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Nipun Gupta <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
|
Revision tags: v19.11-rc1 |
|
| #
c8e6ceec |
| 07-Oct-2019 |
Pawel Modrak <[email protected]> |
examples/ioat: add new sample app for ioat driver
A new sample app demonstrating use of driver for CBDMA. The app receives packets, performs software or hardware copy, changes packets' MAC addresse
examples/ioat: add new sample app for ioat driver
A new sample app demonstrating use of driver for CBDMA. The app receives packets, performs software or hardware copy, changes packets' MAC addresses (if enabled) and forwards them. The change covers ports initialization, closing connection and argument parsing.
Signed-off-by: Pawel Modrak <[email protected]> Signed-off-by: Marcin Baran <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
| #
7f7d4406 |
| 22-Oct-2019 |
Bruce Richardson <[email protected]> |
examples/vm_power: add guest cli to meson
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: David Hunt <[email protected]>
|
| #
32c97c80 |
| 22-Oct-2019 |
Bruce Richardson <[email protected]> |
examples/server_node_efd: add server binary to meson build
When adding to the build, add in two missing includes that prevented build on freebsd, rather than just duplicating the makefile restrictio
examples/server_node_efd: add server binary to meson build
When adding to the build, add in two missing includes that prevented build on freebsd, rather than just duplicating the makefile restriction.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]>
show more ...
|
| #
6186dea0 |
| 22-Oct-2019 |
Bruce Richardson <[email protected]> |
examples/server_node_efd: add node binary to meson build
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]>
|
| #
1af713dc |
| 22-Oct-2019 |
Bruce Richardson <[email protected]> |
examples/performance-thread: add pthread shim to meson
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]>
|
| #
64eee69a |
| 22-Oct-2019 |
Bruce Richardson <[email protected]> |
examples/performance-thread: add l3fwd-thread to meson
Limited to x86_64 systems, as it fails to compile on any others and is disabled in the examples makefile for non-x86_64 systems.
Signed-off-by
examples/performance-thread: add l3fwd-thread to meson
Limited to x86_64 systems, as it fails to compile on any others and is disabled in the examples makefile for non-x86_64 systems.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]>
show more ...
|
| #
e6d78628 |
| 22-Oct-2019 |
Bruce Richardson <[email protected]> |
examples/bpf: remove from list of examples to build
The examples/bpf directory does not contain an example app, but rather example code for use with testpmd's BPF support. Therefore, we should not a
examples/bpf: remove from list of examples to build
The examples/bpf directory does not contain an example app, but rather example code for use with testpmd's BPF support. Therefore, we should not attempt to build it when the user requests "examples=all". This also synchronises the meson behaviour with make which similarly doesn't compile up the code.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]>
show more ...
|
| #
ab6ebd70 |
| 25-Oct-2019 |
Ciara Power <[email protected]> |
examples/load_balancer: remove example
This example can be removed because DPDK now has a range of libraries, especially rte_eventdev, that did not exist previously for load balancing, making this l
examples/load_balancer: remove example
This example can be removed because DPDK now has a range of libraries, especially rte_eventdev, that did not exist previously for load balancing, making this less relevant. Also, modern NIC cards have greater ability to do load balancing, e.g. using RSS, over a wider range of fields than earlier cards did.
Signed-off-by: Ciara Power <[email protected]> Acked-by: Stephen Hemminger <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|