summaryrefslogtreecommitdiff
path: root/drivers/ssb/driver_extif.c
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-04-03 13:26:58 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-04-14 15:35:02 -0700
commit29a928ee633a9166e5637609ce4c735856b23fbe (patch)
treef945aec09aaef97b9aa740dd5f814e1cd902ac70 /drivers/ssb/driver_extif.c
parent661b2067910fdecb9a7053f7b5279a0ff61b0bf7 (diff)
fm10k: only show actual queues, not the maximum in hardware
Currently, we show statistics for all 128 queues, even though we don't necessarily have that many queues available especially in the VF case. Instead, use the hw->mac.max_queues value, which tells us how many queues we actually have, rather than the space for the rings we allocated. In this way, we prevent dumping statistics that are useless on the VF. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Acked-by: Matthew Vick <matthew.vick@intel.com> Tested-by: Krishneil Singh <krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/ssb/driver_extif.c')
0 files changed, 0 insertions, 0 deletions