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

Previous thread: [ofa-general] nightly osm_sim report 2007-10-02:normal completion by kliteyn on Tuesday, October 2, 2007 - 1:15 am. (1 message)

Next thread: [ofa-general] {{ttiksy by JERMAINE Guerard on Tuesday, October 2, 2007 - 5:33 am. (1 message)
To: Roland Dreier <rdreier@...>
Cc: <general@...>
Date: Tuesday, October 2, 2007 - 3:40 am

Increase QPs per multicast group to 56 (needed to support 16-core nodes).

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>

Index: connectx_kernel/drivers/net/mlx4/mlx4.h
===================================================================
--- connectx_kernel.orig/drivers/net/mlx4/mlx4.h 2007-07-08 16:31:10.000000000 +0300
+++ connectx_kernel/drivers/net/mlx4/mlx4.h 2007-07-08 16:31:47.000000000 +0300
@@ -59,7 +59,7 @@
};

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
};
_______________________________________________
general mailing list
general@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

To: Jack Morgenstein <jackm@...>
Cc: <general@...>
Date: Tuesday, October 2, 2007 - 1:53 pm

Do we want a similar change for mthca?

- R.
_______________________________________________
general mailing list
general@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

To: Roland Dreier <rdreier@...>
Cc: <general@...>
Date: Wednesday, October 3, 2007 - 4:42 am

Yes

Tziporet
_______________________________________________
general mailing list
general@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

To: <tziporet@...>
Cc: <general@...>
Date: Friday, October 5, 2007 - 7:12 pm

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

commit adeeb48f21a36693fed11b318bce132571ed3679
Author: Roland Dreier <rolandd@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@dev.mellanox.co.il> just supplied for mlx4.

Signed-off-by: Roland Dreier <rolandd@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,
_______________________________________________
general mailing list
general@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Previous thread: [ofa-general] nightly osm_sim report 2007-10-02:normal completion by kliteyn on Tuesday, October 2, 2007 - 1:15 am. (1 message)

Next thread: [ofa-general] {{ttiksy by JERMAINE Guerard on Tuesday, October 2, 2007 - 5:33 am. (1 message)