]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[MTHCA] erge MR and FMR space on 64-bit systems (mlnx: 2960)
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 26 Aug 2008 11:53:56 +0000 (11:53 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 26 Aug 2008 11:53:56 +0000 (11:53 +0000)
commit05964a1161c426e4408e02c2031b0a6678798525
tree9319be109a76eb755fba235c9cc023b67aa517f2
parentd89c37b400e60d335b0a20bbff1b6649efacf7d6
[MTHCA] erge MR and FMR space on 64-bit systems (mlnx: 2960)
(Linux, 13/02/07, Michael S. Tsirkin, commit: c20e20ab0f3af9a44842ea11287c9ecd034a5d33)

For Tavor, we currently reserve separate MPT and MTT space for FMRs to
avoid abusing the vmalloc space on 32 bit kernels. No such problem
exists on 64 bit kernels so let's not do it there.

This way we have a shared pool for MR and FMR resources, used on
demand.  This will also make it possible to write MTTs for regular
regions directly from driver.

git-svn-id: svn://openib.tc.cornell.edu/gen1@1510 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/hw/mthca/kernel/mt_memory.h
trunk/hw/mthca/kernel/mthca_cmd.c
trunk/hw/mthca/kernel/mthca_mr.c
trunk/hw/mthca/kernel/mthca_profile.c