Skip to content

fixes for test_sockmap

Geliang Tang bpf linux-kselftest mptcp 1 version Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 12 repliesApplied 8/8

Patches in v1 All 8 applied

#Subject and filesSizeRepliesApplied
1/8selftests/bpf: Fix tx_prog_fd values in test_sockmaptools/testing/selftests/bpf/test_sockmap.c+3 -31 replyApplied
2/8selftests/bpf: Drop duplicate definition of i in test_sockmaptools/testing/selftests/bpf/test_sockmap.c+2 -11 replyApplied
3/8selftests/bpf: Use bpf_link attachments in test_sockmaptools/testing/selftests/bpf/test_sockmap.c+31 -286 repliesApplied
4/8selftests/bpf: Replace tx_prog_fd with tx_prog in test_sockmaptools/testing/selftests/bpf/test_sockmap.c+14 -160 repliesApplied
5/8selftests/bpf: Drop prog_fd array in test_sockmaptools/testing/selftests/bpf/test_sockmap.c+2 -40 repliesApplied
6/8selftests/bpf: Fix size of map_fd in test_sockmaptools/testing/selftests/bpf/test_sockmap.c+1 -11 replyApplied
7/8selftests/bpf: Check length of recv in test_sockmaptools/testing/selftests/bpf/test_sockmap.c+2 -11 replyApplied
8/8selftests/bpf: Drop duplicate bpf_map_lookup_elem in test_sockmaptools/testing/selftests/bpf/progs/test_sockmap_kern.h+0 -31 replyApplied

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by.

PatchJohn FastabendJakub Sitnicki
SeriesT-b
1/8A-b
2/8A-b
3/8
4/8
5/8
6/8A-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH bpf-next 0/8] fixes for test_sockmap

From: Geliang Tang <[email protected]>

This patchset contains some fixes and improvements for test_sockmap.

3-5: switching attachments to bpf_link as Jakub suggested in [1]. 1-2, 6-8: Small fixes.

[1]
https://lore.kernel.org/bpf/[email protected]/

Geliang Tang (8):
selftests/bpf: Fix tx_prog_fd values in test_sockmap selftests/bpf: Drop duplicate definition of i in test_sockmap selftests/bpf: Use bpf_link attachments in test_sockmap selftests/bpf: Replace tx_prog_fd with tx_prog in test_sockmap selftests/bpf: Drop prog_fd array in test_sockmap selftests/bpf: Fix size of map_fd in test_sockmap selftests/bpf: Check length of recv in test_sockmap selftests/bpf: Drop duplicate bpf_map_lookup_elem in test_sockmap

 .../selftests/bpf/progs/test_sockmap_kern.h   |   3 -
 tools/testing/selftests/bpf/test_sockmap.c    | 101 +++++++++---------
 2 files changed, 51 insertions(+), 53 deletions(-)
Signature · 1 line
2.43.0