IB/mthca: Give reserved MTTs a separate cache line
authorMichael S. Tsirkin <mst@mellanox.co.il>
Sat, 10 Feb 2007 21:17:26 +0000 (23:17 +0200)
committerRoland Dreier <rolandd@cisco.com>
Tue, 13 Feb 2007 00:16:29 +0000 (16:16 -0800)
commit1d1f19cfce7687b557cebdc41bf8a5eeba8a9882
tree3e9aa12df4777242a7607dd580d0c36945b8f634
parentc7d204e8fdf02f88d91707213f473805bcfb977b
IB/mthca: Give reserved MTTs a separate cache line

MTTs are allocated in non-cache-coherent memory, so we must give
reserved MTTs their own cache line, to prevent both device and
CPU from writing into the same cache line at the same time.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_main.c