From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xin Long Subject: [PATCH net-next 0/8] sctp: Implement Stream Interleave: Interaction with Other SCTP Extensions Date: Tue, 12 Dec 2017 17:25:51 +0800 Message-ID: Cc: Marcelo Ricardo Leitner , Neil Horman , davem@davemloft.net To: network dev , linux-sctp@vger.kernel.org Return-path: Received: from mail-pf0-f195.google.com ([209.85.192.195]:43361 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750715AbdLLJ0I (ORCPT ); Tue, 12 Dec 2017 04:26:08 -0500 Sender: netdev-owner@vger.kernel.org List-ID: 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. 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 | 3 +- 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(+), 64 deletions(-) -- 2.1.0