diff options
author | 2020-09-27 15:12:46 +0800 | |
---|---|---|
committer | 2020-09-27 13:25:22 -0700 | |
commit | d9c7d20dfb95b5a084e75186c5090eb09b082eac (patch) | |
tree | f3ccf2a05dcc0fa84728a633b69ca140a061aab1 /tools/perf/scripts/python/stackcollapse.py | |
parent | net: hns3: add support to query device specifications (diff) | |
download | wireguard-linux-d9c7d20dfb95b5a084e75186c5090eb09b082eac.tar.xz wireguard-linux-d9c7d20dfb95b5a084e75186c5090eb09b082eac.zip |
net: hns3: replace the macro of max tm rate with the queried specification
The max tm rate is a fixed value(100Gb/s) now as it is defined by a
macro. In order to support other rates in different kinds of device,
it is better to use specification queried from firmware to replace
this macro.
As function hclge_shaper_para_calc() has too many arguments to add
more, so encapsulate its three arguments ir_b, ir_u, ir_s into a
structure.
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions