Commit 04595b55 authored by Peiyang Wang's avatar Peiyang Wang Committed by Jiantao Xiao
Browse files

net: hns3: support tc command with max rate parameter

driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7YRUW


CVE: NA

----------------------------------------------------------------------

Traffic class is supposed to support limit rate. Configure different rates
for different tc. The followed tc command can be used.

tc qdisc add dev ethx root mqprio num_tc 4 map 0 1 2 3 0 1 2 3 queues 8@0
8@8 8@16 8@24 hw 1 mode channel shaper bw_rlimit max_rate 10mbps 10mbps
10mbps 10mbps

Signed-off-by: default avatarPeiyang Wang <wangpeiyang1@huawei.com>
parent 0b7ebb1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment