[PATCH mptcp-next 00/10] BPF packet scheduler updates part 2

Geliang Tang posted 10 patches 10 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/multipath-tcp/mptcp_net-next tags/patchew/cover.1687829823.git.geliang.tang@suse.com
Maintainers: Matthieu Baerts <matthieu.baerts@tessares.net>, Mat Martineau <martineau@kernel.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, Andrii Nakryiko <andrii@kernel.org>, Martin KaFai Lau <martin.lau@linux.dev>, Song Liu <song@kernel.org>, Yonghong Song <yhs@fb.com>, John Fastabend <john.fastabend@gmail.com>, KP Singh <kpsingh@kernel.org>, Stanislav Fomichev <sdf@google.com>, Hao Luo <haoluo@google.com>, Jiri Olsa <jolsa@kernel.org>, Mykola Lysenko <mykolal@fb.com>, Shuah Khan <shuah@kernel.org>
There is a newer version of this series
net/mptcp/bpf.c                               |  16 ++
net/mptcp/protocol.c                          |   4 +-
net/mptcp/protocol.h                          |   4 +
tools/testing/selftests/bpf/bpf_tcp_helpers.h |   7 +-
.../testing/selftests/bpf/prog_tests/mptcp.c  | 121 ++++++++++-
.../selftests/bpf/progs/mptcp_bpf_burst.c     | 205 ++++++++++++++++++
.../selftests/bpf/progs/mptcp_bpf_stale.c     |  65 ++++++
7 files changed, 414 insertions(+), 8 deletions(-)
create mode 100644 tools/testing/selftests/bpf/progs/mptcp_bpf_burst.c
create mode 100644 tools/testing/selftests/bpf/progs/mptcp_bpf_stale.c
[PATCH mptcp-next 00/10] BPF packet scheduler updates part 2
Posted by Geliang Tang 10 months, 1 week ago
- Add time metrics for sched tests.
- Add bpf_stale and bpf_burst schedulers.

Geliang Tang (10):
  Squash to "selftests/bpf: Add bpf_first test"
  selftests/bpf: Add bpf_first test
  Squash to "selftests/bpf: Add bpf_bkup test"
  Squash to "selftests/bpf: Add bpf_rr test"
  Squash to "selftests/bpf: Add bpf_red test"
  selftests/bpf: Add bpf_stale scheduler
  selftests/bpf: Add bpf_stale test
  bpf: Export more bpf_burst related functions
  selftests/bpf: Add bpf_burst scheduler
  selftests/bpf: Add bpf_burst test

 net/mptcp/bpf.c                               |  16 ++
 net/mptcp/protocol.c                          |   4 +-
 net/mptcp/protocol.h                          |   4 +
 tools/testing/selftests/bpf/bpf_tcp_helpers.h |   7 +-
 .../testing/selftests/bpf/prog_tests/mptcp.c  | 121 ++++++++++-
 .../selftests/bpf/progs/mptcp_bpf_burst.c     | 205 ++++++++++++++++++
 .../selftests/bpf/progs/mptcp_bpf_stale.c     |  65 ++++++
 7 files changed, 414 insertions(+), 8 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/progs/mptcp_bpf_burst.c
 create mode 100644 tools/testing/selftests/bpf/progs/mptcp_bpf_stale.c

-- 
2.35.3
Re: [PATCH mptcp-next 00/10] BPF packet scheduler updates part 2
Posted by Matthieu Baerts 9 months, 3 weeks ago
Hi Geliang, Mat,

On 27/06/2023 03:39, Geliang Tang wrote:
> - Add time metrics for sched tests.
> - Add bpf_stale and bpf_burst schedulers.
> 
> Geliang Tang (10):
>   Squash to "selftests/bpf: Add bpf_first test"
>   selftests/bpf: Add bpf_first test
>   Squash to "selftests/bpf: Add bpf_bkup test"
>   Squash to "selftests/bpf: Add bpf_rr test"
>   Squash to "selftests/bpf: Add bpf_red test"

Thank you for the patches and the reviews!

I just applied these 5 first patches in our tree (feat. for other trees)
with Mat's RvB tag. Please check if the result is the expected one.

I squashed the first patch with the previous version of "selftests/bpf:
Add bpf_first test" and inserted it just before "selftests/bpf: Add
bpf_first scheduler".

New patches for t/upstream:
- 623a40f22358: selftests/bpf: Add bpf scheduler test
- 0624ffbc4277: conflict in t/selftests-bpf-add-bpf_first-test
- 875e9054d305: conflict in t/selftests-bpf-Add-bpf_bkup-test
- Results: 71a6b14c30ab..ad99473d0690 (export)

- 117ad55b0a69: "squashed" (with conflicts) patch 2/10 in
"selftests/bpf: Add bpf_first test"
- 5f014cabbfbc: conflict in t/selftests-bpf-Add-bpf_bkup-test
- Results: ad99473d0690..835132fc94ee (export)

- b6f5458c8236: tg:msg: apply new commit message from Geliang
- Results: 23ee68c3fa88..c8f03d57ef57 (export)

- d5beca01e1bc: "squashed" patch 3/10 in "selftests/bpf: Add bpf_bkup test"
- e3221affcf4d: "squashed" patch 4/10 in "selftests/bpf: Add bpf_rr test"
- 8216c7624546: "squashed" patch 5/10 in "selftests/bpf: Add bpf_red test"
- Results: 835132fc94ee..23ee68c3fa88 (export)

Tests are now in progress:

https://cirrus-ci.com/github/multipath-tcp/mptcp_net-next/export/20230712T164345

Cheers,
Matt
-- 
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net