]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[MTHCA] Give reserved MTTs a separate cache line (mlnx: 2959)
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 26 Aug 2008 11:53:05 +0000 (11:53 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 26 Aug 2008 11:53:05 +0000 (11:53 +0000)
commitd89c37b400e60d335b0a20bbff1b6649efacf7d6
tree3248b2f63e6bedb6e0ae5dde4edcd4517b314c46
parentebf7ca896ddabc2a9259b4b947f66fb4c3cb36f2
[MTHCA] Give reserved MTTs a separate cache line (mlnx: 2959)
(Linux, 13/02/07, Michael S. Tsirkin, commit: 1d1f19cfce7687b557cebdc41bf8a5eeba8a9882)

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.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1509 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/hw/mthca/kernel/mthca_main.c