summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/netronome/Makefile
diff options
context:
space:
mode:
authorGuangbin Huang <huangguangbin2@huawei.com>2020-09-27 10:12:46 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-27 23:25:22 +0300
commitd9c7d20dfb95b5a084e75186c5090eb09b082eac (patch)
treef3ccf2a05dcc0fa84728a633b69ca140a061aab1 /drivers/net/ethernet/netronome/Makefile
parentaf2aedc57277dfd1d9ebe16777cf84dccce8e68d (diff)
downloadlinux-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