diff options
author | Arthur Kepner <akepner@sgi.com> | 2006-10-17 16:22:59 -0700 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2006-11-03 17:33:47 -0800 |
commit | ebd9eb32ff883be3401baa7b231749930f3306cc (patch) | |
tree | 5a63c60d808ec55a18eaff19e2cea0ec784b87d0 /fs | |
parent | fd4c742d7c4932e37fc56914c4586327816df12e (diff) |
[PATCH] IB/mthca: Use mmiowb after doorbell ring
We discovered a problem when running IPoIB applications on multiple
CPUs on an Altix system. Many messages such as:
ib_mthca 0002:01:00.0: SQ 000014 full (19941644 head, 19941707 tail, 64 max, 0 nreq)
appear in syslog, and the driver wedges up.
Apparently this is because writes to the doorbells from different CPUs
reach the device out of order. The following patch adds mmiowb() calls
after doorbell rings to ensure the doorbell writes are ordered.
Signed-off-by: Arthur Kepner <akepner@sgi.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions