Re: [PATCH net-next 09/10] sctp: introduce priority based stream scheduler

2017-09-29 Thread Marcelo Ricardo Leitner
On Fri, Sep 29, 2017 at 12:54:58PM -0400, Neil Horman wrote: > On Thu, Sep 28, 2017 at 05:25:22PM -0300, Marcelo Ricardo Leitner wrote: > > This patch introduces RFC Draft ndata section 3.4 Priority Based > > Scheduler (SCTP_SS_PRIO). > > > > It works by having a struct sctp_stream_priority for ea

Re: [PATCH net-next 09/10] sctp: introduce priority based stream scheduler

2017-09-29 Thread Neil Horman
On Thu, Sep 28, 2017 at 05:25:22PM -0300, Marcelo Ricardo Leitner wrote: > This patch introduces RFC Draft ndata section 3.4 Priority Based > Scheduler (SCTP_SS_PRIO). > > It works by having a struct sctp_stream_priority for each priority > configured. This struct is then enlisted on a queue order

[PATCH net-next 09/10] sctp: introduce priority based stream scheduler

2017-09-28 Thread Marcelo Ricardo Leitner
This patch introduces RFC Draft ndata section 3.4 Priority Based Scheduler (SCTP_SS_PRIO). It works by having a struct sctp_stream_priority for each priority configured. This struct is then enlisted on a queue ordered per priority if, and only if, there is a stream with data queued, so that dequeu