hinic: fix a bug of rss configuration
authorLuo bin <luobin9@huawei.com>
Thu, 27 Feb 2020 06:34:44 +0000 (06:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Mar 2020 07:11:54 +0000 (08:11 +0100)
commitcfc7f5fe5c6190d3e1c4247a3adec2006e18015f
treecec81ba21a6bae1020227450e766c964ee1ad3ca
parente6f52d5ce1722bd5600cc617f7a2e5048813ed14
hinic: fix a bug of rss configuration

[ Upstream commit 386d4716fd91869e07c731657f2cde5a33086516 ]

should use real receive queue number to configure hw rss
indirect table rather than maximal queue number

Signed-off-by: Luo bin <luobin9@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/huawei/hinic/hinic_main.c