diff options
author | Marcel Apfelbaum <marcela@dev.mellanox.co.il> | 2012-01-19 09:45:31 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-22 20:08:44 (GMT) |
commit | 9fd7a1e147bd41fb999a58da8a8826b9f3415384 (patch) | |
tree | 657babf7c45990ec73afa6c6aba6986a79da1286 /lib/locking-selftest.c | |
parent | eb41049f2f5eee1525fe1c699e6b1f03c8c51532 (diff) | |
download | linux-fsl-qoriq-9fd7a1e147bd41fb999a58da8a8826b9f3415384.tar.xz |
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>
Diffstat (limited to 'lib/locking-selftest.c')
0 files changed, 0 insertions, 0 deletions