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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jun 2022 12:22:00 +0000 (14:22 +0200)
commit23de00c1304aa090b4b05a19359e06dabfeded1e
tree57341f5054c17adae74e2dd95a13214070a1c69e
parentf4c5eba87675a07a6c28cdaca7366aeb4258ec78
net: hns3: split function hclge_update_port_base_vlan_cfg()

[ Upstream commit d25f5eddbe1ace18fa95318fd229b07a64ec4353 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c