bpf: selftests: A few changes to network_helpers and netns-reset
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyApplied
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- Mention non-NULL addr use case in commit message. (Yonghong)
- Add prefix "__" to variables used in macro. (Yonghong)
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: selftests: A few improvements to network_helpers.ctools/ tools/ tools/ +3 more | +110 | 0 replies | |
| 2/2 | bpf: selftests: Restore netns after each testtools/ tools/ | +23 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Yonghong Song | Andrii Nakryiko |
|---|---|---|
| 1/2 | A-b | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 bpf-next 0/2] bpf: selftests: A few changes to network_helpers and netns-reset
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/[email protected]/
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(-)
Signature · 1 line
2.24.1