]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: fix for rss result nonuniform
authorJian Shen <shenjian15@huawei.com>
Wed, 30 Jan 2019 20:55:48 +0000 (04:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Jan 2019 22:50:03 +0000 (14:50 -0800)
commit42150d3dd31da2fdbedd6b6118186a68452ad82d
tree94f7f44fdbac76902e66e86be14389f967e574b6
parentf70ffa33f4d94ab6e22675f900c4f185bc1149d2
net: hns3: fix for rss result nonuniform

The rss result is more uniform when use recommended hash key from
microsoft, instead of the one generated by netdev_rss_key_fill().
Also using hash algorithm "xor" is better than "toeplitz".

This patch modifies the default hash key and hash algorithm.

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_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c