]> err.no Git - linux-2.6/commitdiff
mlx4_core: Increase max number of QPs per multicast group to 56
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Tue, 2 Oct 2007 07:40:13 +0000 (09:40 +0200)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 02:59:16 +0000 (19:59 -0700)
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>
drivers/net/mlx4/mlx4.h

index 2bad045b25cf3fe74c54d002749073891d705c0d..53a1cdddfc13b1e4a40a37abfa630b60a942301f 100644 (file)
@@ -56,7 +56,7 @@ enum {
 };
 
 enum {
-       MLX4_MGM_ENTRY_SIZE     =  0x40,
+       MLX4_MGM_ENTRY_SIZE     =  0x100,
        MLX4_QP_PER_MGM         = 4 * (MLX4_MGM_ENTRY_SIZE / 16 - 2),
        MLX4_MTT_ENTRY_PER_SEG  = 8
 };