net: hns3: refactor out hclgevf_set_rss_tuple()
authorHuazhong Tan <tanhuazhong@huawei.com>
Fri, 12 Feb 2021 03:24:16 +0000 (11:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2021 21:13:15 +0000 (13:13 -0800)
commit5fd0e7b4f7bf2c3d22ee8c973b215de9010eb45c
tree6afcb6351286efe59b8ada930c30142f062cf0d1
parente291eff3bce4efc4d81fa71e5c57f50283f63f2c
net: hns3: refactor out hclgevf_set_rss_tuple()

To make it more readable and maintainable, split
hclgevf_set_rss_tuple() into two parts.

Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c