]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: refactor out hclge_rm_vport_all_mac_table()
authorHao Chen <chenhao288@hisilicon.com>
Fri, 12 Feb 2021 03:24:17 +0000 (11:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2021 21:13:15 +0000 (13:13 -0800)
commit7c721602e6c780b4a022288bbc0d57ff3095f799
tree5371f01323828f9af40230be1d057e2f875abd00
parentf1d5aa589810cc00091550a728a843580853dbfe
net: hns3: refactor out hclge_rm_vport_all_mac_table()

hclge_rm_vport_all_mac_table() is bloated, so split it into
separate functions for readability and maintainability.

Signed-off-by: Hao Chen <chenhao288@hisilicon.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