]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: refactor out hclge_set_vf_vlan_common()
authorPeng Li <lipeng321@huawei.com>
Fri, 12 Feb 2021 03:21:05 +0000 (11:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2021 21:13:15 +0000 (13:13 -0800)
commit318824ab1a055c104515b67504547fcb0840a96c
tree8920623546b6e566f0e3c25bac222eb4c492a2c1
parent6bd6fe98c251ba53d70f863a7278eb63650e16be
net: hns3: refactor out hclge_set_vf_vlan_common()

To improve code readability and maintainability, separate
the command handling part and the status parsing part from
bloated hclge_set_vf_vlan_common().

Signed-off-by: Peng Li <lipeng321@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_main.c