diff options
author | Guangbin Huang <huangguangbin2@huawei.com> | 2020-09-27 10:12:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-27 23:25:22 +0300 |
commit | d9c7d20dfb95b5a084e75186c5090eb09b082eac (patch) | |
tree | f3ccf2a05dcc0fa84728a633b69ca140a061aab1 /drivers/net/ethernet/netronome/Makefile | |
parent | af2aedc57277dfd1d9ebe16777cf84dccce8e68d (diff) | |
download | linux-d9c7d20dfb95b5a084e75186c5090eb09b082eac.tar.xz |
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 'drivers/net/ethernet/netronome/Makefile')
0 files changed, 0 insertions, 0 deletions