]> 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)
commite81c0a059c080753527bfb52a4dc3ba711c48145
tree8b8821052b558e310ee443abed5f6a341109eb3c
parentf33e67f4769766420b63c32616cef6b1c215a926
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