e1000: implement more efficient tx queue locking
authorAuke Kok <auke-jan.h.kok@intel.com>
Sat, 15 Apr 2006 02:05:25 +0000 (19:05 -0700)
committerAuke Kok <auke-jan.h.kok@intel.com>
Sat, 15 Apr 2006 02:05:25 +0000 (19:05 -0700)
commit77b2aad5b4fcb6e050b64bbda158ce528f933023
tree7d60229345056e9c4e4fe39e79801376bb61dc69
parent9e2feace1acd38d7a3b1275f7f9f8a397d09040e
e1000: implement more efficient tx queue locking

Implement more efficient locking (avoid the lock) when checking for
a stopped queue.  Also don't wake the queue unless the threshold is
reached to avoid queue on/off thrash.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
drivers/net/e1000/e1000_main.c
This page took 0.025342 seconds and 5 git commands to generate.