[dpdk-dev] [PATCH v8 10/12] test: enable bpf autotest

Stephen Hemminger stephen at networkplumber.org
Thu Sep 16 05:09:13 CEST 2021


On Mon, 13 Sep 2021 11:15:08 -0700
Stephen Hemminger <stephen at networkplumber.org> wrote:

> The BPF autotest is defined but not run automatically.
> Since it is short, it should be added to the autotest suite.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
>  app/test/meson.build | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/app/test/meson.build b/app/test/meson.build
> index 0d551ac9c2b2..cd18484bb73a 100644
> --- a/app/test/meson.build
> +++ b/app/test/meson.build
> @@ -194,6 +194,8 @@ test_deps = [
>  fast_tests = [
>          ['acl_autotest', true],
>          ['atomic_autotest', false],
> +        ['bpf_autotest', true],
> +        ['bpf_convert_autotest', true],
>          ['bitops_autotest', true],
>          ['byteorder_autotest', true],
>          ['cksum_autotest', true],

Note: this patch exposes a pre-existing bug in DPDK:
https://bugs.dpdk.org/show_bug.cgi?id=811

The BPF code does not work if built with Clang.
The test was just being ignored by the CI before!


More information about the dev mailing list