On Mon, 13 Sep 2021 11:15:08 -0700 Stephen Hemminger <step...@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 <step...@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!