linux_dsm_epyc7002/drivers/net/ethernet/intel
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
..
e1000 e1000, e1000e: Use dma_rmb instead of rmb for descriptor read ordering 2015-04-08 12:15:14 -04:00
e1000e e1000e: Move pm_qos_req to e1000e adapter 2015-04-13 13:15:14 -04:00
fm10k fm10k: use hw->mac.max_queues for stats 2015-04-14 15:35:16 -07:00
i40e i40e/i40evf: Use dma_rmb where appropriate 2015-04-09 14:25:26 -04:00
i40evf i40e/i40evf: Use dma_rmb where appropriate 2015-04-09 14:25:26 -04:00
igb ptp: igb: use helpers for converting ns to timespec. 2015-03-31 17:19:19 -04:00
igbvf igbvf: use netif_carrier_off earlier when bringing if down 2015-03-20 17:45:12 -07:00
ixgb ixgb: call netif_carrier_off early on down 2015-03-20 17:41:52 -07:00
ixgbe ixgbe: Add GET_RSS_KEY command to VF-PF channel commands set 2015-04-11 11:30:12 -07:00
ixgbevf ixgbevf: Add the appropriate ethtool ops to query RSS indirection table and key 2015-04-11 11:50:28 -07:00
e100.c e100: Use dma_rmb/wmb where appropriate 2015-04-09 14:25:26 -04:00
Kconfig i40e: Strip configfs code 2015-03-07 07:01:06 -08:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00