From: Roland Dreier Date: Wed, 10 Oct 2007 02:59:16 +0000 (-0700) Subject: mlx4_core: Fix meaning of dev->caps.reserved_mtts X-Git-Tag: v2.6.24-rc1~1453^2~36 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=121964ec38d3e17b5ea6183b3c0571df2f4b0eb6;p=pandora-kernel.git mlx4_core: Fix meaning of dev->caps.reserved_mtts Everything that uses caps.reserved_mtts expects it to be a count of MTT segments, not MTT entries. So convert the value that the FW gives us to a count of segments. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed