summaryrefslogtreecommitdiff
path: root/ipc/msgutil.c
diff options
context:
space:
mode:
authorGuangbin Huang <huangguangbin2@huawei.com>2020-09-27 15:12:46 +0800
committerDavid S. Miller <davem@davemloft.net>2020-09-27 13:25:22 -0700
commitd9c7d20dfb95b5a084e75186c5090eb09b082eac (patch)
treef3ccf2a05dcc0fa84728a633b69ca140a061aab1 /ipc/msgutil.c
parentaf2aedc57277dfd1d9ebe16777cf84dccce8e68d (diff)
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 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions