MPTCP Linux Development
 help / color / mirror / Atom feed
* [PATCH mptcp-next v3 0/2] mptcp: shrink struct mptcp_options_received
@ 2026-09-09  2:40 Quanye Yang via B4 Relay
  2026-09-09  2:40 ` [PATCH mptcp-next v3 1/2] mptcp: split FASTCLOSE key from rcvr_key Quanye Yang via B4 Relay
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Quanye Yang via B4 Relay @ 2026-09-09  2:40 UTC (permalink / raw)
  To: MPTCP Linux; +Cc: Quanye Yang

struct mptcp_options_received is the per-packet decode buffer used while
parsing incoming MPTCP options. It is larger than needed because several
suboptions cannot be combined.

This series splits the FASTCLOSE key from rcvr_key, then overlaps the
remaining mutually exclusive payloads in an anonymous union. DSS and
rm_list stay outside the union. On x86_64 the structure shrinks from
136 to 72 bytes.

---
Changes in v3:
- Split the FASTCLOSE key change into its own commit
- Add comments linking union members to their suboptions
- Link to v2: https://patch.msgid.link/20260904-mptcp-shrink-opt-rx-v2-v2-1-d8662bb18ef2@proton.me

Changes in v2:
- Group fields by suboption and move join_id into the MP_JOIN group
- Split rcvr_key into rcvr_key (MP_CAPABLE) and fc_recv_key (MP_FASTCLOSE)
- Overlap MP_JOIN token, thmac and hmac
- Drop the dependency on the invalid-option series
- Link to v1: https://patch.msgid.link/20260904-mptcp-shrink-opt-rx-v1-1-2d87ab9505ff@proton.me

---
Quanye Yang (2):
      mptcp: split FASTCLOSE key from rcvr_key
      mptcp: shrink struct mptcp_options_received

 net/mptcp/options.c  |  6 +++---
 net/mptcp/protocol.h | 44 +++++++++++++++++++++++++++++---------------
 2 files changed, 32 insertions(+), 18 deletions(-)
---
base-commit: d5a4e55ccfb893614646d0f0e5c440daa92b7467
change-id: 20260904-mptcp-shrink-opt-rx-v2-d8e0c6951294

Best regards,
--  
Quanye Yang <quanyeyang@proton.me>



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

end of thread, other threads:[~2026-09-09 10:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-09  2:40 [PATCH mptcp-next v3 0/2] mptcp: shrink struct mptcp_options_received Quanye Yang via B4 Relay
2026-09-09  2:40 ` [PATCH mptcp-next v3 1/2] mptcp: split FASTCLOSE key from rcvr_key Quanye Yang via B4 Relay
2026-09-09  2:40 ` [PATCH mptcp-next v3 2/2] mptcp: shrink struct mptcp_options_received Quanye Yang via B4 Relay
2026-09-09  3:56 ` [PATCH mptcp-next v3 0/2] " MPTCP CI
2026-09-09 10:40 ` Matthieu Baerts
2026-09-09 10:53 ` Matthieu Baerts

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