]> git.baikalelectronics.ru Git - kernel.git/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)
commit8b36cb2491cc51394f0a9a3ea6b7ac52d512d10e
tree46c1c182a79c9aaf4b65cf3a360380c8482bd007
parent62fba8ea4c741e82e47f6c58e5350d4064c73542
[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