Netdev List
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: gautamramk@gmail.com
Cc: netdev@vger.kernel.org,
	"Mohit P. Tahiliani" <tahiliani@nitk.edu.in>,
	"Sachin D . Patil" <sdp.sachin@gmail.com>,
	"V . Saicharan" <vsaicharan1998@gmail.com>,
	Mohit Bhasi <mohitbhasi1998@gmail.com>,
	Leslie Monis <lesliemonis@gmail.com>
Subject: Re: [PATCH iproute2] tc: add support for FQ-PIE packet scheduler
Date: Tue, 4 Feb 2020 02:20:02 -0800	[thread overview]
Message-ID: <20200204022002.4463eec4@shemminger-XPS-13-9360> (raw)
In-Reply-To: <20200201065536.13825-1-gautamramk@gmail.com>

On Sat,  1 Feb 2020 12:25:36 +0530
gautamramk@gmail.com wrote:

> From: "Mohit P. Tahiliani" <tahiliani@nitk.edu.in>
> 
> This patch adds support for the FQ-PIE packet Scheduler
> 
> Principles:
>   - Packets are classified on flows.
>   - This is a Stochastic model (as we use a hash, several flows might
>                                 be hashed to the same slot)
>   - Each flow has a PIE managed queue.
>   - Flows are linked onto two (Round Robin) lists,
>     so that new flows have priority on old ones.
>   - For a given flow, packets are not reordered.
>   - Drops during enqueue only.
>   - ECN capability is off by default.
>   - ECN threshold (if ECN is enabled) is at 10% by default.
>   - Uses timestamps to calculate queue delay by default.
> 
> Usage:
> tc qdisc ... fq_pie [ limit PACKETS ] [ flows NUMBER ]
>                     [ target TIME ] [ tupdate TIME ]
>                     [ alpha NUMBER ] [ beta NUMBER ]
>                     [ quantum BYTES ] [ memory_limit BYTES ]
>                     [ ecn_prob PERCENTAGE ] [ [no]ecn ]
>                     [ [no]bytemode ] [ [no_]dq_rate_estimator ]
> 
> defaults:
>   limit: 10240 packets, flows: 1024
>   target: 15 ms, tupdate: 15 ms (in jiffies)
>   alpha: 1/8, beta : 5/4
>   quantum: device MTU, memory_limit: 32 Mb
>   ecnprob: 10%, ecn: off
>   bytemode: off, dq_rate_estimator: off
> 
> Signed-off-by: Mohit P. Tahiliani <tahiliani@nitk.edu.in>
> Signed-off-by: Sachin D. Patil <sdp.sachin@gmail.com>
> Signed-off-by: V. Saicharan <vsaicharan1998@gmail.com>
> Signed-off-by: Mohit Bhasi <mohitbhasi1998@gmail.com>
> Signed-off-by: Leslie Monis <lesliemonis@gmail.com>
> Signed-off-by: Gautam Ramakrishnan <gautamramk@gmail.com>
> ---
>  bash-completion/tc   |  12 +-
>  man/man8/tc-fq_pie.8 | 166 +++++++++++++++++++++
>  man/man8/tc.8        |   8 +
>  tc/Makefile          |   1 +
>  tc/q_fq_pie.c        | 341 +++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 526 insertions(+), 2 deletions(-)
>  create mode 100644 man/man8/tc-fq_pie.8
>  create mode 100644 tc/q_fq_pie.c
> 

Overall this looks great, thanks for doing the bash-completion as well.

The only issue is that iproute2 now uses SPDX for license information.
Therefore do not include the legal boilerplate and use SPDX for GPLv2 instead.

Checkpatch sort of identifies this.

WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
#378: FILE: tc/q_fq_pie.c:1:
+/*

WARNING: else is not generally useful after a break or return
#529: FILE: tc/q_fq_pie.c:152:
+			return -1;
+		} else {

total: 0 errors, 3 warnings, 558 lines checked




      reply	other threads:[~2020-02-04 10:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-01  6:55 [PATCH iproute2] tc: add support for FQ-PIE packet scheduler gautamramk
2020-02-04 10:20 ` Stephen Hemminger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200204022002.4463eec4@shemminger-XPS-13-9360 \
    --to=stephen@networkplumber.org \
    --cc=gautamramk@gmail.com \
    --cc=lesliemonis@gmail.com \
    --cc=mohitbhasi1998@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=sdp.sachin@gmail.com \
    --cc=tahiliani@nitk.edu.in \
    --cc=vsaicharan1998@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox