]> 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)
commitff46172e06ede86db3488b7cc1e97040e4e748c1
tree897bc79a9b177179a5507232842cec0afed8db01
parenta769cf91a498b4f5a240e076f9a6833606bfdcac
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