]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 27 Aug 2012 14:06:28 +0000 (07:06 -0700)
commite8cf00d81a8961136c010b24a9a55e53d32e96bd
tree39f8c7bf261b7266dad9e762cec74c5c9dc06490
parentbcc15f8f6c79474a5c97b59e106371bcbc44c6ca
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 5a56eb10babbcd7b3796dc3c28c271260aa3608d.

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/benet/be_main.c