[Intel-wired-lan] [net-next 08/25] fm10k: only show actual queues, not the maximum in hardware

Jeff Kirsher 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.
-- 
git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git
dev-queue
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20150403/025936ae/attachment.asc>


More information about the Intel-wired-lan mailing list