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:Peiyang Wang <wangpeiyang1@huawei.com>
Loading
Please sign in to comment