diff options
author | Jeff Kirsher <[email protected]> | 2015-04-03 13:26:59 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2015-04-14 15:35:16 -0700 |
commit | c0e61781a8cb1c5d1b092a4d9776dbefe799444e (patch) | |
tree | 52802a5e1929e6fd4a4d7681c03136edef831e77 /scripts/gdb/linux/modules.py | |
parent | 29a928ee633a9166e5637609ce4c735856b23fbe (diff) |
fm10k: use hw->mac.max_queues for stats
Even though it shouldn't strictly matter, don't count queue stats higher
than the max_queues value stored for this mac. This ensures that we
don't attempt to check queues which don't belong to use in VFs. This
shouldn't be a visible change, as the VFs should see zero for queues
which don't belong to them.
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Acked-by: Matthew Vick <[email protected]>
Tested-by: Krishneil Singh <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions