]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: do not modify PCI MaxReadReq size
authorSathya Perla <sathya.perla@emulex.com>
Tue, 5 Jun 2012 19:37:19 +0000 (19:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jun 2012 16:06:18 +0000 (09:06 -0700)
commit171e56af77f0f1b782431d64894c0b75e8bbaec7
treecf0ac179829480c6b8b4b4961cf9b1133e35d19e
parent2d70c143732ea38bc57506526c54db21ba43d6c5
be2net: do not modify PCI MaxReadReq size

Setting the PCI MRRS to a value of 4096 (overriding the system decided
value) had provided perf improvement in TX.
But, IBM has provided feedback that on POWER platforms, this value is set
by the system firmware, and drivers modifying this value can cause
unpredictable results (like EEH errors.) So, backing off this change.
On POWER7 platforms most slots, it seems, do get a MRRS of 4096.

This patch reverts the following commit:
"be2net: Modified PCI MaxReadReq size to 4096 bytes"
commit 8edfd60d8fcf2a89c324bb6be87dc3248b8d8fe0.

Suggested-by: Brian King <bjking1@us.ibm.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c