net: hns3: split out hclge_tm_vport_tc_info_update()
authorGuojia Liao <liaoguojia@huawei.com>
Fri, 26 Mar 2021 01:36:28 +0000 (09:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Mar 2021 21:58:44 +0000 (14:58 -0700)
commitb1261897b0902d870c483fb006a9443723a3d58b
tree71f4d6ca2addb25909e6c188e18ef3b95cef09ca
parent74d439b74ad3e05780d4cf3ab047345b443f7e67
net: hns3: split out hclge_tm_vport_tc_info_update()

hclge_tm_vport_tc_info_update() is bloated, so split it into
separate functions for readability and maintainability.

Signed-off-by: Guojia Liao <liaoguojia@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c