[ofa-general] [PATCH] mlx4: increase permissible number of QPs per multicast group to 56

Roland Dreier rdreier at cisco.com
Fri Oct 5 16:12:24 PDT 2007


Thanks, I just applied Jack's patch and also this:

commit adeeb48f21a36693fed11b318bce132571ed3679
Author: Roland Dreier <rolandd at cisco.com>
Date:   Fri Oct 5 16:03:44 2007 -0700

    IB/mthca: 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.
    
    This is basically the same patch that Jack Morgenstein
    <jackm at dev.mellanox.co.il> just supplied for mlx4.
    
    Signed-off-by: Roland Dreier <rolandd at cisco.com>

diff --git a/drivers/infiniband/hw/mthca/mthca_dev.h b/drivers/infiniband/hw/mthca/mthca_dev.h
index 9bae3cc..15aa32e 100644
--- a/drivers/infiniband/hw/mthca/mthca_dev.h
+++ b/drivers/infiniband/hw/mthca/mthca_dev.h
@@ -83,7 +83,7 @@ enum {
 	MTHCA_QP_CONTEXT_SIZE = 0x200,
 	MTHCA_RDB_ENTRY_SIZE  =  0x20,
 	MTHCA_AV_SIZE         =  0x20,
-	MTHCA_MGM_ENTRY_SIZE  =  0x40,
+	MTHCA_MGM_ENTRY_SIZE  = 0x100,
 
 	/* Arbel FW gives us these, but we need them for Tavor */
 	MTHCA_MPT_ENTRY_SIZE  =  0x40,



More information about the general mailing list