OSDN Git Service

net: hns3: split function hclge_update_port_base_vlan_cfg()
authorJian Shen <shenjian15@huawei.com>
Thu, 2 Dec 2021 08:36:00 +0000 (16:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2021 11:53:43 +0000 (11:53 +0000)
commitd25f5eddbe1ace18fa95318fd229b07a64ec4353
tree94c03c36ae35632e4016276cc99b0a4ebea99bd8
parent8d4b409bac5710cbf51c97c5d74e956476cd4de0
net: hns3: split function hclge_update_port_base_vlan_cfg()

Currently the function hclge_update_port_base_vlan_cfg() is a
bit long. Split it to several small functions, to improve the
readability.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c