[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 11 Dec 2018 19:22:46 -0800
From: Stanislav Fomichev <sdf@...ichev.me>
To: Daniel Borkmann <daniel@...earbox.net>
Cc: Stanislav Fomichev <sdf@...gle.com>, netdev@...r.kernel.org,
davem@...emloft.net, ast@...nel.org, jakub.kicinski@...ronome.com
Subject: Re: [PATCH bpf-next v2 1/2] selftests/bpf: skip maps sockmap tests
on kernels without support
On 12/12, Daniel Borkmann wrote:
> On 12/10/2018 09:43 PM, Stanislav Fomichev wrote:
> > Include "autoconf.h" header in the test_maps.c and selectively
> > disable test_sockmap if CONFIG_BPF_STREAM_PARSER is not specified
> > in the kernel config.
> > When building out of tree/without autoconf.h, fall back to 'enabled'.
> >
> > v2 changes:
> > * add SKIP indication on the stdout
> >
> > Signed-off-by: Stanislav Fomichev <sdf@...gle.com>
>
> The kconfig selection for skipping features feels slightly random ;),
Yeah, I fixed the obvious issues with my current setup :-)
> but the infrastructure seems useful in general and we might extend
> it to other cases in future, thus applied to bpf-next, thanks!
I'll try to follow up with more cases in the future, thanks for taking
this!
Powered by blists - more mailing lists