MoM - 12th of June 2024
Matthieu Baerts
maintainerHello everyone,
Last week, we had our new meeting with Mat (Cruise), Christoph (Apple), and myself (NGI0 Core).
Thanks again for this new good meeting!
Here are the minutes of the meeting:
Accepted patches:
- The list of accepted patches can be seen on PatchWork:
https://patchwork.kernel.org/project/mptcp/list/?state=3
netdev (if mptcp ML is in cc) (by: Matthieu Baerts):
13678590: [6.6.y,1/3] mptcp: avoid some duplicate code in socket option handling
13678591: [6.6.y,2/3] mptcp: cleanup SOL_TCP handling 13678592: [6.6.y,3/3] mptcp: fix full TCP keep-alive support:
- Series: Backport of "mptcp: fix full TCP keep-alive support"
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=856924&state=*&archive=both
13678594: [6.1.y,1/3] mptcp: avoid some duplicate code in socket option handling
13678595: [6.1.y,2/3] mptcp: cleanup SOL_TCP handling 13678596: [6.1.y,3/3] mptcp: fix full TCP keep-alive support:
- Series: Backport of "mptcp: fix full TCP keep-alive support"
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=856925&state=*&archive=both
13678600: [5.15.y] mptcp: fix full TCP keep-alive support:
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/patch/[email protected]/
13686269: [net-next,1/3] mptcp: use mptcp_win_from_space helper 13686270: [net-next,2/3] mptcp: add mptcp_space_from_win helper 13686271: [net-next,3/3] mptcp: refer to 'MPTCP' socket in comments:
- Series: mptcp: misc. cleanups
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=858934&state=*&archive=both
13686457: [net,1/3] selftests: net: lib: support errexit with busywait 13686458: [net,2/3] selftests: net: lib: avoid error removing empty netns name
13686459: [net,3/3] selftests: net: lib: set 'i' as local:
- Series: selftests: net: lib: small fixes
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=858985&state=*&archive=both
13690356: [net,1/4] mptcp: ensure snd_una is properly initialized on connect 13690357: [net,2/4] mptcp: pm: inc RmAddr MIB counter once per RM_ADDR ID 13690358: [net,3/4] mptcp: pm: update add_addr counters after connect 13690359: [net,4/4] mailmap: map Geliang's new email address:
- Series: mptcp: various fixes
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=859994&state=*&archive=both
13690536: [net-next,1/6] selftests: net: lib: ignore possible errors 13690537: [net-next,2/6] selftests: net: lib: remove ns from list after clean-up
13690538: [net-next,3/6] selftests: net: lib: do not set ns var as readonly 13690539: [net-next,4/6] selftests: net: lib: remove 'ns' var in setup_ns 13690540: [net-next,5/6] selftests: mptcp: lib: use setup/cleanup_ns helpers 13690541: [net-next,6/6] selftests: mptcp: lib: use wait_local_port_listen helper:
- Series: selftests: mptcp: use net/lib.sh to manage netns
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=860035&state=*&archive=both
our repo (by: Matthieu Baerts):
13688831: [mptcp-net,v2] mptcp: pm: update add_addr counters after connect:
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/patch/[email protected]/
Pending patches:
- The list of pending patches can be seen on PatchWork:
https://patchwork.kernel.org/project/mptcp/list/?state=*
netdev (if mptcp ML is in cc) (by: Geliang Tang, Matthieu Baerts,
Yunsheng Lin):
13659842: [bpf-next,v2,1/2] selftests/bpf: Add mptcp subflow example 13659843: [bpf-next,v2,2/2] selftests/bpf: Add mptcp subflow subtest:
- Series: selftests/bpf: new MPTCP subflow subtest
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=851945&state=*&archive=both
- status: same as before
13665648: [bpf-next,v2,1/8] selftests/bpf: Add unshare_netns helper 13665649: [bpf-next,v2,2/8] selftests/bpf: Use unshare_netns helper 13665650: [bpf-next,v2,3/8] selftests/bpf: Drop duplicate create_netns 13665651: [bpf-next,v2,4/8] selftests/bpf: Export create_netns helper 13665652: [bpf-next,v2,5/8] selftests/bpf: Use create_netns helper 13665653: [bpf-next,v2,6/8] selftests/bpf: Export cleanup_netns helper 13665654: [bpf-next,v2,7/8] selftests/bpf: Use cleanup_netns helper 13665655: [bpf-next,v2,8/8] selftests/bpf: Use netns helpers in lwt tests:
- Series: add netns helpers
- Submitter: Geliang Tang
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=853539&state=*&archive=both
- status: same as before
13689188: [RESEND,v2] checkpatch: skip warnings for symbol links:
- Submitter: Geliang Tang
- URL:
https://patchwork.kernel.org/project/mptcp/patch/dc502b1b45cb27fda48d72d73e3267a32db023d8.1717722648.git.tanggeliang@kylinos.cn/
- no news, we need to wait
13689841: [net-next,v7,13/15] net: replace page_frag with page_frag_cache:
- status: same as before
our repo (by: Geliang Tang, Gregory Detal, Matthieu Baerts):
12282219: [RESEND,RFC,2/4] tcp: move selected mptcp helpers to tcp.h/mptcp.h 12282221: [RESEND,RFC,4/4] tcp: parse tcp options contained in reset packets:
12282223: [RESEND,RFC,mptpcp-next] mptcp: add ooo prune support:
12282225: [RESEND,1/5] tcp: make two mptcp helpers available to tcp stack 12282227: [RESEND,5/5] mptcp: send fastclose if userspace closes socket with unread data:
13070467: [mptcp-next,v4,1/2] mptcp: update mptcp_push_release 13070468: [mptcp-next,v4,2/2] mptcp: retrans for redundant sends:
- State: Changes requested
- Series: BPF redundant scheduler, part 3
- Submitter: Geliang Tang
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=703615&state=*&archive=both
- status: same as before
13305089: [mptcp-next,1/6] mptcp: sockopt: move tcp_inq code to a dedicated function
13305091: [mptcp-next,2/6] mptcp: sockopt: update supported list 13305093: [mptcp-next,3/6] mptcp: sockopt: get val in a generic way 13305090: [mptcp-next,4/6] mptcp: sockopt: add missing getsockopt() options 13305094: [mptcp-next,5/6] mptcp: sockopt: set val in a generic way 13305092: [mptcp-next,6/6] mptcp: sockopt: support IP_TTL & IPV6_UNICAST_HOPS:
- State: Changes requested
- Series: mptcp: sockopt: uniform code to get/set values
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=763505&state=*&archive=both
- status: same as before
13583230: [RFC] mptcp: react scheduler when subflow events pop up:
- State: Changes requested
- Submitter: Geliang Tang
- URL:
https://patchwork.kernel.org/project/mptcp/patch/433320c3a9db77bea53a34fc9c43a3c7e3320399.1709693691.git.tanggeliang@kylinos.cn/
- status: same as before
13656189: [mptcp-net,v2] mptcp: fix the default value of scaling_ratio:
- State: Changes requested
- Submitter: Geliang Tang
- URL:
https://patchwork.kernel.org/project/mptcp/patch/0ccc1c26d27d6ee7be22806a97983d37c6ca548c.1715053270.git.tanggeliang@kylinos.cn/
- status: same as before
13665855: [mptcp-next,v3,1/2] Squash to "selftests/bpf: Add mptcp subflow subtest"
13665856: [mptcp-next,v3,2/2] Squash to "selftests/bpf: Add bpf scheduler test":
- State: Changes requested
- Series: fixes for create_netns
- Submitter: Geliang Tang
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=853620&state=*&archive=both
- status: same as before
13675217: [mptcp-next,RFC,1/4] mptcp: add push sched callback 13675218: [mptcp-next,RFC,2/4] mptcp: use new push callback to schedule chunks
13675219: [mptcp-next,RFC,3/4] mptcp: bpf: allow to write to mptcp_sched_chunk
13675220: [mptcp-next,RFC,4/4] selftests/bpf: mptcp RR: send 1 MSS on each subflow:
- State: Needs ack
- Series: mptcp: update scheduler API
- Submitter: Gregory Detal
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=856158&state=*&archive=both
- status: same as before
13687445: [mptcp-iproute,1/4] man: mptcp: document 'dev IFNAME' 13687446: [mptcp-iproute,2/4] man: mptcp: clarify 'signal' and 'subflow' flags
13687447: [mptcp-iproute,3/4] mptcp: warn if 'signal' and 'subflow' flags are set
13687448: [mptcp-iproute,4/4] mptcp: warn if 'signal' or 'subflow' flag is not set:
- State: Changes requested
- Series: mptcp: guide the user to avoid mistakes
- Submitter: Matthieu Baerts
- URL:
https://patchwork.kernel.org/project/mptcp/list/?series=859237&state=*&archive=both
- See the discussions below (last topic)
Issues on GitHub:
https://github.com/multipath-tcp/mptcp_net-next/issues/
Recently opened (latest from the last meeting: 494):
499 selftests: mptcp_connect.sh: disconnect test timed out [bug]
[selftests]:
- happened only once, to be monitored
498 in-kernel PM: closed subflows before RM_ADDR will not decrementadd_addr_accepted [bug] [pm]:
- linked to "mptcp: pm: update add_addr counters after connect",
and to #496
- the patch is not fixing this bug
497 in-kernel PM: check to create new subflows when some are
destroyed [enhancement] [pm]:
- linked to #496 and #440
496 in-kernel PM: store received ADD_ADDR [enhancement] [pm]:
- linked to the discussions from last week: it might help to fix
bug #498, and simplify the code on the in-kernel PM side
495 [syzkaller] KASAN: slab-use-after-free Read in__inet6_lookup_established [bug] [syzkaller]:
Bugs (opened, flagged as "bug" and assigned)
487 send() fails with EAGAIN in blocking IO mode [bug]
[selftests] [bpf] @geliangtang
477 Client: fallback to TCP after X MPC [bug] @matttbe 445 MPTCP Info counters: start seq numbers ones from 0 [bug] @geliangtang 403 userspace pm: only remove entry from `local_addr_list` when
sending a REMOVE_ADDR [bug] [pm] @geliangtang
343 scheduler: react when subflow-level events pop up (ACK/RTO) [bug]
[sched] @geliangtang
Bugs (opened and flagged as "bug" and not assigned)
499 selftests: mptcp_connect.sh: disconnect test timed out [bug]
[selftests]
498 in-kernel PM: closed subflows before RM_ADDR will not decrementadd_addr_accepted [bug] [pm]
495 [syzkaller] KASAN: slab-use-after-free Read in__inet6_lookup_established [bug] [syzkaller]
494 [syzkaller] WARNING in __skb_flow_dissect [bug] [syzkaller]:
- Christoph will try Florian's v2.
(https://lore.kernel.org/netdev/[email protected]/)
493 [syzkaller] WARNING in __mptcp_clean_una [bug] [syzkaller] 492 userspace pm: subflows counter: not updated when a subflows is
removed from the other end [bug]
491 selftests: mptcp_join: tests Infinite map & MP_FAIL MP_RST
are unstable [bug] [selftests]
484 BPF: setsockopt on an MPTCP socket: check support [bug] [bpf] 483 [6.1] selftests: mptcp_connect.sh failures withcopyfd_io_poll: poll timed out errors [bug] [selftests]
476 packetdrill: coalescing feature doesn't take into account MPTCP
options [bug] [packetdrill]
475 simult_flows: unbalanced bwidth tests are unstable [bug]
[selftests]
439 mptcp vs net.ipv4.tcp_shrink_window [bug] 416 No new subflow when removing an endpoint and adding a new one [bug] 336 Issues with BPF packet scheduler [bug] [sched] [bpf] 325 selftests: `mptcp_join`: test 18 `signal addresses race test` is
sometimes failing [bug] [selftests]
324 selftests: mptcp_join: tests fastclose test & `fastclose
server test` are sometimes failing [bug] [selftests]
315 Issues with backup flow [bug]
In Progress (opened, new feature and assigned)
480 MPTCP and KTLS support [enhancement] @geliangtang 434 in-kernel PM: increase subflows limit [enhancement] [pm] @matttbe 353 sockopt: uniform code to get/set values [enhancement] @matttbe 349 scheduler: (un)mark a subflow as "stale" [enhancement] [sched]
@geliangtang
296 Support IP_TTL & IPV6_UNICAST_HOPS [enhancement] @matttbe 234 Packetdrill: Support MPC+DATA+checksum error [enhancement]
[packetdrill] @spoorva
167 packetdrill: add coverage for RM_ADDR [enhancement] [packetdrill]
@dcaratti
75 BPF: packet scheduler [enhancement] [sched] [bpf] @geliangtang 74 BPF: path manager [enhancement] [pm] [bpf] @geliangtang
Assigned Questions (opened, questions and assigned)
None.
Open questions (opened, questions and not assigned)
489 IPv6 Rejoin Subflow [question]
459 Are the endpoint flags signal and subflow meant to be
exclusive? or how to get MPTCP to work for both directions? [question]
452 mptcp causes the network to become very slow [question] 412 shadowsocks-libev not working, need guidance for PM configuration
[question]
411 Problem with IPROTO [question]
For later (opened and not assigned)
497 in-kernel PM: check to create new subflows when some are
destroyed [enhancement] [pm]
496 in-kernel PM: store received `ADD_ADDR` [enhancement] [pm] 481 remove refcount on TCP sockets for the timers [enhancement] 469 CI: add code coverage support [enhancement] [CI] 467 Scheduler: add redundant scheduler support in BPF [enhancement] [sched] 462 selftests: print (and set?) random seed [enhancement] [selftests] 461 Protocol: extend Data-Level Length field [enhancement] [protocol] 448 Allow sending ADD_ADDR IPv6 with port-number if TCP-timestamps
are enabled [enhancement]
441 optimize established options generation [enhancement] 440 in-kernel PM: re-establish subflows after "network" errors
[enhancement] [pm]
426 selftests: validate listener sockets with multiple accepts
[enhancement] [selftests]
397 Doc and guidance for users [enhancement] [documentation] 396 ci: periodically run selftests from the export branch on stable
kernels [enhancement] [selftests]
389 packetdrill: increase coverage for "early close()" cases
[enhancement] [packetdrill]
350 scheduler: API changes (tasks) [enhancement] [sched] 348 scheduler: frequently probe "stale" subflow with reinjected data
[enhancement] [sched]
345 scheduler: "penalise" some subflows by sending less than their
cwnd [enhancement] [sched]
344 scheduler: new callback to initiate optimisations [enhancement]
[sched]
337 in-kernel PM: listen socket: support "behind a NAT" use case
[enhancement] [pm]
335 Server to Client subflows: option to allow joining the initial
address and port [enhancement] [pm]
334 PM: in-kernel: send >1 ADD_ADDR before the establishment of a new
subflow [enhancement] [pm]
333 New MIBs to help understanding issues when PM cannot create new
subflows [enhancement] [pm]
332 scheduler: implement a "opportunistic retransmission"
[enhancement] [sched]
298 CG Memory accounting for passive MPTCP socket [enhancement] 289 mptcp: audit comments for non inclusive language [enhancement] 273 Packetdrill: test outgoing MP_FASTCLOSE [enhancement] [packetdrill] 266 Packetdrill: add MP_FAIL coverage [packetdrill] 236 Review supported sockopts list [enhancement] 222 Netlink event API: add SUBFLOW_CREATED event [enhancement] 215 TCP Urgent pointer and MPTCP [enhancement] 213 add MPTCP man page [enhancement] 208 better handing of ssk memory pressure in the TX path [enhancement] 202 Add sendmsg support for ancillary data [enhancement] 197 more mibs needed [enhancement] 180 Get an update when MPTCP fall back to TCP [enhancement] 177 improve retransmit subflow selection [enhancement] 169 packetdrill: add coverage for ADD_ADDR and MP_JOIN on a different
port [enhancement] [packetdrill]
150 remove completely workqueue usage [enhancement]
141 avoid acquiring mptcp_data_lock() twice in the receive path
[enhancement]
78 notify the application (userspace) when a subflow is
added/removed [enhancement]
57 After a few attempts of failed MPTCP, directly fallback to TCP
for new connections [enhancement]
41 reduce indirect call usage [enhancement]
24 Revisit layout of struct mptcp_subflow_context [enhancement]
Recently closed (since 2024-06-05)
None.
Packetdrill PRs
52 2 years ago dcaratti Add initial coverage for RM_ADDR
FYI: Current Roadmap:
- Bugs:
https://github.com/multipath-tcp/mptcp_net-next/issues?q=is%3Aissue+is%3Aopen+label%3Abug
- Current/Coming merge window (6.11):
https://github.com/orgs/multipath-tcp/projects/9
- For later: https://github.com/orgs/multipath-tcp/projects/1
Patches to send to NetDev:
- Fixes for other trees: /
- Fixes for -net: /
- Fixes for net-next: /
- Features for net-next: /
- Features for net-next (next): /
- Features for other trees:
- [1c38643c3604] mptcp: add sched_data helpers (Geliang Tang)
- [4b54f7da7384] bpf: Add bpf_mptcp_sched_ops (Geliang Tang)
- [50a3720ccb95] bpf: Add bpf_mptcp_sched_kfunc_set (Geliang Tang):
- waiting for Geliang's "add netns helpers" v3, not urgent
- [fa086f56d9b2] selftests/bpf: Add mptcp subflow example
(Nicolas Rybowski)
- [c884ca19db36] selftests/bpf: Add mptcp pm_nl_ctl link
(Geliang Tang)
- [2c75152dcfee] selftests/bpf: Add mptcp subflow subtest
(Geliang Tang)
- [e334d47da8c7] selftests/bpf: Add bpf scheduler test (Geliang
Tang)
- [5d6753fe86b8] selftests/bpf: Add bpf_first scheduler & test
(Geliang Tang)
- [d9394ff61fb4] selftests/bpf: Add bpf_bkup scheduler & test
(Geliang Tang)
- [84721e576eec] selftests/bpf: Add bpf_rr scheduler & test
(Geliang Tang)
- [452ef5ceacab] selftests/bpf: Add bpf_red scheduler & test
(Geliang Tang)
- [d5d3f99c991e] bpf: Export more bpf_burst related functions
(Geliang Tang)
- [d4e93bbd3bf3] selftests/bpf: Add bpf_burst scheduler & test
(Geliang Tang)
Extra tests:
- news about Syzkaller? (Christoph):
- /
- news about interop with mptcp.org/other stacks? (?):
- /
- Packetdrill (Davide):
- https://github.com/multipath-tcp/packetdrill/pull/148:
- merged, thanks for the review!
- with fixes and modifications to prevent issues
- looks OK so far
- Patchew (Davide):
- /
- CI (Matth):
- https://ci-results.mptcp.dev/flakes.html
- very green!
Regression tests:
- Would it be OK with (only) 1 server?:
- CPU: AMD EPYC 7402P 24-Core Processor:
- 1 CPU socket, using 2 NUMA nodes (NPS 2)
- NUMA & NPS:
https://www.amd.com/system/files/documents/dell-emc-dfd-numa-amd-epyc-2ndgen.pdf
- Opti ref doc:
https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/tuning-guides/2019-amd-epyc-7002-tg-linux-network-56739.pdf
- 128GB RAM (4x32)
- NICs:
- Intel X710 2x10G
- Mellanox MCX4621A-ACAB Dual-port ConnectX-4 2x10G (or 25?)
- OK using one link with 2 IPs or 2 VLANs (or SR-IOV with different
VF for the tagging?) to have 2 subflows?:
- We need at least one port to connect to Internet
- or I need a 10G switch
→ Simpler solution: maybe good to add a simple 1GB NIC for the
management iface, and keep the other ones just for the tests
- OK to use netem for the shaping?:
- Or required to have a 2nd server?
- Or no shaping needed?
- Netem changes the behaviour of TCP: orphan, no pacing, not
TSQ, etc.
- probably better with a second machine (if available...)
- but maybe fine without delays for the kind of test we want to run?
- What kind of test? Netperf?:
- https://github.com/borkmann/stuff/blob/master/super_netperf
- https://github.com/network-quality/goresponsiveness ?
in-kernel PM: should we allow:
- endpoint with both 'signal' and 'subflow':
- the PM will first announce address, then clear the
corresponding bit from "id_avail_bitmap"
- then it will check if it can use it to create a subflow:select_local_address() will not pick it, because it is marked as unavailable according to "id_avail_bitmap"
- so it looks like in case of "signal" + "subflow", "subflow" is
ignored:
- a bug? If yes:
- fix it by using a dedicated bitmap → could be a
solution ; in this case we don't need a warning on iproute2 side
- or modify the PM to refuse accepting endpoints with
both "signal" and "subflow" flags
→ try the fix first
- (the endpoint could be picked when an ADD_ADDR is received,
depending on the routing, but's there are no checked of the endpoints here)
- endpoint without neither 'signal' and 'subflow' flags: should we
allow that?:
- to reserve an ID?:
- But still, we will need to remove the endpoint and re-add
it to add "signal" or "subflow"
- It could make "sense" not to announce an address, because
it is known by the other peer, but force an ID for a specific address, to be "filtered" (LB?)
- it only makes sense to set the backup flag on the initial subflow
- → kernel side: maybe easier to refuse no flags → but maybe
there are weird uses: reserving an ID, but not advertising an address?
- → userspace side: can be use to guide the users, e.g. when
signal and subflow flags are not set.
- Allow only this?
- ("signal" or "subflow") + [ "fullmesh" and/or "backup" ]
- or only "backup"
→ sounds safer *not* to add these restrictions on the kernel
side, just in case there are weird usages
- Can we backport that?:
- if it is a fix, definitively yes.
- new restrictions: for cases we don't support and can bring
bugs: yes ; otherwise (not to have states that don't make sense), maybe (to help the users), with a delay, but probably best to avoid
Next meeting:
- Next one on Wednesday, the 19th of June.
- 17:30 UTC (8.30am PDT, 5.30pm CEST, 11.30pm CST)
- Still open to everyone!
- https://annuel2.framapad.org/p/mptcp_upstreaming_20240619
Feel free to comment on these topics and suggest new ones for the next meeting!
Talk to you on Wednesday,
Matt
Signature · 1 line
Sponsored by the NGI0 Core fund.