android_kernel_xiaomi_sm8350/drivers/net/myri10ge
Brice Goglin 8c2f5fa51e 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>
2008-11-11 03:49:53 -05:00
..
Makefile
myri10ge_mcp_gen_header.h myri10ge: update firmware headers 2008-08-07 01:54:44 -04:00
myri10ge_mcp.h myri10ge: update firmware headers 2008-08-07 01:54:44 -04:00
myri10ge.c myri10ge: fix stop/go ordering even more 2008-11-11 03:49:53 -05:00