[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170718172935.6426dc6c@xeon-e3>
Date: Tue, 18 Jul 2017 17:29:35 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Amritha Nambiar <amritha.nambiar@...el.com>
Cc: netdev@...r.kernel.org, alexander.h.duyck@...el.com,
kiran.patil@...el.com, sridhar.samudrala@...el.com,
mitch.a.williams@...el.com, alexander.duyck@...il.com,
neerav.parikh@...el.com, carolyn.wyborny@...el.com,
jeffrey.t.kirsher@...el.com
Subject: Re: [PATCH RFC, iproute2] tc/mqprio: Add support to configure
bandwidth rate limit through mqprio
On Fri, 14 Jul 2017 18:26:13 -0700
Amritha Nambiar <amritha.nambiar@...el.com> wrote:
> Support bandwidth rate limit information for a traffic
> class in addition to the number of TCs and associated
> queue configuration data. This is supported in the new
> hardware offload mode in mqprio by setting the value of
> 'hw' option to 2. This new hardware offload mode in mqprio
> makes full use of the mqprio options, the TCs, the
> queue configurations and the bandwidth rates for the TCs.
>
> # tc qdisc add dev eth0 root mqprio num_tc 2 map 0 0 0 0 1 1 1 1\
> queues 4@0 4@4 min_rate 0Mbit 0Mbit max_rate 55Mbit 60Mbit hw 2
>
> # tc qdisc show dev eth0
>
> qdisc mqprio 804a: root tc 2 map 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0
> queues:(0:3) (4:7)
> min rates:0bit 0bit
> max rates:55Mbit 60Mbit
>
> Signed-off-by: Amritha Nambiar <amritha.nambiar@...el.com>
As Jamal said, the syntax is awquard.
Also, for iproute2 commands the output format should match the input format
Powered by blists - more mailing lists