Ver código fonte

[PATCH] myri10ge - Always do a dummy RDMA after loading the firmware

Always do a dummy RDMA after loading the firmware to work around
buggy PCIe chipsets which do not implement resending properly.
This is so cheap as to be almost free, and should never have been
conditional on the tx boundary != 4096.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Brice Goglin 19 anos atrás
pai
commit
9a71db721a
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/net/myri10ge/myri10ge.c

+ 1 - 1
drivers/net/myri10ge/myri10ge.c

@@ -620,7 +620,7 @@ static int myri10ge_load_firmware(struct myri10ge_priv *mgp)
 		return -ENXIO;
 		return -ENXIO;
 	}
 	}
 	dev_info(&mgp->pdev->dev, "handoff confirmed\n");
 	dev_info(&mgp->pdev->dev, "handoff confirmed\n");
-	myri10ge_dummy_rdma(mgp, mgp->tx.boundary != 4096);
+	myri10ge_dummy_rdma(mgp, 1);
 
 
 	return 0;
 	return 0;
 }
 }