]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ixgbe: fix incorrect limit value in ring transverse
authorDon Skidmore <donald.c.skidmore@intel.com>
Fri, 28 Jun 2013 05:35:50 +0000 (05:35 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 29 Aug 2013 09:51:56 +0000 (02:51 -0700)
commitbd8a1b12907e314c3630c18da2bc0a07f5ae72e7
treed41da0e9e88451e11c2c9f13541b2c525bb77110
parentbe0c27b4edb9ee58c4e72ee7e460a0bed7ecef79
ixgbe: fix incorrect limit value in ring transverse

We were transversing the tx_ring with IXGBE_NUM_RX_QUEUES.  Now this define
happens to have the correct value but this is misleading and a change later
could easily make this no longer true.  I updated it to netdev->num_tx_queues
like we use in ixgbe_get_strings().

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c