]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Replace eitr_low and eitr_high with static values in ixgbe_update_itr
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 8 Feb 2012 07:50:20 +0000 (07:50 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 15:05:10 +0000 (23:05 +0800)
commit5b25bb44b929ac2ab54c59d3ddc478638e6e817c
treea0ef9f29857b10655722588271a0645cd34dafa9
parenteb6c9912292d211fb0e02caf85c03c2c41e052a2
ixgbe: Replace eitr_low and eitr_high with static values in ixgbe_update_itr

There isn't much point in using variables to store the values of eitr_low
and eitr_high since they are not user changeable.  As such I am replacing
them with the constants 10 and 20 in order to avoid any confusion on what
the values actually are.

(cherry picked from commit 621bd70eda47f33aa5f3a48da56649c0cb7e2329)
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