mv643xx_eth: shrink default receive and transmit queue sizes
authorLennert Buytenhek <buytenh@wantstofly.org>
Sun, 14 Sep 2008 12:09:59 +0000 (14:09 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Sun, 14 Sep 2008 12:18:10 +0000 (14:18 +0200)
commit2b4a624d706d404a3edccb6d1bb2c440a6dbbc31
tree14b948487f861eac19ee7e91563abe6ab7d40849
parent99ab08e091df65ce8e191d85ebdc23f78b8355cb
mv643xx_eth: shrink default receive and transmit queue sizes

Since the size of the receive queue is directly related to the data
cache footprint of the driver (between refilling a receive ring entry
with a fresh skb and receiving a packet in that entry, queue_size - 1
other skbs will have been touched), shrink the default receive queue
size to a saner number of entries, as 400 is definite overkill for
almost all workloads.

While we are at it, trim the default transmit queue size a bit as well.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
drivers/net/mv643xx_eth.c