|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, 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 |
|
| #
11e02702 |
| 05-May-2021 |
Jerin Jacob <[email protected]> |
examples: fix pkg-config override
Move pkg-config override to beginning in the Makefile to allow use PKGCONF variable to detect the libdpdk availability.
Fixes: fda34680eb9a ("examples: remove lega
examples: fix pkg-config override
Move pkg-config override to beginning in the Makefile to allow use PKGCONF variable to detect the libdpdk availability.
Fixes: fda34680eb9a ("examples: remove legacy sections of makefiles") Cc: [email protected]
Signed-off-by: Jerin Jacob <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1 |
|
| #
5a196330 |
| 19-Jan-2021 |
Bruce Richardson <[email protected]> |
examples: warn about broken pkg-config
Since the examples are designed to be built by end-users using Make, we can detect and warn about broken pkg-config on the user's system as part of the build p
examples: warn about broken pkg-config
Since the examples are designed to be built by end-users using Make, we can detect and warn about broken pkg-config on the user's system as part of the build process.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v20.11, v20.11-rc5, v20.11-rc4 |
|
| #
bc8e3247 |
| 14-Nov-2020 |
David Marchand <[email protected]> |
examples: restore trace point
Before make removal, those examples were built with experimental flag for tracepoints to be compiled in but the pkg-config part of those makefiles were missed.
Fixes:
examples: restore trace point
Before make removal, those examples were built with experimental flag for tracepoints to be compiled in but the pkg-config part of those makefiles were missed.
Fixes: 78d44153de8f ("ethdev: add tracepoints") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc3, v20.11-rc2, v20.11-rc1 |
|
| #
fda34680 |
| 03-Sep-2020 |
Ciara Power <[email protected]> |
examples: remove legacy sections of makefiles
The example app makefiles contained sections using the legacy method of compiling with make. These are no longer needed, and are removed, leaving only t
examples: remove legacy sections of makefiles
The example app makefiles contained sections using the legacy method of compiling with make. These are no longer needed, and are removed, leaving only the section that uses pkg-config for the make build.
Signed-off-by: Ciara Power <[email protected]> Acked-by: Nicolas Chautru <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1 |
|
| #
8549295d |
| 30-Jun-2020 |
Bruce Richardson <[email protected]> |
build/pkg-config: improve static linking flags
Rather than setting -Bstatic in the linker flags when doing a static link, and then having to explicitly set -Bdynamic again afterwards, we can update
build/pkg-config: improve static linking flags
Rather than setting -Bstatic in the linker flags when doing a static link, and then having to explicitly set -Bdynamic again afterwards, we can update the pkg-config file to use -l:libfoo.a syntax to explicitly refer to the static library in question. Since this syntax is not supported by meson's pkg-config module directly, we can post-process the .pc files instead to adjust them.
Once done, we can simplify the examples' makefiles and the docs by removing the explicit static flag.
Signed-off-by: Bruce Richardson <[email protected]> Acked-by: Luca Boccassi <[email protected]> Acked-by: Sunil Pai G <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]>
show more ...
|
|
Revision tags: v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1 |
|
| #
78d44153 |
| 22-Apr-2020 |
Sunil Kumar Kori <[email protected]> |
ethdev: add tracepoints
Add tracepoints at important and mandatory APIs for tracing support.
Signed-off-by: Sunil Kumar Kori <[email protected]> Acked-by: David Marchand <[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 |
|
| #
69b1bb49 |
| 15-Nov-2019 |
Bruce Richardson <[email protected]> |
examples: hide error for missing pkg-config path flag
Some versions of pkg-config don't support the --path flag, which is not a fatal error when building the apps. Without the flag, the makefile jus
examples: hide error for missing pkg-config path flag
Some versions of pkg-config don't support the --path flag, which is not a fatal error when building the apps. Without the flag, the makefile just cannot track the .pc file of DPDK as a dependency of the build. Therefore, we can ignore the error and suppress it by redirecting to /dev/null the stderr from that call to pkg-config.
Fixes: 22119c4591a0 ("examples: use pkg-config in makefiles") Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]> Tested-by: Ferruh Yigit <[email protected]>
show more ...
|
| #
12a652a0 |
| 15-Nov-2019 |
Bruce Richardson <[email protected]> |
examples: fix build with old pkg-config
Not all versions of pkg-config in distros have support for the --define-prefix flag [1], causing errors when building examples manually or with test-meson-bui
examples: fix build with old pkg-config
Not all versions of pkg-config in distros have support for the --define-prefix flag [1], causing errors when building examples manually or with test-meson-builds.sh script [2].
For the former case, we need to remove the hard-coded use of the flag in the Makefiles.
For the latter case, the flag is necessary for builds to succeed, so we skip the tests when it's not present, passing it as part of the pkg-config command if it is supported.
[1] CentOS Linux release 7.7.1908 (Core) pkg-config version 0.27.1
[2] ## Building cmdline Unknown option --define-prefix gmake: Entering directory `...ild-x86-default/install-root/usr/local/share/dpdk/examples/cmdline' rm -f build/cmdline build/cmdline-static build/cmdline-shared test -d build && rmdir -p build || true Unknown option --define-prefix Unknown option --define-prefix gcc -O3 main.c commands.c parse_obj_list.c -o build/cmdline-shared main.c:14:28: fatal error: cmdline_rdline.h: No such file or directory
Fixes: ca9268529d2b ("examples: support relocated DPDK install") Fixes: 7f80a2102bbb ("devtools: test pkg-config file") Cc: [email protected]
Reported-by: Ferruh Yigit <[email protected]> Signed-off-by: Bruce Richardson <[email protected]> Tested-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v19.11-rc2 |
|
| #
69de9488 |
| 30-Oct-2019 |
Sunil Kumar Kori <[email protected]> |
examples/l2fwd-event: add infra to split eventdev framework
Add infra to split eventdev framework based on event Tx adapter capability. If event Tx adapter has internal port capability then we use `
examples/l2fwd-event: add infra to split eventdev framework
Add infra to split eventdev framework based on event Tx adapter capability. If event Tx adapter has internal port capability then we use `rte_event_eth_tx_adapter_enqueue` to transmitting packets else we use a SINGLE_LINK event queue to enqueue packets to a service core which is responsible for transmitting packets.
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 ...
|
| #
1b2143aa |
| 30-Oct-2019 |
Pavan Nikhilesh <[email protected]> |
examples/l2fwd-event: add infra for eventdev
Add infra to select event device as a mode to process packets through command line arguments. Also, allow the user to select the schedule type to be RTE_
examples/l2fwd-event: add infra for eventdev
Add infra to select event device as a mode to process packets through command line arguments. Also, allow the user to select the schedule type to be RTE_SCHED_TYPE_ORDERED, RTE_SCHED_TYPE_ATOMIC or RTE_SCHED_TYPE_PARALLEL.
Usage:
`--mode="eventdev"` or `--mode="poll"` `--eventq-sched="ordered"`, `--eventq-sched="atomic"` or `--event-sched=parallel`
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 ...
|
| #
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 ...
|