commit | ff7e4d0df83b8029ee42d3dea5d1939b1ff5446f | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Sun Sep 27 15:12:48 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 27 13:25:22 2020 -0700 |
tree | 2c8b5f9d803bd912421bd06c31948300cc281866 | |
parent | 1329702899db22611c8cfdf63e6d38b71b803fa1 [diff] |
net: hns3: add a structure for IR shaper's parameter in hclge_shaper_para_calc() 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: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>