Skip to content

implement psock_update_sk_prot

Geliang Tang mptcp 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 2/25 patches 1 replyIn review
  2. v4 posting 1/22 patches 1 replySuperseded
  3. v32 patches 1 replySuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v2 posting 2/23 patches2 repliesSuperseded
v2 posting 1/23 patches1 replySuperseded
v13 patches6 repliesSuperseded

Changes in v4 from the cover letter

- Address Mat's comments: implement .read_skb to make the selftests run.
- Move mptcp_bpf_update_proto() from protocol.c to bpf.c.
- Include the "implement .splice_eof" patches in this series, as they both modify mptcp_prot, mptcp_stream_ops and mptcp_v6_stream_ops.

Patches in v4 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mptcp: implement .splice_eofnet/mptcp/protocol.c+31 -00 replies
2/5selftests: mptcp: connect: trigger splice_eoftools/testing/selftests/net/mptcp/mptcp_connect.c+4 -10 replies
3/5mptcp: implement read_skb for sockmap stream verdictnet/mptcp/protocol.c+32 -00 replies
4/5mptcp: implement psock_update_sk_protnet/mptcp/bpf.c net/mptcp/protocol.c net/mptcp/protocol.h+121 -40 replies
5/5selftests/bpf: Update sockmap tests for MPTCPtools/testing/selftests/bpf/prog_tests/mptcp.c+24 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH mptcp-next v4 0/5] implement psock_update_sk_prot

From: Geliang Tang <[email protected]>

v4:
- Address Mat's comments: implement .read_skb to make the selftests run.
- Move mptcp_bpf_update_proto() from protocol.c to bpf.c.
- Include the "implement .splice_eof" patches in this series, as they both modify mptcp_prot, mptcp_stream_ops and mptcp_v6_stream_ops.

v3:
- Address the comments by ai review.
- use WRITE_ONCE to set sk->sk_write_space.
- update the selftest, set a new key for client socket.
- Fix line length warnings.
- https://patchwork.kernel.org/project/mptcp/cover/[email protected]/

RESEND:
- rebased.
- to trigger ai review.

v2:
- Include mptcp_bpf_update_proto within CONFIG_BPF_SYSCALL to fix the
compilation errors reported by the kernel test robot.
- Add checks for IS_ENABLED(CONFIG_MPTCP_IPV6).

Implement psock_update_sk_prot, for basic MPTCP BPF SOCKMAP support.

Geliang Tang (5):
mptcp: implement .splice_eof
selftests: mptcp: connect: trigger splice_eof
mptcp: implement read_skb for sockmap stream verdict
mptcp: implement psock_update_sk_prot selftests/bpf: Update sockmap tests for MPTCP

 net/mptcp/bpf.c                               | 106 ++++++++++++++++++
 net/mptcp/protocol.c                          |  73 +++++++++++-
 net/mptcp/protocol.h                          |   9 ++
 .../testing/selftests/bpf/prog_tests/mptcp.c  |  42 ++++---
 .../selftests/net/mptcp/mptcp_connect.c       |   5 +-
 5 files changed, 212 insertions(+), 23 deletions(-)
Signature · 1 line
2.53.0