On Fri, 14 Jul 2017 18:26:13 -0700 Amritha Nambiar <amritha.namb...@intel.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.namb...@intel.com> As Jamal said, the syntax is awquard. Also, for iproute2 commands the output format should match the input format