]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: hns3: refactor the hclge_get/set_rss function
authorYunsheng Lin <linyunsheng@huawei.com>
Fri, 9 Mar 2018 02:36:56 +0000 (10:36 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 18:40:03 +0000 (14:40 -0400)
commitdcd4ef5e533a016500d13fa7a19afd2ab2e809fb
tree83448369c5919f2e850be0e5719427989214240b
parentf72ed0d99d840dbc6e7a3796afb6dd6ba7a6f13f
net: hns3: refactor the hclge_get/set_rss function

BugLink: https://bugs.launchpad.net/bugs/1768670
This patch refactors the hclge_get/set_rss 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>
(cherry picked from commit 89523cfaa5e316ef3eec8d2c6ca44f9b5b9458d4)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h