]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: fix for not initializing VF rss_hash_key problem
authorFuyun Liang <liangfuyun1@huawei.com>
Sat, 24 Mar 2018 03:32:46 +0000 (11:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Mar 2018 16:12:26 +0000 (12:12 -0400)
commitb10019c92eb7f6cb611b122515eb01f5432c5168
tree00d34965e90b545dfef8802f42c89c124174ed1d
parentef9563a3f1c15e0b0b0f5fd773002eb8257b5d30
net: hns3: fix for not initializing VF rss_hash_key problem

Default rss_hash_key value should be given to all vports. But just the
PF rss_hash_key has the default value here. This patch adds rss_hash_key
Initialization for all vports.

Signed-off-by: Fuyun Liang <liangfuyun1@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