[PATCH mptcp-next v5 0/4] BPF round-robin scheduler

Geliang Tang posted 4 patches 2 years ago
Failed in applying to current master (apply log)
There is a newer version of this series
net/mptcp/bpf.c                               | 60 +++++++++++++++++++
net/mptcp/protocol.h                          |  7 +++
.../testing/selftests/bpf/bpf_mptcp_helpers.h | 13 ++++
.../testing/selftests/bpf/prog_tests/mptcp.c  | 37 ++++++++++++
.../selftests/bpf/progs/mptcp_bpf_rr.c        | 54 +++++++++++++++++
5 files changed, 171 insertions(+)
create mode 100644 tools/testing/selftests/bpf/progs/mptcp_bpf_rr.c
[PATCH mptcp-next v5 0/4] BPF round-robin scheduler
Posted by Geliang Tang 2 years ago
v5:
 - update patch 2, use temporary storage instead.
 - update patch 3, use new helpers.
 - deponds on: "BPF packet scheduler" series v11.

v4:
 - add retrans argment for get_subflow()

v3:
 - add last_snd write access.
 - keep msk->last_snd setting in get_subflow().
 - deponds on: "BPF packet scheduler" series v10.

v2:
 - merge the squash-to patch.
 - implement bpf_mptcp_get_subflows helper, instead of
   bpf_mptcp_get_next_subflow.
 - deponds on: "BPF packet scheduler v9".

This patchset implements round-robin scheduler using BPF. Address to
some commends for the RFC version:

https://patchwork.kernel.org/project/mptcp/cover/cover.1631011068.git.geliangtang@xiaomi.com/

Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/75

Geliang Tang (4):
  mptcp: add last_snd write access
  mptcp: add bpf get_subflows helper
  selftests: bpf: add bpf_rr scheduler
  selftests: bpf: add bpf_rr test

 net/mptcp/bpf.c                               | 60 +++++++++++++++++++
 net/mptcp/protocol.h                          |  7 +++
 .../testing/selftests/bpf/bpf_mptcp_helpers.h | 13 ++++
 .../testing/selftests/bpf/prog_tests/mptcp.c  | 37 ++++++++++++
 .../selftests/bpf/progs/mptcp_bpf_rr.c        | 54 +++++++++++++++++
 5 files changed, 171 insertions(+)
 create mode 100644 tools/testing/selftests/bpf/progs/mptcp_bpf_rr.c

-- 
2.34.1