OSDN Git Service

net: hns3: split out hclge_fd_check_ether_tuple()
authorJian Shen <shenjian15@huawei.com>
Mon, 20 Apr 2020 02:17:26 +0000 (10:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Apr 2020 19:49:17 +0000 (12:49 -0700)
commit736fc0e17fade807e59cd9001af88ec4bcca62ef
tree047e6ede8982c0492b21d3d4eee1b222809eae49
parentb785b06ccaae3ab669877ca4175213587485a31e
net: hns3: split out hclge_fd_check_ether_tuple()

For readability and maintainability, this patch separates the
handling part of each flow type in hclge_fd_check_ether_tuple()
into standalone functions.

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