[Intel-wired-lan] [net-next 08/25] fm10k: only show actual queues, not the maximum in hardware
jeffrey.t.kirsher at intel.com
Fri Apr 3 21:02:56 UTC 2015
On Fri, 2015-04-03 at 13:26 -0700, Jeff Kirsher wrote:
> 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 at intel.com>
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Acked-by: Matthew Vick <matthew.vick at intel.com>
> drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
I have applied to my queue.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: This is a digitally signed message part
More information about the Intel-wired-lan