Jeff Kirsher c0e61781a8 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 <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>
2015-04-14 15:35:16 -07:00
..
2015-03-02 16:43:41 -05:00
2015-04-01 12:43:09 -04:00
2015-04-01 22:52:29 -04:00
2015-04-07 15:21:55 -04:00
2014-12-09 21:51:06 -05:00
2015-04-02 14:05:00 -04:00
2015-04-02 14:05:01 -04:00