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)
commitea739c90650ae39307c7eb2bc6851ab78deed5df
tree00d34965e90b545dfef8802f42c89c124174ed1d
parent3c8f5c0339515202e8662b6e3ae36a7b16610caf
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