[PATCH] IB/mthca: map MPT/MTT context in mem-free mode
authorRoland Dreier <roland@topspin.com>
Sat, 16 Apr 2005 22:26:13 +0000 (15:26 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:26:13 +0000 (15:26 -0700)
commit86562a139182bb19c984347f9625b61f3e6f7815
tree97984c9e04c31a5d2055e4bcac16bb11c923eca1
parent79b61dceafce696d72661d23a02393566b1899ab
[PATCH] IB/mthca: map MPT/MTT context in mem-free mode

In mem-free mode, when allocating memory regions, make sure that the HCA has
context memory mapped to cover the virtual space used for the MPT and MTTs
being used.

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/hw/mthca/mthca_main.c
drivers/infiniband/hw/mthca/mthca_memfree.c
drivers/infiniband/hw/mthca/mthca_memfree.h
drivers/infiniband/hw/mthca/mthca_mr.c