]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa0b06dd9eb8ee5df2f4b688a14e66395eea8632
treec2915812b713fc191aac2e6f762b32e3fc9d0026
parentd2de6f8401e4d2db12c82e09d8dd16887d854e52
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