Age | Commit message (Collapse) | Author |
|
Add CentOS `libconfig` install directory to `PKG_CONFIG_PATH`.
Signed-off-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
|
|
Add CentOS and Rocky Linux default DPDK install directory to
PKG_CONFIG_PATH for native arm64 builds.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Mounting huge pages fails randomly in GitHub Actions if VM disk is close to
full. Maximize probability that mounting succeeds by mounting huge pages
before ODP build.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Add CentOS and Rocky Linux default DPDK install directory to
PKG_CONFIG_PATH.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
DPDK is now available also for RISC-V, so common build script can be
used.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Add missing static build tests to arm64 GitHub CI pipeline.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
|
|
Now that we have a build-and-run test in installcheck, use it in CI
build scripts, instead of implementing a similar test in each
individual script.
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Upgrade default test image from Ubuntu 18.04 to 20.04. i386 cross-
compilation stays on Ubuntu 18.04 as 20.04 dropped support for i386.
Default GCC version changes to 9 and Clang to 10.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Added CI jobs that build everything with static linking
(--disable-shared), with and without LTO. OpenSSL and PCAP is
disabled on Ubuntu 22 build, since those generated internal
linking errors.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
|
|
Don't override standard tools and paths when building ODP natively on
arm64. Run_OS(ubuntu_18.04) test was passing an empty CC variable as it
doesn't use matrix for compilers.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Disable warnings from PRIuPTR usage.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Run odp_sysinfo application after native ODP builds in the CI. This
application can provide more useful information in the CI log (e.g. CPU
model) compared to the previously used odp_hello application. When cross
compiling, the odp_sysinfo application is only built.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Add cross-compilation and native tests for ARMv8 crypto.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Signed-off-by: Malvika Gupta <Malvika.Gupta@arm.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
|
|
Upgrade to Codecov uploader V2 as V1 is being discontinued. The new
uploader doesn't convert *.gcno files into *.gcov files automatically
anymore, so this has to be done now manually in the coverage.sh script.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
|
|
Added ODP specific section at the end of the spelling file.
A pretty common typo is to use ODP_CACHE_ALIGNED instead of
ODP_ALIGNED_CACHE. When this typo is done with a nameless
struct type, compiler does not catch it (but this does).
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Updated spelling file content from Linux kernel version 5.14.3.
https://elixir.bootlin.com/linux/v5.14.3/source/scripts/spelling.txt
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
DPDK aarch64 pkg-config file is installed to
/usr/local/lib/aarch64-linux-gnu/pkgconfig.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Fix misspelled CFLAGS in coverage.sh.
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Couple of issues (deadlock, crash and race condition) were found
during addition of pktin event queue test. Scalable scheduler
seems to need several fixes to overcome all those. Don't run this
test with scalable scheduler before the issues have been fixed.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Shippable service has been discontinued.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
To enable the arm64 CI, ci-pipeline-arm64.yaml file has been added
with approximately 40+ jobs. Some of the CI scripts were also
modified to add an ARCH environment variable for allowing native
arm64 builds for the jobs.
Jobs have been restricted to only run when the repo is owned by
OpenDataPlane. This is to prevent the CI triggering on forks of the
project where Graviton2 self-hosted runners are not available.
Signed-off-by: Dean Arnold <dean.arnold@arm.com>
Signed-off-by: Malvika Gupta <Malvika.Gupta@arm.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Coverity expects that the directory where it's storing the results of
the build is named "cov-int". Rename the directory to address this.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Add an Ubuntu20.04 Coverity job scheduled daily. The build is without
DPDK as we don't need that for static analysis.
Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Use $(nproc) jobs to run distcheck in CI.
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Update spelling.txt to the latest version from
https://github.com/torvalds/linux repo (commit
30cdbd53921ff8c39c7c2e7a6318d964a0ae154c).
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Update checkpatch.pl to the latest version from
https://github.com/torvalds/linux repo (commit
5b8f82e1a17695c9e5fec5842b234967782d7e5b).
ODP needs to have two modifications in the file. Those
has been marked with comments including ODP as a keyword.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Add tests to check that global symbols in static libodp-linux and
libodphelper conform to certain prefix patterns.
Fixes: https://github.com/OpenDataPlane/odp/issues/805
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Add build script for 64-bit RISC-V architecture.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Decrease coverage test duration from 35min to 20min by running only
validation tests for scalable and sp schedulers. A full 'make check' is run
for these schedulers in a separate CI job.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Upload coverage test results using codecov/codecov-action. Using shared
Codecov token is no longer required since the results are automatically
uploaded under repository's GitHub username.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Add 'make clean' step to fix CI builds where the same source directory is
used multiple times with varying configuration options.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Update Linux spelling file to the latest version (v5.10-rc2).
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Allow string lines longer than max line length. Remove now unnecessary
modifications to the checkpatch file.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Update checkpatch script to the latest version (571d54ed9).
Major changes:
- Max line length has been increased to 100
- New warning about missing commit description
- New warning about preferring 'fallthrough;' over fallthrough comment
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Improve testing coverage.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Separate DPDK v18.11 test has been removed. DPDK v18.11 is used now by
default in Ubuntu 18.04 x86 builds. DPDK v17.11 is still used in Ubuntu
16.04 builds.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Test new packet/buffer/pktin alignment configuration file
options. Uses pktio_run.sh to run packets through various pktio
types.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Test ODP build also out of tree.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Stanislaw Kardach <skardach@marvell.com>
|
|
Due to changes in pool implementation (linux-gen: pool: use pointer ring to
store buffer headers) additional single va memory is required for process
mode operation.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Carl Wallen <carl.wallen@nokia.com>
Reported-by: Carl Wallen <carl.wallen@nokia.com>
|
|
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
|
|
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Script was introduced to quick build odp with dpdk pktio
support for dev or testing propose. Now it's more easy to
run docker container with same parameters as CI does.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-and-tested-by: Matias Elo <matias.elo@nokia.com>
|
|
Distcheck test takes over 20 minutes. Split it into two test
cases, so that those can run in parallel.
Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Build ODP on multiple threads with 'make -j $(nproc)'.
Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Remove iquery scheduler from CI test scripts.
Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
scripts runs 2 distchecks but only for second one CI
was exported.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
current print logs are not executed due to set -e,
let after_failure task print logs if return code
is not zero.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
|