diff options
author | Brice Goglin <brice@myri.com> | 2008-11-10 13:58:41 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-11-11 03:49:53 -0500 |
commit | 8c2f5fa51e1b22db53acf4f3918b6f590b4a35a1 (patch) | |
tree | 47d8a786fa02c5c371287e7325015a604e8e285b /drivers/connector | |
parent | df02c6ff2e3937379b31ea161b53229134fe92f7 (diff) |
myri10ge: fix stop/go ordering even more
The doorbell writes may be seen out of order by the firmware if they
are in WC memory since the tx spin(un)lock does not flush WC writes.
Hence if the "stop" is written on a different CPU than the "go", it
is possible that the stop will arrive after the go unless we add an
explicit memory barrier (and mmiowb() is not enough).
It fixes transmit hangs in multi tx queue mode.
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions