diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2017-09-20 18:52:57 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-20 16:15:40 -0700 |
commit | 68ece54efd417d415462adbaa2700cba50de3ff6 (patch) | |
tree | 82786d6a8d6e4cece0c8e2257bbf868ebd7caf36 /drivers/connector | |
parent | c4726338d928c824f56c27734d837b8244132705 (diff) | |
download | linux-68ece54efd417d415462adbaa2700cba50de3ff6.tar.bz2 |
net: hns3: Fix for setting rss_size incorrectly
rss_size is 1, 2, 4, 8, 16, 32, 64, 128, but acutal tc queue
size can be any u16 less than 128. If tc queue size is 5, we
set the rss_size to 8, indirection table will be used to limit
the size of actual queue size.
It may cause dropping of receiving packet in hardware if
rss_size is not set correctly.
For now, each TC has the same rss size.
Fixes: 46a3df9f9718 ("net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support")
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions