qlge: Change frame route hw semaphore granularity.
authorRon Mercer <ron.mercer@qlogic.com>
Mon, 23 Feb 2009 10:42:15 +0000 (10:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Feb 2009 07:50:01 +0000 (23:50 -0800)
commit8587ea35ca6b4add4353b8a18b67d358aed0389e
treeffd510b1290f5e3bd3fb8a345c00a1af041a58ff
parentcc288f54bbace136c08742da84712add54e4acfa
qlge: Change frame route hw semaphore granularity.

Instead of taking/giving the hw semaphore repeatedly when iterating over
several frame to queue route settings, we have the caller hold it until
all are done.
This reduces PCI bus chatter and possible waits.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c