[PATCH] myri10ge - Always do a dummy RDMA after loading the firmware
authorBrice Goglin <brice@myri.com>
Fri, 21 Jul 2006 19:49:32 +0000 (15:49 -0400)
committerJeff Garzik <jeff@garzik.org>
Sat, 29 Jul 2006 05:23:51 +0000 (01:23 -0400)
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>
drivers/net/myri10ge/myri10ge.c

index 07ca9480a6fe7fc892b32b87e49d9065aac9a695..c3e52c806b13c3f9607e7a217cac354c7e0bce56 100644 (file)
@@ -620,7 +620,7 @@ static int myri10ge_load_firmware(struct myri10ge_priv *mgp)
                return -ENXIO;
        }
        dev_info(&mgp->pdev->dev, "handoff confirmed\n");
-       myri10ge_dummy_rdma(mgp, mgp->tx.boundary != 4096);
+       myri10ge_dummy_rdma(mgp, 1);
 
        return 0;
 }
This page took 0.028386 seconds and 5 git commands to generate.