diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-09-26 19:28:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-28 10:37:42 -0700 |
commit | 0d43bf45f4a82efceefdfdd2ec86337fcbd51a46 (patch) | |
tree | 91256fff06157e229debe53034e8af3b352d2d3b /drivers/pci/hotplug/acpiphp.h | |
parent | fe5eb043182b17fec2279d4040712dc1fbda428f (diff) |
net: hns3: Modify hns3_get_max_available_channels
The current hns3_get_max_available_channels returns the total number
of queues for the device, which makes ethtool -L set the number of queues
per channel queues incorrectly, so hns3_get_max_available_channels should
return the maximum available number of queues per channel, depending on
the total number of queues allocated and the hardware configurations.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pci/hotplug/acpiphp.h')
0 files changed, 0 insertions, 0 deletions