]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[MTHCA] Fix reserved MTTs calculation on mem-free HCAs (mlnx 2958)
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 26 Aug 2008 11:51:37 +0000 (11:51 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 26 Aug 2008 11:51:37 +0000 (11:51 +0000)
commitebf7ca896ddabc2a9259b4b947f66fb4c3cb36f2
tree098021b6c113f73596be2c6b32ad0cd42300bcf8
parent8473644a2ac7602c389c1f86a9cb849c6b3a59f4
[MTHCA] Fix reserved MTTs calculation on mem-free HCAs (mlnx 2958)
(Linux, 13/02/07, Michael S. Tsirkin, commit: c7d204e8fdf02f88d91707213f473805bcfb977b)

The reserved_mtts field has different meaning in Tavor and Arbel, so
we are wasting mtt entries on memfree. Fix the Arbel case to match
Tavor semantics.

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