Patchwork [Quantal,03/29] be2net: do not modify PCI MaxReadReq size

mail settings
Submitter Jesse Sung
Date Dec. 13, 2012, 6:49 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/205745/
State New
Headers show


Jesse Sung - Dec. 13, 2012, 6:49 a.m.
From: Sathya Perla <>


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 <>
Signed-off-by: Sathya Perla <>
Signed-off-by: David S. Miller <>
(cherry picked from commit 0513ac3d2212072c6694430b1003ad4246a35466)

Signed-off-by: Wen-chien Jesse Sung <>
 drivers/net/ethernet/emulex/benet/be_main.c |    2 --
 1 file changed, 2 deletions(-)


diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index a8b243c..c70674e 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -2767,8 +2767,6 @@  static int be_setup(struct be_adapter *adapter)
 		be_cmd_set_flow_control(adapter, adapter->tx_fc,
-	pcie_set_readrq(adapter->pdev, 4096);
 	if (be_physfn(adapter) && num_vfs) {
 		if (adapter->dev_num_vfs)