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

To make it more readable and maintainable, split
hclge_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/hns3pf/hclge_main.c