summaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/acpiphp.h
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2018-09-26 19:28:39 +0100
committerDavid S. Miller <davem@davemloft.net>2018-09-28 10:37:42 -0700
commit0d43bf45f4a82efceefdfdd2ec86337fcbd51a46 (patch)
tree91256fff06157e229debe53034e8af3b352d2d3b /drivers/pci/hotplug/acpiphp.h
parentfe5eb043182b17fec2279d4040712dc1fbda428f (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