Skip to content

sctp: Implement Stream Interleave: Interaction with Other SCTP Extensions

Xin Long linux-sctp netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 10 repliesIn review
  2. v18 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- removed the intl_enable check from sctp_chunk_event_lookup, as Marcelo's suggestion.
- fixed a typo in changelog.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8sctp: add basic structures and make chunk function for ifwdtsninclude/linux/sctp.h include/net/sctp/sm.h include/net/sctp/structs.h +1 more+45 -01 reply
2/8sctp: implement generate_ftsn for sctp_stream_interleaveinclude/net/sctp/stream_interleave.h include/net/sctp/structs.h net/sctp/outqueue.c +1 more+84 -61 reply
3/8sctp: implement validate_ftsn for sctp_stream_interleaveinclude/net/sctp/stream_interleave.h include/net/sctp/structs.h net/sctp/sm_statefuns.c +2 more+66 -181 reply
4/8sctp: implement report_ftsn for sctp_stream_interleaveinclude/net/sctp/stream_interleave.h net/sctp/sm_sideeffect.c net/sctp/stream.c +1 more+52 -121 reply
5/8sctp: implement handle_ftsn for sctp_stream_interleaveinclude/net/sctp/stream_interleave.h net/sctp/sm_sideeffect.c net/sctp/stream_interleave.c+53 -131 reply
6/8sctp: add stream interleave support in stream schedulernet/sctp/stream_sched.c+2 -11 reply
7/8sctp: update mid instead of ssn when doing stream and asoc resetnet/sctp/stream.c+25 -151 reply
8/8sctp: support sysctl to allow users to use stream interleavenet/sctp/sysctl.c+7 -01 reply

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarcelo R. LeitnerNeil Horman
SeriesA-b
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCHv2 net-next 0/8] sctp: Implement Stream Interleave: Interaction with Other SCTP Extensions

Stream Interleave would be implemented in two Parts:

1. The I-DATA Chunk Supporting User Message Interleaving
2. Interaction with Other SCTP Extensions

Overview in section 2.3 of RFC8260 for Part 2:

The usage of the I-DATA chunk might interfere with other SCTP extensions. Future SCTP extensions MUST describe if and how they interfere with the usage of I-DATA chunks. For the SCTP extensions already defined when this document was published, the details are given in the following subsections.

As the 2nd part of Stream Interleave Implementation, this patchset mostly adds the support for SCTP Partial Reliability Extension with I-FORWARD-TSN chunk. Then adjusts stream scheduler and stream reconfig to make them work properly with I-DATA chunks.

In the last patch, all stream interleave codes will be enabled by adding sysctl to allow users to use this feature.

v1 -> v2:
- removed the intl_enable check from sctp_chunk_event_lookup, as Marcelo's suggestion.
- fixed a typo in changelog.

Xin Long (8):
sctp: add basic structures and make chunk function for ifwdtsn
sctp: implement generate_ftsn for sctp_stream_interleave
sctp: implement validate_ftsn for sctp_stream_interleave
sctp: implement report_ftsn for sctp_stream_interleave
sctp: implement handle_ftsn for sctp_stream_interleave
sctp: add stream interleave support in stream scheduler
sctp: update mid instead of ssn when doing stream and asoc reset
sctp: support sysctl to allow users to use stream interleave

 include/linux/sctp.h                 |  17 +++
 include/net/sctp/sm.h                |   3 +
 include/net/sctp/stream_interleave.h |   7 ++
 include/net/sctp/structs.h           |  12 ++
 net/sctp/outqueue.c                  |  12 +-
 net/sctp/sm_make_chunk.c             |  24 ++++
 net/sctp/sm_sideeffect.c             |  24 +---
 net/sctp/sm_statefuns.c              |  24 ++--
 net/sctp/sm_statetable.c             |   4 +-
 net/sctp/stream.c                    |  46 +++++---
 net/sctp/stream_interleave.c         | 216 +++++++++++++++++++++++++++++++++++
 net/sctp/stream_sched.c              |   3 +-
 net/sctp/sysctl.c                    |   7 ++
 13 files changed, 334 insertions(+), 65 deletions(-)
Signature · 1 line
2.1.0