ixgbe: simplify math and improve stack use of ixgbe_set_itr functions
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 17 Nov 2010 03:27:08 +0000 (19:27 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Nov 2010 03:27:08 +0000 (19:27 -0800)
commit125601bf03a13e24d3785ccbc3a25ad401c92772
tree3328523f9ce7e721afded93e862baddbc2304430
parentbf29ee6c4819a86ba0209281550b230889b8ebe6
ixgbe: simplify math and improve stack use of ixgbe_set_itr functions

This change is meant to improve the stack utilization and simplify the math
used in ixgbe_set_itr_msix.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_main.c