[PATCH mptcp-next 0/8] use bpf_iter in bpf schedulers

Geliang Tang posted 8 patches 2 weeks, 3 days ago
Failed in applying to current master (apply log)
There is a newer version of this series
include/net/mptcp.h                           |  2 -
net/mptcp/bpf.c                               | 25 +++++++-----
net/mptcp/sched.c                             | 22 -----------
tools/testing/selftests/bpf/progs/mptcp_bpf.h |  2 +-
.../selftests/bpf/progs/mptcp_bpf_bkup.c      | 16 ++------
.../selftests/bpf/progs/mptcp_bpf_burst.c     | 39 +++++++------------
.../selftests/bpf/progs/mptcp_bpf_first.c     |  8 +++-
.../selftests/bpf/progs/mptcp_bpf_red.c       |  8 ++--
.../selftests/bpf/progs/mptcp_bpf_rr.c        | 18 +++++----
9 files changed, 53 insertions(+), 87 deletions(-)
[PATCH mptcp-next 0/8] use bpf_iter in bpf schedulers
Posted by Geliang Tang 2 weeks, 3 days ago
From: Geliang Tang <tanggeliang@kylinos.cn>

With the newly added mptcp_subflow bpf_iter, we can get rid of the
subflows array "contexts" in struct mptcp_sched_data. This set 
uses bpf_for_each(mptcp_subflow) helper to update all the bpf
schedules:

	bpf_for_each(mptcp_subflow, subflow, msk) {
		... ...
		mptcp_subflow_set_scheduled(subflow, true);
	}

Depends on:
 - "add mptcp_subflow bpf_iter" v6

@Matt, I forgot which keyword should I use here to trigger the
CI test with dependencies, please tell me again, thanks a lot.

Geliang Tang (8):
  Squash to "mptcp: add sched_data helpers"
  Squash to "bpf: Add bpf_mptcp_sched_kfunc_set"
  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"
  mptcp: drop subflow contexts in mptcp_sched_data

 include/net/mptcp.h                           |  2 -
 net/mptcp/bpf.c                               | 25 +++++++-----
 net/mptcp/sched.c                             | 22 -----------
 tools/testing/selftests/bpf/progs/mptcp_bpf.h |  2 +-
 .../selftests/bpf/progs/mptcp_bpf_bkup.c      | 16 ++------
 .../selftests/bpf/progs/mptcp_bpf_burst.c     | 39 +++++++------------
 .../selftests/bpf/progs/mptcp_bpf_first.c     |  8 +++-
 .../selftests/bpf/progs/mptcp_bpf_red.c       |  8 ++--
 .../selftests/bpf/progs/mptcp_bpf_rr.c        | 18 +++++----
 9 files changed, 53 insertions(+), 87 deletions(-)

-- 
2.43.0