mlx4_en: Fix QP number calculation according to module param
authorAlexander Guller <alexg@mellanox.com>
Sun, 9 Oct 2011 05:29:26 +0000 (05:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Oct 2011 03:42:57 +0000 (23:42 -0400)
commit999bb4b3831abd6ad53023a0b8e5d304875927dd
tree8b8821052b558e310ee443abed5f6a341109eb3c
parent7398af403f621418fa05c6936cac34aa06b5a758
mlx4_en: Fix QP number calculation according to module param

Number of bits taken from mac table index in QP
calculation should be based on log_num_mac parameter.

Signed-off-by: Alexander Guller <alexg@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_port.c