linux/drivers/net/ethernet/intel/fm10k
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
..
fm10k_common.c fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_common.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k_dcbnl.c fm10k: fix unused warnings 2015-04-14 15:23:36 -07:00
fm10k_debugfs.c fm10k: fix unused warnings 2015-04-14 15:23:36 -07:00
fm10k_ethtool.c fm10k: use hw->mac.max_queues for stats 2015-04-14 15:35:16 -07:00
fm10k_iov.c fm10k: fix unused warnings 2015-04-14 15:23:36 -07:00
fm10k_main.c fm10k: fix unused warnings 2015-04-14 15:23:36 -07:00
fm10k_mbx.c fm10k: Correct spelling mistake 2015-04-14 15:07:06 -07:00
fm10k_mbx.h fm10k: Add support for PF <-> VF mailbox 2014-09-23 03:59:20 -07:00
fm10k_netdev.c fm10k: allow creation of VLAN on default vid 2015-04-14 15:34:33 -07:00
fm10k_pci.c fm10k: use hw->mac.max_queues for stats 2015-04-14 15:35:16 -07:00
fm10k_pf.c fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_pf.h fm10k: Add support for SR-IOV to PF core files 2014-09-23 03:59:21 -07:00
fm10k_ptp.c fm10k: fix unused warnings 2015-04-14 15:23:36 -07:00
fm10k_tlv.c fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_tlv.h fm10k: Add support for mailbox 2014-09-23 03:59:14 -07:00
fm10k_type.h fm10k: Resolve various spelling errors and checkpatch warnings 2015-03-03 01:07:23 -08:00
fm10k_vf.c fm10k: Have the VF get the default VLAN during init 2015-04-14 15:07:27 -07:00
fm10k_vf.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k.h fm10k: Add netconsole support 2015-04-14 15:08:37 -07:00
Makefile fm10k: Add support for PTP 2014-09-23 03:59:23 -07:00