public inbox for mptcp@lists.linux.dev
 help / color / mirror / Atom feed
* [RFC mptcp-next v4 00/10] MPTCP KTLS support
@ 2025-12-12  2:27 Geliang Tang
  2025-12-12  2:27 ` [RFC mptcp-next v4 01/10] mptcp: add sk_is_msk helper Geliang Tang
                   ` (12 more replies)
  0 siblings, 13 replies; 16+ messages in thread
From: Geliang Tang @ 2025-12-12  2:27 UTC (permalink / raw)
  To: mptcp; +Cc: Geliang Tang

From: Geliang Tang <tanggeliang@kylinos.cn>

v4:
 - split "tls: add MPTCP protocol support" into smaller, more
   focused patches.
 - a new mptcp_inq helper has been implemented instead of directly
   using mptcp_inq_hint to fix the issue mentioned in [1].
 - add sk_is_msk helper.
 - the 'expect' parameter will no longer be added to sock_test_tcpulp.
   Instead, SOCK_TEST_TCPULP items causing the tests failure will be
   directly removed.
 - remove the "TCP KTLS" tests, keeping only the MPTCP-related ones.

[1]
https://patchwork.kernel.org/project/mptcp/patch/ce74452f4c095a1761ef493b767b4bd9f9c14359.1764333805.git.tanggeliang@kylinos.cn/

v3:
 - mptcp_read_sock() and mptcp_poll() are not exported, as mptcp_sockopt
   test does not use read_sock/poll interfaces. They will be exported when
   new tests are added in the future.
 - call mptcp_inq_hint in tls_device_rx_resync_new_rec(),
   tls_device_core_ctrl_rx_resync() and tls_read_flush_backlog() too.
 - update selftests.
 - Link: https://patchwork.kernel.org/project/mptcp/cover/cover.1763800601.git.tanggeliang@kylinos.cn/

v2:
 - fix disconnect.
 - update selftests.

This series adds KTLS support for MPTCP. Since the ULP of msk is not being
used, ULP KTLS can be directly configured onto msk without affecting its
communication.

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

Geliang Tang (10):
  mptcp: add sk_is_msk helper
  tls: switch to MPTCP_SKB_CB
  tls: switch to mptcp_inq
  tls: switch to mptcp_sendmsg_locked
  tls: switch to mptcp_recv_skb
  tls: switch to mptcp_read_done
  mptcp: update ULP getsockopt
  mptcp: enable TLS setsockopt
  selftests: mptcp: connect: update sock_test_tcpulp
  selftests: mptcp: sockopt: implement MPTCP KTLS tests

 include/net/mptcp.h                           | 48 ++++++++++++
 net/mptcp/protocol.c                          | 66 ++++++++++++++--
 net/mptcp/protocol.h                          | 10 ---
 net/mptcp/sockopt.c                           | 30 +++++++-
 net/tls/tls_main.c                            |  4 +-
 net/tls/tls_strp.c                            | 24 ++++--
 net/tls/tls_sw.c                              |  8 +-
 tools/testing/selftests/net/mptcp/config      |  1 +
 .../selftests/net/mptcp/mptcp_connect.c       | 20 +++--
 .../selftests/net/mptcp/mptcp_sockopt.c       | 76 ++++++++++++++++++-
 .../selftests/net/mptcp/mptcp_sockopt.sh      | 36 +++++++++
 11 files changed, 289 insertions(+), 34 deletions(-)

-- 
2.51.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-12-18 17:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-12  2:27 [RFC mptcp-next v4 00/10] MPTCP KTLS support Geliang Tang
2025-12-12  2:27 ` [RFC mptcp-next v4 01/10] mptcp: add sk_is_msk helper Geliang Tang
2025-12-12  2:27 ` [RFC mptcp-next v4 02/10] tls: switch to MPTCP_SKB_CB Geliang Tang
2025-12-12  2:27 ` [RFC mptcp-next v4 03/10] tls: switch to mptcp_inq Geliang Tang
2025-12-12  2:27 ` [RFC mptcp-next v4 04/10] tls: switch to mptcp_sendmsg_locked Geliang Tang
2025-12-12  2:27 ` [RFC mptcp-next v4 05/10] tls: switch to mptcp_recv_skb Geliang Tang
2025-12-12  2:27 ` [RFC mptcp-next v4 06/10] tls: switch to mptcp_read_done Geliang Tang
2025-12-12  2:27 ` [RFC mptcp-next v4 07/10] mptcp: update ULP getsockopt Geliang Tang
2025-12-12  2:27 ` [RFC mptcp-next v4 08/10] mptcp: enable TLS setsockopt Geliang Tang
2025-12-12  7:23   ` GangYan
2025-12-12  8:29     ` Geliang Tang
2025-12-12  2:27 ` [RFC mptcp-next v4 09/10] selftests: mptcp: connect: update sock_test_tcpulp Geliang Tang
2025-12-12  2:27 ` [RFC mptcp-next v4 10/10] selftests: mptcp: sockopt: implement MPTCP KTLS tests Geliang Tang
2025-12-12  4:52 ` [RFC mptcp-next v4 00/10] MPTCP KTLS support MPTCP CI
2025-12-12  9:17 ` MPTCP CI
2025-12-18 17:42 ` Matthieu Baerts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox