OSDN Git Service

net: hns3: split function hclge_init_vlan_config()
authorJian Shen <shenjian15@huawei.com>
Thu, 2 Dec 2021 08:35:57 +0000 (16:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2021 11:53:42 +0000 (11:53 +0000)
commitb60f9d2ec479966383c7f2cdf3b1a3a66c25f212
treec2915812b713fc191aac2e6f762b32e3fc9d0026
parenta1cfb24d011a39ab65bb154dd85d9f879c6e5e4d
net: hns3: split function hclge_init_vlan_config()

Currently the function hclge_init_vlan_config() is a bit long.
Split it to several small functions, to simplify code and
improve code 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