linux/drivers/net/ethernet/intel
Jeff Kirsher 29a928ee63 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>
2015-04-14 15:35:02 -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: only show actual queues, not the maximum in hardware 2015-04-14 15:35:02 -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