]> err.no Git - linux-2.6/commit
[TG3]: Increase the PCI MRRS
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 13 Nov 2007 05:19:37 +0000 (21:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Nov 2007 05:19:37 +0000 (21:19 -0800)
commit5f5c51e3d473d8ddc0c32156c2b27e2fe92b9b57
tree46c1c182a79c9aaf4b65cf3a360380c8482bd007
parentaa6c91fe5913faa2cd2a62de993a3130799412b1
[TG3]: Increase the PCI MRRS

Previous devices hardcoded the PCI Maximum Read Request Size to 4K.  To
better comply with the PCI spec, the hardware now defaults the MRRS to
512 bytes.  This will yield poor driver performance if left untouched.
This patch increases the MRRS to 4K on driver initialization.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c