]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0e66bd7783953976379d854475a23bca6232a43c
tree2587318486a3ae025a194d97ff9bff31c550ca98
parent42d13c70a498c936ab77b277d6e985ab91110e98
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