]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a8c4746d254feea5ff96a44b84f7123ff1edb1b
tree8b8821052b558e310ee443abed5f6a341109eb3c
parentf1bfb40885dbf78158fdf2f5faed5e0d204eba54
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