summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx4/cmd.c
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcela@dev.mellanox.co.il>2012-01-19 09:45:31 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-01-22 20:08:44 (GMT)
commit9fd7a1e147bd41fb999a58da8a8826b9f3415384 (patch)
tree657babf7c45990ec73afa6c6aba6986a79da1286 /drivers/net/ethernet/mellanox/mlx4/cmd.c
parenteb41049f2f5eee1525fe1c699e6b1f03c8c51532 (diff)
downloadlinux-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 'drivers/net/ethernet/mellanox/mlx4/cmd.c')
0 files changed, 0 insertions, 0 deletions