]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: fix get VF RSS issue
authorJian Shen <shenjian15@huawei.com>
Sat, 23 Feb 2019 09:22:17 +0000 (17:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 04:27:50 +0000 (20:27 -0800)
commit9f224dd6b0ff1379eb97e4a0b5fe15c0d6178931
treec0d72174c377f39cf415d405a6bc41a9411c427a
parent32fee63f2acb4b90d92d60df7e7bfae918a5608a
net: hns3: fix get VF RSS issue

For revision 0x20, VF shares the same RSS config with PF.
In original codes, it always return 0 when query RSS hash
key for VF. This patch fixes it by return the hash key
got from PF.

Fixes: bd63e1a195d2 ("net: hns3: net: hns3: Add RSS general configuration support for VF")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.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_mbx.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c