Re: [ewg] [PATCH] IB/qib: fix qib backport to RHEL 5.5

2010-04-27 Thread Vladimir Sokolovsky
Ralph Campbell wrote:
 Vlad,
 
 Please pull the fix for OFED bug 2041.
 
 git://git.openfabrics.org/~ralphc/linux-2.6/.git ofed_kernel_1_5
 
 commit e59e4bc5fe76a5a8d9bdfa9407746d5227873bd9
 Author: Ralph Campbell (QLogic) ral...@lists.openfabrics.org
 Date:   Mon Apr 26 10:58:37 2010 -0700
 
 IB/qib: fix qib backport to RHEL 5.5
 
 Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com
 
 

Done,

Regards,
Vladimir
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


Re: [ewg] [GIT PULL] RDMA/nes: updates for OFED 1.5.2

2010-04-27 Thread Vladimir Sokolovsky
Tung, Chien Tin wrote:
 Vlad,
 
 Please pull from:
 
   git://sofa.openfabrics.org/~ctung/ofed-1.5.git ofed_kernel_1_5
 
 Chien Tung (2):
   RDMA/nes: disable dynamic interrupt moderation by default
   RDMA/nes: correct cap.max_inline_data assignment in nes_query_qp
 
  kernel_patches/fixes/nes_0031_no_dyn_int_mod.patch |   16 +++
  .../fixes/nes_0032_max_inline_data.patch   |   21 
 
  2 files changed, 37 insertions(+), 0 deletions(-)
  create mode 100644 kernel_patches/fixes/nes_0031_no_dyn_int_mod.patch
  create mode 100644 kernel_patches/fixes/nes_0032_max_inline_data.patch
 
 
 Also please include a new daily libnes library in the build:
 
 http://www.openfabrics.org/downloads/nes/libnes-1.0.1-0.1.g89ea0ee.tar.gz
 
 Thanks,
 
 Chien
 
 --
 Chien Tung | chien.tin.t...@intel.com
 
 

Done,

Regards,
Vladimir
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] ofa_1_5_kernel 20100427-0200 daily build status

2010-04-27 Thread Vladimir Sokolovsky (Mellanox)
This email was generated automatically, please do not reply


git_url: git://git.openfabrics.org/ofed_1_5/linux-2.6.git
git_branch: ofed_kernel_1_5

Common build parameters: 

Passed:
Passed on i686 with linux-2.6.21.1
Passed on i686 with linux-2.6.19
Passed on i686 with linux-2.6.18
Passed on i686 with linux-2.6.26
Passed on i686 with linux-2.6.24
Passed on i686 with linux-2.6.22
Passed on i686 with linux-2.6.27
Passed on x86_64 with linux-2.6.16.60-0.54.5-smp
Passed on x86_64 with linux-2.6.16.60-0.21-smp
Passed on x86_64 with linux-2.6.18
Passed on x86_64 with linux-2.6.18-128.el5
Passed on x86_64 with linux-2.6.18-186.el5
Passed on x86_64 with linux-2.6.18-164.el5
Passed on x86_64 with linux-2.6.18-93.el5
Passed on x86_64 with linux-2.6.19
Passed on x86_64 with linux-2.6.20
Passed on x86_64 with linux-2.6.21.1
Passed on x86_64 with linux-2.6.24
Passed on x86_64 with linux-2.6.22
Passed on x86_64 with linux-2.6.25
Passed on x86_64 with linux-2.6.26
Passed on x86_64 with linux-2.6.27
Passed on x86_64 with linux-2.6.27.19-5-smp
Passed on x86_64 with linux-2.6.9-67.ELsmp
Passed on x86_64 with linux-2.6.9-89.ELsmp
Passed on x86_64 with linux-2.6.9-78.ELsmp
Passed on ia64 with linux-2.6.18
Passed on ia64 with linux-2.6.21.1
Passed on ia64 with linux-2.6.19
Passed on ia64 with linux-2.6.22
Passed on ia64 with linux-2.6.24
Passed on ia64 with linux-2.6.23
Passed on ia64 with linux-2.6.25
Passed on ia64 with linux-2.6.26
Passed on ppc64 with linux-2.6.18
Passed on ppc64 with linux-2.6.19

Failed:
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] libibnetdisc: Add grouping for Voltaire's ISR4700 switch

2010-04-27 Thread sebastien dugue

  The ISR4700 features 3 kind of boards:

  - sLB-4018 line board with a single 36 port asic
  - sFB-4700 fabric board with a single 36 port asic
  - sFB-4700X2 double density fabric board with 2 36 port asics

  The double density fabric board (sFB-4700X2) features external 12X
connectors that are only an aggregation of 3 4X ports, therefore
ext_portnum is set to match the number printed on the faceplate.

Signed-off-by: Sebastien Dugue sebastien.du...@bull.net

diff --git a/infiniband-diags/libibnetdisc/include/infiniband/ibnetdisc.h 
b/infiniband-diags/libibnetdisc/include/infiniband/ibnetdisc.h
index 136282c..2735224 100644
--- a/infiniband-diags/libibnetdisc/include/infiniband/ibnetdisc.h
+++ b/infiniband-diags/libibnetdisc/include/infiniband/ibnetdisc.h
@@ -121,7 +121,7 @@ typedef struct ibnd_chassis {
ibnd_node_t *nodes;
 
/* specific to voltaire type nodes */
-#define SPINES_MAX_NUM 12
+#define SPINES_MAX_NUM 18
 #define LINES_MAX_NUM 36
ibnd_node_t *spinenode[SPINES_MAX_NUM + 1];
ibnd_node_t *linenode[LINES_MAX_NUM + 1];
diff --git a/infiniband-diags/libibnetdisc/src/chassis.c 
b/infiniband-diags/libibnetdisc/src/chassis.c
index 80e034b..cd2113f 100644
--- a/infiniband-diags/libibnetdisc/src/chassis.c
+++ b/infiniband-diags/libibnetdisc/src/chassis.c
@@ -49,8 +49,8 @@
 #include internal.h
 #include chassis.h
 
-static char *ChassisTypeStr[5] =
-{ , ISR9288, ISR9096, ISR2012, ISR2004 };
+static char *ChassisTypeStr[6] =
+{ , ISR9288, ISR9096, ISR2012, ISR2004, ISR4700 };
 static char *ChassisSlotTypeStr[4] = { , Line, Spine, SRBD };
 
 typedef struct chassis_scan {
@@ -71,7 +71,7 @@ char *ibnd_get_chassis_type(ibnd_node_t * node)
return NULL;
if (!node-chassis)
return NULL;
-   if (node-ch_type == UNRESOLVED_CT || node-ch_type  ISR2004_CT)
+   if (node-ch_type == UNRESOLVED_CT || node-ch_type  ISR4700_CT)
return NULL;
return ChassisTypeStr[node-ch_type];
 }
@@ -273,10 +273,23 @@ static int is_spine_2012(ibnd_node_t * n)
return (devid == VTR_DEVID_SFB2012);
 }
 
+static int is_spine_4700(ibnd_node_t * n)
+{
+   uint32_t devid = mad_get_field(n-info, 0, IB_NODE_DEVID_F);
+   return (devid == VTR_DEVID_SFB4700);
+}
+
+static int is_spine_4700x2(ibnd_node_t * n)
+{
+   uint32_t devid = mad_get_field(n-info, 0, IB_NODE_DEVID_F);
+   return (devid == VTR_DEVID_SFB4700X2);
+}
+
 static int is_spine(ibnd_node_t * n)
 {
return (is_spine_9096(n) || is_spine_9288(n) ||
-   is_spine_2004(n) || is_spine_2012(n));
+   is_spine_2004(n) || is_spine_2012(n) ||
+   is_spine_4700(n) || is_spine_4700x2(n));
 }
 
 static int is_line_24(ibnd_node_t * n)
@@ -298,9 +311,16 @@ static int is_line_2024(ibnd_node_t * n)
return (devid == VTR_DEVID_SLB2024);
 }
 
+static int is_line_4700(ibnd_node_t * n)
+{
+   uint32_t devid = mad_get_field(n-info, 0, IB_NODE_DEVID_F);
+   return (devid == VTR_DEVID_SLB4018);
+}
+
 static int is_line(ibnd_node_t * n)
 {
-   return (is_line_24(n) || is_line_8(n) || is_line_2024(n));
+   return (is_line_24(n) || is_line_8(n) ||
+   is_line_2024(n) || is_line_4700(n));
 }
 
 int is_chassis_switch(ibnd_node_t * n)
@@ -309,52 +329,100 @@ int is_chassis_switch(ibnd_node_t * n)
 }
 
 /* these structs help find Line (Anafa) slot number while using spine portnum 
*/
-char line_slot_2_sfb4[25] = {
-   0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4,
-   4
+char line_slot_2_sfb4[37] = {
+   0,
+   1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3,
+   4, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+};
+char anafa_line_slot_2_sfb4[37] = {
+   0,
+   1, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2,
+   1, 1, 1, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
 };
 
-char anafa_line_slot_2_sfb4[25] = {
-   0, 1, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2,
-   2
+char line_slot_2_sfb12[37] = {
+   0,
+   1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,
+   10, 10, 11, 11, 12, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+};
+char anafa_line_slot_2_sfb12[37] = {
+   0,
+   1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2,
+   1, 2, 1, 2, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
 };
 
-char line_slot_2_sfb12[25] = {
-   0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11,
-   12, 12
+/* LB slot = table[spine port] */
+char line_slot_2_sfb18[37] = {
+   0,
+   1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,
+   10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18};
+/* LB asic num = table[spine port] */
+char anafa_line_slot_2_sfb18[37] = {
+   0,
+   1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+   1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
 };
 
-char 

[ewg] New Perftest available.

2010-04-27 Thread Ido Shamai

can be taken from  
http://www.openfabrics.org/downloads/perftest/perftest-1.2.4-0.14.g5cad459.tar.gz
 


or cloned from git://git.openfabrics.org/~shamoya/perftest.git

Regards
Ido
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] RoCE supplement to IB Spec

2010-04-27 Thread Pradeep Satyanarayana
Is it the intent that the RoCE implementation in OFED-1.5.1 corresponds to the 
RoCE supplement to the IB spec dated April 6th 2010,
excepting bugs of course? Or are there known deviations from the spec?

Pradeep

___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg