]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: reorder main loop in ixgbe_clean_rx_irq to allow for do/while/continue
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 8 Nov 2014 01:39:35 +0000 (01:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 20 Nov 2014 22:21:32 +0000 (14:21 -0800)
commit638c00eef4028b20ddd033ed04042e7cd5150ce2
treeaa26c598d325c48e4db66c3e945139e8a50008e3
parentc49cd5daa7ba5344b7763323f4a27d4834251567
ixgbevf: reorder main loop in ixgbe_clean_rx_irq to allow for do/while/continue

This change allows us to go from a loop based on the descriptor to one
primarily based on the budget. The advantage to this is that we can avoid
carrying too many values from one iteration to the next.

CC: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@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/ixgbevf/ixgbevf_main.c