OSDN Git Service

net: hns3: refactor function hclge_configure()
authorJie Wang <wangjie125@huawei.com>
Thu, 2 Dec 2021 08:36:01 +0000 (16:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2021 11:53:43 +0000 (11:53 +0000)
commit673b35b6a5bfd8e1adf122e3fdbb343c31c609d2
treebba6d0b2d9257aee9fdb5190bf519061a7e38841
parentd25f5eddbe1ace18fa95318fd229b07a64ec4353
net: hns3: refactor function hclge_configure()

Currently  hclge_configure() is a bit long. Refactor it by extracting sub
process to improve the readability.

Signed-off-by: Jie Wang <wangjie125@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