qlge: Optimize rx buffer refill process.
authorRon Mercer <ron.mercer@qlogic.com>
Mon, 23 Feb 2009 10:42:16 +0000 (10:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Feb 2009 07:50:01 +0000 (23:50 -0800)
commit49f2186d36a88ae6f7dd8261aff2cf80409af28d
tree150c5ae20128158903b3299aa0b30f4a58d2077a
parent8587ea35ca6b4add4353b8a18b67d358aed0389e
qlge: Optimize rx buffer refill process.

RX Buffers are refilled in chunks of 16 at a time before notifying the
hardware with a register write.  This can cause several writes to take
place in a given napi poll call.  This change causes the write to take place
only once at the end of the call.

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