net: hns3: split function hclge_get_fd_rule_info()
authorJian Shen <shenjian15@huawei.com>
Thu, 2 Dec 2021 08:35:58 +0000 (16:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Dec 2021 11:53:42 +0000 (11:53 +0000)
commita41fb3961d8df745adac5374d87a6c2398057364
tree2587318486a3ae025a194d97ff9bff31c550ca98
parentb60f9d2ec479966383c7f2cdf3b1a3a66c25f212
net: hns3: split function hclge_get_fd_rule_info()

Currently the function hclge_get_fd_rule_info() is a bit long.
Split it to several small functions, to improve 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