net: hns3: refactor PF/VF RSS hash key configuration
authorYufeng Mo <moyufeng@huawei.com>
Fri, 7 Jun 2019 02:03:11 +0000 (10:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 9 Jun 2019 20:20:59 +0000 (13:20 -0700)
commit3caf772bcea18a3c5045113aaa119dd2dd81f98f
tree417d6945725b9b4110ef4554a95672408a6518cc
parentb37ce5876d7f3fc24dc7ef7e32cd271f7b9500f4
net: hns3: refactor PF/VF RSS hash key configuration

In order to make it more readable, this patch modifies PF/VF's
RSS hash key configuring function.

Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Weihang Li <liweihang@hisilicon.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
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c