hinic: fix a bug of rss configuration
authorLuo bin <luobin9@huawei.com>
Thu, 27 Feb 2020 06:34:44 +0000 (06:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2020 19:08:01 +0000 (11:08 -0800)
commit386d4716fd91869e07c731657f2cde5a33086516
treed9f82ce7ceb189dca1d10c9ae32bae5ddc539e58
parentd2ed69ce9ed3477e2a9527e6b89fe4689d99510e
hinic: fix a bug of rss configuration

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>
drivers/net/ethernet/huawei/hinic/hinic_main.c