On Thu, Apr 27, 2017 at 09:23:18AM +0200, Alexander Alemayhu wrote:
> On Wed, Apr 26, 2017 at 11:24:49PM -0700, Martin KaFai Lau wrote:
> > Add test to exercise the bpf_prog id generation
> > and iteration.
> >
> Could test_prog_id be a function in tools/testing/selftests/bpf/test_progs.c
> instead
On Wed, Apr 26, 2017 at 11:24:49PM -0700, Martin KaFai Lau wrote:
> Add test to exercise the bpf_prog id generation
> and iteration.
>
Could test_prog_id be a function in tools/testing/selftests/bpf/test_progs.c
instead? bpf_prog_load is already available there.
--
Mit freundlichen Grüßen
Alexa
Add test to exercise the bpf_prog id generation
and iteration.
Signed-off-by: Martin KaFai Lau
---
tools/include/uapi/linux/bpf.h | 6 ++
tools/lib/bpf/bpf.c| 11
tools/lib/bpf/bpf.h| 1 +
tools/testing/selftests/bpf/Makefile