]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Cleanup q_vector interrupt throttle rate logic
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 31 Aug 2011 00:01:16 +0000 (00:01 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:11:30 +0000 (22:11 +0800)
commit87804d2c478426679ee9b7acaf152fe33096fc4d
tree50d83737c193dccec5888a159e26b5a952a89716
parent598eca46372cf6055636ef44b914d29b82d66813
ixgbe: Cleanup q_vector interrupt throttle rate logic

This patch is meant to help cleanup the interrupt throttle rate logic by
storing the interrupt throttle rate as a value in microseconds instead of
interrupts per second.  The advantage to this approach is that the value
can now be stored in an 16 bit field and doesn't require as much math to
flip the value back and forth since the hardware already used microseconds
when setting the rate.

(cherry picked from commit d5bf4f67a6b414628dc95b9c4891525296c09a29)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c