net: hns3: split out hclge_get_fd_rule_info()
authorJian Shen <shenjian15@huawei.com>
Mon, 20 Apr 2020 02:17:27 +0000 (10:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 19:49:17 +0000 (12:49 -0700)
commitfa663c096052ec8c5dfef29fc1cd30190e5aba93
tree897bc79a9b177179a5507232842cec0afed8db01
parent736fc0e17fade807e59cd9001af88ec4bcca62ef
net: hns3: split out hclge_get_fd_rule_info()

hclge_get_fd_rule_info() is bloated, this patch separates
it into several standalone functions for readability and
maintainability.

Signed-off-by: Jian Shen <shenjian15@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