]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000: convert hardware management from timers to threads
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Wed, 5 Oct 2011 07:24:41 +0000 (07:24 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 03:09:28 +0000 (11:09 +0800)
commit9a1a1c3ee9e68519bef4047879ceef238b770db2
tree621508789b1eb3cfab6e7cecac3057c58c6eb3bf
parente3762b80a1dbdd5803492d4159e269b2999baca8
e1000: convert hardware management from timers to threads

Thomas Gleixner (tglx) reported that e1000 was delaying for many milliseconds
(using mdelay) from inside timer/interrupt context.  None of these paths are
performance critical and can be moved into threads/work items.  This patch
implements the work items and the next patch changes the mdelays to msleeps.

(cherry picked from commit a4010afef585b7142eb605e3a6e4210c0e1b2957)
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Tushar Dave <tushar.n.dave@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e1000/e1000.h
drivers/net/e1000/e1000_main.c