aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/mlx4.h
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2007-10-02 03:40:13 -0400
committerRoland Dreier <rolandd@cisco.com>2007-10-09 22:59:16 -0400
commite57ac0c297b9e1074dcb6b6ee5cd1d6407a7df14 (patch)
treee2f16cec73f527e628e687709bba92c082342893 /drivers/net/mlx4/mlx4.h
parent8ad11fb6b0739e704953e2b0aed453bf7d75d4f6 (diff)
mlx4_core: Increase max number of QPs per multicast group to 56
Increase the number of QPs allowed per multicast group from 8 to 56. This allows for one QP per core on 16-core systems, which are now quite common, and allows some space for future growth. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/mlx4/mlx4.h')
-rw-r--r--drivers/net/mlx4/mlx4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx4/mlx4.h b/drivers/net/mlx4/mlx4.h
index 2bad045b25cf..53a1cdddfc13 100644
--- a/drivers/net/mlx4/mlx4.h
+++ b/drivers/net/mlx4/mlx4.h
@@ -56,7 +56,7 @@ enum {
56}; 56};
57 57
58enum { 58enum {
59 MLX4_MGM_ENTRY_SIZE = 0x40, 59 MLX4_MGM_ENTRY_SIZE = 0x100,
60 MLX4_QP_PER_MGM = 4 * (MLX4_MGM_ENTRY_SIZE / 16 - 2), 60 MLX4_QP_PER_MGM = 4 * (MLX4_MGM_ENTRY_SIZE / 16 - 2),
61 MLX4_MTT_ENTRY_PER_SEG = 8 61 MLX4_MTT_ENTRY_PER_SEG = 8
62}; 62};