]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Add iterator for cycling through rings on a q_vector
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 8 Feb 2012 07:50:04 +0000 (07:50 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 15:04:55 +0000 (23:04 +0800)
commit844600de2ab188c52ff162a172caf21a65c7868c
tree34b09161713bc97b0acddc79c27dcd5bf8c849db
parentb1bf594aed1745c74f4df03c716d22ab5bd1cee5
ixgbe: Add iterator for cycling through rings on a q_vector

Since there are multiple spots where we have to cycle through all of the
rings on a q_vector it makes sense to just add a function for iterating
through all of them.

(cherry picked from commit a557928e26b08496c8f4b6c04e3838ad8048ad85)
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_main.c