[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEf4BzZ+m3gG-WSApdBkyk8G3Uws0VDUx=9-MjefM-Esx1RGJQ@mail.gmail.com>
Date: Tue, 23 Jun 2020 11:54:32 -0700
From: Andrii Nakryiko <andrii.nakryiko@...il.com>
To: Yonghong Song <yhs@...com>
Cc: bpf <bpf@...r.kernel.org>, Networking <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Kernel Team <kernel-team@...com>,
Martin KaFai Lau <kafai@...com>
Subject: Re: [PATCH bpf-next v4 11/15] selftests/bpf: refactor some net macros
to bpf_tracing_net.h
On Tue, Jun 23, 2020 at 9:19 AM Yonghong Song <yhs@...com> wrote:
>
> Refactor bpf_iter_ipv6_route.c and bpf_iter_netlink.c
> so net macros, originally from various include/linux header
> files, are moved to a new header file
> bpf_tracing_net.h. The goal is to improve reuse so
> networking tracing programs do not need to
> copy these macros every time they use them.
>
> Signed-off-by: Yonghong Song <yhs@...com>
> ---
Acked-by: Andrii Nakryiko <andriin@...com>
> .../selftests/bpf/progs/bpf_iter_ipv6_route.c | 7 +------
> .../selftests/bpf/progs/bpf_iter_netlink.c | 4 +---
> .../selftests/bpf/progs/bpf_tracing_net.h | 16 ++++++++++++++++
> 3 files changed, 18 insertions(+), 9 deletions(-)
> create mode 100644 tools/testing/selftests/bpf/progs/bpf_tracing_net.h
>
[...]
Powered by blists - more mailing lists