]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6ca10c97694ca9309c976b95e1d6ae6af8144a02
tree897bc79a9b177179a5507232842cec0afed8db01
parent6f23d5882e65143c32899740ac72361f1ae3faac
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