commit | 9fd7a1e147bd41fb999a58da8a8826b9f3415384 | [log] [tgz] |
---|---|---|
author | Marcel Apfelbaum <marcela@dev.mellanox.co.il> | Thu Jan 19 09:45:31 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 22 15:08:44 2012 -0500 |
tree | 657babf7c45990ec73afa6c6aba6986a79da1286 | |
parent | eb41049f2f5eee1525fe1c699e6b1f03c8c51532 [diff] |
mlx4_core: Fix mtt profile issue Num mtts from profile is really the number of mtt segments. Thus, in make profile, to get the proper number of MTT entries, must multiply num_mtts by mtts per segment. Signed-off-by: Marcel Apfelbaum <marcela@dev.mellanox.co.il> Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>