|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3 |
|
| #
cbff4d8d |
| 17-Nov-2021 |
David Marchand <[email protected]> |
build: make pdump optional
This library can be made optional. dumpcap and pdump applications depend on this library, check for dependencies like what we have for examples.
Signed-off-by: David Marc
build: make pdump optional
This library can be made optional. dumpcap and pdump applications depend on this library, check for dependencies like what we have for examples.
Signed-off-by: David Marchand <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc2 |
|
| #
8b8036a6 |
| 08-Nov-2021 |
Elena Agostini <[email protected]> |
gpudev: introduce GPU device class library
In heterogeneous computing system, processing is not only in the CPU. Some tasks can be delegated to devices working in parallel.
The new library gpudev i
gpudev: introduce GPU device class library
In heterogeneous computing system, processing is not only in the CPU. Some tasks can be delegated to devices working in parallel.
The new library gpudev is for dealing with GPGPU computing devices from a DPDK application running on the CPU.
The infrastructure is prepared to welcome drivers in drivers/gpu/.
Signed-off-by: Elena Agostini <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
| #
0eb62bf2 |
| 05-Nov-2021 |
David Marchand <[email protected]> |
app: fix external dependency linking
ext_deps was not used in app/meson.build so testpmd dependency on jansson was ignored. testpmd currently can be linked because metrics library is pulling the dep
app: fix external dependency linking
ext_deps was not used in app/meson.build so testpmd dependency on jansson was ignored. testpmd currently can be linked because metrics library is pulling the dependency on libjansson.
Fixes: 59f3a8acbcdb ("app/testpmd: add flex item commands")
Signed-off-by: David Marchand <[email protected]> Reviewed-by: Gregory Etelson <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc1 |
|
| #
cbb44143 |
| 20-Oct-2021 |
Stephen Hemminger <[email protected]> |
app/dumpcap: add new packet capture application
This is a new packet capture application to replace existing pdump. The new application works like Wireshark dumpcap program and supports the pdump AP
app/dumpcap: add new packet capture application
This is a new packet capture application to replace existing pdump. The new application works like Wireshark dumpcap program and supports the pdump API features.
It is not complete yet some features such as filtering are not implemented.
Signed-off-by: Stephen Hemminger <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1 |
|
| #
634b7310 |
| 29-Jun-2021 |
Jie Zhou <[email protected]> |
app/testpmd: build on Windows
- Disable unsupported apps on Windows - Enable building of testpmd on Windows
Signed-off-by: Jie Zhou <[email protected]> Acked-by: Tal Shnaiderman <talshn@nvid
app/testpmd: build on Windows
- Disable unsupported apps on Windows - Enable building of testpmd on Windows
Signed-off-by: Jie Zhou <[email protected]> Acked-by: Tal Shnaiderman <[email protected]> Acked-by: Dmitry Kozlyuk <[email protected]>
show more ...
|
|
Revision tags: v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
23bd8128 |
| 20-Apr-2021 |
Bruce Richardson <[email protected]> |
app: 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,
app: 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 ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1 |
|
| #
64fd2124 |
| 15-Jan-2021 |
Bruce Richardson <[email protected]> |
app: fix build with extra include paths
The "includes" variable in the app/meson.build file was ignored when building the executable, meaning that apps couldn't pass additional include paths directl
app: fix build with extra include paths
The "includes" variable in the app/meson.build file was ignored when building the executable, meaning that apps couldn't pass additional include paths directly back. Fix this to align with drivers and libs.
Fixes: fa036e70d794 ("app: generalize meson build") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: David Marchand <[email protected]>
show more ...
|
| #
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, v20.11-rc3, v20.11-rc2, v20.11-rc1, v20.08, v20.08-rc4, v20.08-rc3 |
|
| #
de06137c |
| 29-Jul-2020 |
Yuval Avnery <[email protected]> |
app/regex: add RegEx test application
Following the new RegEx class. There is a need to create a dedicated test application in order to validate this class and PMD.
Unlike net device this applicati
app/regex: add RegEx test application
Following the new RegEx class. There is a need to create a dedicated test application in order to validate this class and PMD.
Unlike net device this application loads data from a file.
This commit introduces the new RegEx test app.
The basic app flow: 1. Configure the RegEx device to use one queue, and set the rule database, using precompiled file. 2. Allocate mbufs based on the requested number of jobs, each job will i get one mbuf. 3. Enqueue as much as possible jobs. 4. Dequeue jobs. 5. if the number of dequeue jobs < requested number of jobs job to step
Signed-off-by: Ori Kam <[email protected]> Signed-off-by: Yuval Avnery <[email protected]>
show more ...
|
|
Revision tags: v20.08-rc2, v20.08-rc1 |
|
| #
607164e2 |
| 30-Jun-2020 |
Bruce Richardson <[email protected]> |
build: remove unnecessary variable
Since all libraries are explicitly linked as part of a build, we no longer need to track ones that should be always included for linking against apps.
Previously
build: remove unnecessary variable
Since all libraries are explicitly linked as part of a build, we no longer need to track ones that should be always included for linking against apps.
Previously telemetry was special-cased for linking as it was not directly needed by the linker when linking the apps, since they never called into it directly. This meant that it could be forgotten when specifying the app dependencies, and so the telemetry support would not work. This special-casing was never needed for make as it always linked in all libraries, as meson does now.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]> Acked-by: Sunil Pai G <[email protected]>
show more ...
|
| #
3344cf2e |
| 04-Jun-2020 |
Wisam Jaddo <[email protected]> |
app/flow-perf: add flow performance skeleton
Add flow performance application skeleton.
Signed-off-by: Wisam Jaddo <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Ac
app/flow-perf: add flow performance skeleton
Add flow performance application skeleton.
Signed-off-by: Wisam Jaddo <[email protected]> Reviewed-by: Andrew Rybchenko <[email protected]> Acked-by: Xiaoyu Min <[email protected]>
show more ...
|
|
Revision tags: v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1 |
|
| #
acec04c4 |
| 13-Apr-2020 |
Pavan Nikhilesh <[email protected]> |
build: disable experimental API check internally
Remove setting ALLOW_EXPERIMENTAL_API individually for each Makefile and meson.build. Instead, enable ALLOW_EXPERIMENTAL_API flag across app, lib and
build: disable experimental API check internally
Remove setting ALLOW_EXPERIMENTAL_API individually for each Makefile and meson.build. Instead, enable ALLOW_EXPERIMENTAL_API flag across app, lib and drivers. This changes reduces the clutter across the project while still maintaining the functionality of ALLOW_EXPERIMENTAL_API i.e. warning external applications about experimental API usage.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Hemant Agrawal <[email protected]> Signed-off-by: David Marchand <[email protected]>
show more ...
|
| #
dc38ae8d |
| 09-Mar-2020 |
Vladimir Medvedkin <[email protected]> |
app/test-fib: add in default build
Build test-fib application.
Signed-off-by: Vladimir Medvedkin <[email protected]>
|
|
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, v19.11-rc1 |
|
| #
908be065 |
| 21-Oct-2019 |
Vladimir Medvedkin <[email protected]> |
app/test-sad: add test application for IPsec SAD
Introduce new application to provide user to evaluate and perform custom functional and performance tests for IPsec SAD implementation.
According to
app/test-sad: add test application for IPsec SAD
Introduce new application to provide user to evaluate and perform custom functional and performance tests for IPsec SAD implementation.
According to our measurements on SKX for 1M entries average lookup cost is ~80 cycles, average add cost ~500 cycles.
Signed-off-by: Vladimir Medvedkin <[email protected]> Acked-by: Akhil Goyal <[email protected]> Acked-by: Konstantin Ananyev <[email protected]> Tested-by: Konstantin Ananyev <[email protected]>
show more ...
|
|
Revision tags: v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
28188cee |
| 14-May-2019 |
Marcin Smoczynski <[email protected]> |
build: enable BSD features visibility for FreeBSD
When a component uses either XOPEN_SOURCE or POSIX_C_SOURCE macro explicitly in its build recipe, it restricts visibility of a non POSIX features su
build: enable BSD features visibility for FreeBSD
When a component uses either XOPEN_SOURCE or POSIX_C_SOURCE macro explicitly in its build recipe, it restricts visibility of a non POSIX features subset, such as IANA protocol numbers (IPPROTO_* macros). Non standard features are enabled by default for DPDK both for Linux thanks to _GNU_SOURCE and for FreeBSD thanks to __BSD_VISIBLE. However using XOPEN_SOURCE or POSIX_(C_)SOURCE in a component causes __BSD_VISIBLE to be defined to 0 for FreeBSD, causing different feature sets visibility for Linux and FreeBSD. It restricts from using IPPROTO macros in public headers, such as rte_ip.h, despite the fact they are already widely used in sources.
Add __BSD_VISIBLE macro specified unconditionally for FreeBSD targets which enforces feature sets visibility unification between Linux and FreeBSD.
Add single -D_GNU_SOURCE to config/meson.build as a project argument instead of adding separate directive for each project subtree.
This patch solves the problem of build breaks for [1] on FreeBSD [2] following the discussion [3].
[1] https://mails.dpdk.org/archives/dev/2019-May/131885.html [2] http://mails.dpdk.org/archives/test-report/2019-May/082263.html [3] https://mails.dpdk.org/archives/dev/2019-May/132110.html
Signed-off-by: Marcin Smoczynski <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2 |
|
| #
adf93ca5 |
| 09-Apr-2019 |
Bruce Richardson <[email protected]> |
build: increase readability via shortcut variables
Define variables for "is_linux", "is_freebsd" and "is_windows" to make the code shorter for comparisons and more readable.
Signed-off-by: Bruce Ri
build: increase readability via shortcut variables
Define variables for "is_linux", "is_freebsd" and "is_windows" to make the code shorter for comparisons and more readable.
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: David Marchand <[email protected]> Acked-by: Luca Boccassi <[email protected]>
show more ...
|
|
Revision tags: v19.05-rc1 |
|
| #
fa647c57 |
| 02-Apr-2019 |
Anand Rawat <[email protected]> |
build: add workarounds for Windows helloworld
Added meson workarounds to build helloworld on Windows. Windows currently only supports kvargs and eal libraries. This change restricts the build flow t
build: add workarounds for Windows helloworld
Added meson workarounds to build helloworld on Windows. Windows currently only supports kvargs and eal libraries. This change restricts the build flow to supported libraries only.
Signed-off-by: Anand Rawat <[email protected]> Signed-off-by: Pallavi Kadam <[email protected]> Reviewed-by: Jeff Shaw <[email protected]> Reviewed-by: Ranjit Menon <[email protected]> Acked-by: Harini Ramakrishnan <[email protected]>
show more ...
|
| #
a9de470c |
| 26-Feb-2019 |
Bruce Richardson <[email protected]> |
test: move to app directory
Since all other apps have been moved to the "app" folder, the autotest app remains alone in the test folder. Rather than having an entire top-level folder for this, we ca
test: move to app directory
Since all other apps have been moved to the "app" folder, the autotest app remains alone in the test folder. Rather than having an entire top-level folder for this, we can move it back to where it all started in early versions of DPDK - the "app/" folder.
This move has a couple of advantages: * This reduces clutter at the top level of the project, due to one less folder. * It eliminates the separate build task necessary for building the autotests using make "make test-build" which means that developers are less likely to miss something in their own compilation tests * It re-aligns the final location of the test binary in the app folder when building with make with it's location in the source tree.
For meson builds, the autotest app is different from the other apps in that it needs a series of different test cases defined for it for use by "meson test". Therefore, it does not get built as part of the main loop in the app folder, but gets built separately at the end.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| #
474572d2 |
| 26-Feb-2019 |
Bruce Richardson <[email protected]> |
app/pipeline: move from test directory
Move to the app directory, and add to meson build.
Signed-off-by: Bruce Richardson <[email protected]>
|
| #
75795fab |
| 26-Feb-2019 |
Bruce Richardson <[email protected]> |
app/acl: move from test directory
Move to "app" directory and enable with meson build.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Konstantin Ananyev <konstantin.ananyev@
app/acl: move from test directory
Move to "app" directory and enable with meson build.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
0c36081d |
| 26-Feb-2019 |
Bruce Richardson <[email protected]> |
app/cmdline: move from test directory
Move app to "app" directory and enable with meson build. For consistency of naming, the subdirectory is also renamed from cmdline_test to test-cmdline.
Signed-
app/cmdline: move from test directory
Move app to "app" directory and enable with meson build. For consistency of naming, the subdirectory is also renamed from cmdline_test to test-cmdline.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1 |
|
| #
e0b6287c |
| 12-Dec-2018 |
Tomasz Jozwiak <[email protected]> |
app/compress-perf: add parser
Added parser part into compression perf. test.
Signed-off-by: Pablo de Lara <[email protected]> Signed-off-by: Tomasz Jozwiak <[email protected]>
app/compress-perf: add parser
Added parser part into compression perf. test.
Signed-off-by: Pablo de Lara <[email protected]> Signed-off-by: Tomasz Jozwiak <[email protected]> Acked-by: Fiona Trahe <[email protected]> Acked-by: Lee Daly <[email protected]> Acked-by: Shally Verma <[email protected]>
show more ...
|
|
Revision tags: v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1 |
|
| #
57ae0ec6 |
| 27-Oct-2018 |
Kevin Laatz <[email protected]> |
build: add dependency on telemetry to apps with meson
This patch adds telemetry as a dependecy to all applications. Without these changes, the --telemetry flag will not be recognised and application
build: add dependency on telemetry to apps with meson
This patch adds telemetry as a dependecy to all applications. Without these changes, the --telemetry flag will not be recognised and applications will fail to run if they want to enable telemetry.
Signed-off-by: Bruce Richardson <[email protected]> Signed-off-by: Kevin Laatz <[email protected]> Signed-off-by: Radu Nicolau <[email protected]> Acked-by: Harry van Haaren <[email protected]>
show more ...
|