net: hns3: refactor the hclge_get/set_rss_tuple function
authorYunsheng Lin <linyunsheng@huawei.com>
Fri, 9 Mar 2018 02:36:57 +0000 (10:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2018 16:33:13 +0000 (11:33 -0500)
commit6f2af4295553348953e91dfc0bd77749de961804
treedae3a44c277a3f1cdd0e7e8016db4ebd4b09e246
parent89523cfaa5e316ef3eec8d2c6ca44f9b5b9458d4
net: hns3: refactor the hclge_get/set_rss_tuple function

This patch refactors the hclge_get/set_rss_tuple function
in order to fix the rss configuration loss problem during
reset process.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@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/hns3pf/hclge_main.h