Skip to content

cleanups for bpf schedulers

Geliang Tang mptcp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8mptcp: add mptcp_validate_scheduler helpernet/mptcp/protocol.h net/mptcp/sched.c+16 -21 reply
2/8Squash to "bpf: Add bpf_mptcp_sched_ops"net/mptcp/bpf.c+15 -170 replies
3/8Squash to "selftests/bpf: Add bpf scheduler test"tools/testing/selftests/bpf/prog_tests/mptcp.c+10 -122 replies
4/8Squash to "selftests/bpf: Add bpf_first scheduler & test"tools/testing/selftests/bpf/prog_tests/mptcp.c tools/testing/selftests/bpf/progs/mptcp_bpf_first.c+10 -70 replies
5/8Squash to "selftests/bpf: Add bpf_bkup scheduler & test"tools/testing/selftests/bpf/prog_tests/mptcp.c tools/testing/selftests/bpf/progs/mptcp_bpf.h tools/testing/selftests/bpf/progs/mptcp_bpf_bkup.c+2 -50 replies
6/8Squash to "selftests/bpf: Add bpf_rr scheduler & test"tools/testing/selftests/bpf/prog_tests/mptcp.c tools/testing/selftests/bpf/progs/mptcp_bpf_rr.c+2 -20 replies
7/8Squash to "selftests/bpf: Add bpf_red scheduler & test"tools/testing/selftests/bpf/prog_tests/mptcp.c tools/testing/selftests/bpf/progs/mptcp_bpf_red.c+2 -20 replies
8/8Squash to "selftests/bpf: Add bpf_burst scheduler & test"tools/testing/selftests/bpf/prog_tests/mptcp.c tools/testing/selftests/bpf/progs/mptcp_bpf_burst.c+6 -60 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchMat Martineau
1/8R-b
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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 mptcp-next v1 0/8] cleanups for bpf schedulers

From: Geliang Tang <[email protected]>

1. Add validate_scheduler.
2. Drop mptcp_sched_find in bpf_mptcp_sched_init_member.
3. Drop mptcp_sock_type and mptcp_subflow_type.
4. Move netns_new() out of sched_init().
5. Use .struct_ops.link instead of .struct_ops.

Geliang Tang (8):
mptcp: add mptcp_validate_scheduler helper Squash to "bpf: Add bpf_mptcp_sched_ops"
Squash to "selftests/bpf: Add bpf scheduler test" Squash to "selftests/bpf: Add bpf_first scheduler & test" Squash to "selftests/bpf: Add bpf_bkup scheduler & test" Squash to "selftests/bpf: Add bpf_rr scheduler & test" Squash to "selftests/bpf: Add bpf_red scheduler & test" Squash to "selftests/bpf: Add bpf_burst scheduler & test"

 net/mptcp/bpf.c                               | 32 +++++++------
 net/mptcp/protocol.h                          |  1 +
 net/mptcp/sched.c                             | 17 ++++++-
 .../testing/selftests/bpf/prog_tests/mptcp.c  | 45 ++++++++++---------
 tools/testing/selftests/bpf/progs/mptcp_bpf.h |  3 --
 .../selftests/bpf/progs/mptcp_bpf_bkup.c      |  2 +-
 .../selftests/bpf/progs/mptcp_bpf_burst.c     | 10 ++---
 .../selftests/bpf/progs/mptcp_bpf_first.c     |  2 +-
 .../selftests/bpf/progs/mptcp_bpf_red.c       |  2 +-
 .../selftests/bpf/progs/mptcp_bpf_rr.c        |  2 +-
 10 files changed, 63 insertions(+), 53 deletions(-)
Signature · 1 line
2.43.0