[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <92b5e5bc-53bf-aff0-377b-39cafdf8b0f7@iogearbox.net>
Date: Fri, 3 Jul 2020 00:17:24 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Martin KaFai Lau <kafai@...com>, bpf@...r.kernel.org
Cc: Alexei Starovoitov <ast@...nel.org>, kernel-team@...com,
netdev@...r.kernel.org
Subject: Re: [PATCH v2 bpf-next 0/2] bpf: selftests: A few changes to
network_helpers and netns-reset
On 7/2/20 2:48 AM, Martin KaFai Lau wrote:
> This set is separated out from the bpf tcp header option series [1] since
> I think it is in general useful for other network related tests.
> e.g. enforce socket-fd related timeout and restore netns after each test.
>
> [1]: https://lore.kernel.org/netdev/20200626175501.1459961-1-kafai@fb.com/
>
> v2:
> - Mention non-NULL addr use case in commit message. (Yonghong)
> - Add prefix "__" to variables used in macro. (Yonghong)
>
> Martin KaFai Lau (2):
> bpf: selftests: A few improvements to network_helpers.c
> bpf: selftests: Restore netns after each test
>
> tools/testing/selftests/bpf/network_helpers.c | 157 +++++++++++-------
> tools/testing/selftests/bpf/network_helpers.h | 9 +-
> .../bpf/prog_tests/cgroup_skb_sk_lookup.c | 12 +-
> .../bpf/prog_tests/connect_force_port.c | 10 +-
> .../bpf/prog_tests/load_bytes_relative.c | 4 +-
> .../selftests/bpf/prog_tests/tcp_rtt.c | 4 +-
> tools/testing/selftests/bpf/test_progs.c | 23 ++-
> tools/testing/selftests/bpf/test_progs.h | 2 +
> 8 files changed, 133 insertions(+), 88 deletions(-)
>
Applied, thanks!
Powered by blists - more mailing lists