[ewg] Plan for OFED-1.3.1?

2008-04-07 Thread Stefan Roscher
Hi,

is there any schedule for the OFED-1.3.1 release? When should we start to send 
some minor bugfixes for ehca? Would the kernel-base be the same 2.6.24
or will it change to 2.6.25?

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


[ewg] [PATCH] IB/ehca: extend query_device() and query_port() to support all values for ibv_devinfo

2008-04-07 Thread Stefan Roscher
Also, introduce a few inline helper functions to make the code more readable.

Signed-off-by: Stefan Roscher [EMAIL PROTECTED]
---
 drivers/infiniband/hw/ehca/ehca_hca.c |  128 
 1 files changed, 80 insertions(+), 48 deletions(-)

diff --git a/drivers/infiniband/hw/ehca/ehca_hca.c 
b/drivers/infiniband/hw/ehca/ehca_hca.c
index 8832123..f89c5f8 100644
--- a/drivers/infiniband/hw/ehca/ehca_hca.c
+++ b/drivers/infiniband/hw/ehca/ehca_hca.c
@@ -43,6 +43,11 @@
 #include ehca_iverbs.h
 #include hcp_if.h
 
+static inline unsigned int limit_uint(unsigned int value)
+{
+   return min_t(unsigned int, value, INT_MAX);
+}
+
 int ehca_query_device(struct ib_device *ibdev, struct ib_device_attr *props)
 {
int i, ret = 0;
@@ -83,37 +88,40 @@ int ehca_query_device(struct ib_device *ibdev, struct 
ib_device_attr *props)
props-vendor_id   = rblock-vendor_id  8;
props-vendor_part_id  = rblock-vendor_part_id  16;
props-hw_ver  = rblock-hw_ver;
-   props-max_qp  = min_t(unsigned, rblock-max_qp, INT_MAX);
-   props-max_qp_wr   = min_t(unsigned, rblock-max_wqes_wq, INT_MAX);
-   props-max_sge = min_t(unsigned, rblock-max_sge, INT_MAX);
-   props-max_sge_rd  = min_t(unsigned, rblock-max_sge_rd, INT_MAX);
-   props-max_cq  = min_t(unsigned, rblock-max_cq, INT_MAX);
-   props-max_cqe = min_t(unsigned, rblock-max_cqe, INT_MAX);
-   props-max_mr  = min_t(unsigned, rblock-max_mr, INT_MAX);
-   props-max_mw  = min_t(unsigned, rblock-max_mw, INT_MAX);
-   props-max_pd  = min_t(unsigned, rblock-max_pd, INT_MAX);
-   props-max_ah  = min_t(unsigned, rblock-max_ah, INT_MAX);
-   props-max_fmr = min_t(unsigned, rblock-max_mr, INT_MAX);
+   props-max_qp  = limit_uint(rblock-max_qp);
+   props-max_qp_wr   = limit_uint(rblock-max_wqes_wq);
+   props-max_sge = limit_uint(rblock-max_sge);
+   props-max_sge_rd  = limit_uint(rblock-max_sge_rd);
+   props-max_cq  = limit_uint(rblock-max_cq);
+   props-max_cqe = limit_uint(rblock-max_cqe);
+   props-max_mr  = limit_uint(rblock-max_mr);
+   props-max_mw  = limit_uint(rblock-max_mw);
+   props-max_pd  = limit_uint(rblock-max_pd);
+   props-max_ah  = limit_uint(rblock-max_ah);
+   props-max_ee  = limit_uint(rblock-max_rd_ee_context);
+   props-max_rdd = limit_uint(rblock-max_rd_domain);
+   props-max_fmr = limit_uint(rblock-max_mr);
+   props-local_ca_ack_delay  = limit_uint(rblock-local_ca_ack_delay);
+   props-max_qp_rd_atom  = limit_uint(rblock-max_rr_qp);
+   props-max_ee_rd_atom  = limit_uint(rblock-max_rr_ee_context);
+   props-max_res_rd_atom = limit_uint(rblock-max_rr_hca);
+   props-max_qp_init_rd_atom = limit_uint(rblock-max_act_wqs_qp);
+   props-max_ee_init_rd_atom = limit_uint(rblock-max_act_wqs_ee_context);
 
if (EHCA_BMASK_GET(HCA_CAP_SRQ, shca-hca_cap)) {
-   props-max_srq = props-max_qp;
-   props-max_srq_wr  = props-max_qp_wr;
+   props-max_srq = limit_uint(props-max_qp);
+   props-max_srq_wr  = limit_uint(props-max_qp_wr);
props-max_srq_sge = 3;
}
 
-   props-max_pkeys   = 16;
-   props-local_ca_ack_delay
-   = rblock-local_ca_ack_delay;
-   props-max_raw_ipv6_qp
-   = min_t(unsigned, rblock-max_raw_ipv6_qp, INT_MAX);
-   props-max_raw_ethy_qp
-   = min_t(unsigned, rblock-max_raw_ethy_qp, INT_MAX);
-   props-max_mcast_grp
-   = min_t(unsigned, rblock-max_mcast_grp, INT_MAX);
-   props-max_mcast_qp_attach
-   = min_t(unsigned, rblock-max_mcast_qp_attach, INT_MAX);
+   props-max_pkeys   = 16;
+   props-local_ca_ack_delay  = limit_uint(rblock-local_ca_ack_delay);
+   props-max_raw_ipv6_qp = limit_uint(rblock-max_raw_ipv6_qp);
+   props-max_raw_ethy_qp = limit_uint(rblock-max_raw_ethy_qp);
+   props-max_mcast_grp   = limit_uint(rblock-max_mcast_grp);
+   props-max_mcast_qp_attach = limit_uint(rblock-max_mcast_qp_attach);
props-max_total_mcast_qp_attach
-   = min_t(unsigned, rblock-max_total_mcast_qp_attach, INT_MAX);
+   = limit_uint(rblock-max_total_mcast_qp_attach);
 
/* translate device capabilities */
props-device_cap_flags = IB_DEVICE_SYS_IMAGE_GUID |
@@ -128,6 +136,46 @@ query_device1:
return ret;
 }
 
+static inline int map_mtu(struct ehca_shca *shca, u32 fw_mtu)
+{
+   switch (fw_mtu) {
+   case 0x1:
+   return IB_MTU_256;
+   case 0x2:
+   return IB_MTU_512;
+   case 0x3:
+   return IB_MTU_1024;
+   case 0x4:
+   return IB_MTU_2048;
+   case 0x5:
+  

[ewg] ofed_kernel git tree for OFED-1.4 (based on 2.6.25-rc7)

2008-04-07 Thread Vladimir Sokolovsky

Hi Steve,
I prepared ofed_kernel git tree: 
git://git.openfabrics.org/ofed_1_4/linux-2.6.git branch ofed_kernel.
This tree merged with 2.6.25-rc7.
Currently ofed_scripts/ofed_makedist.sh fails on 
cxgb3_0040_Add_EEH_support.patch:

/usr/bin/quilt --quiltrc 
/tmp/build-ofed_kernel-g19281/ofed_kernel-2.6.11/patches/quiltrc push 
patches/cxgb3_0040_Add_EEH_support.patch
Applying patch cxgb3_0040_Add_EEH_support.patch
patching file drivers/net/cxgb3/cxgb3_main.c
Hunk #1 succeeded at 2498 with fuzz 2 (offset 182 lines).
Hunk #2 FAILED at 2904.
1 out of 2 hunks FAILED -- rejects in file drivers/net/cxgb3/cxgb3_main.c
Patch cxgb3_0040_Add_EEH_support.patch does not apply (enforce with -f)

Should this patch be removed from the git tree?

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


[ewg] Re: ofed_kernel git tree for OFED-1.4 (based on 2.6.25-rc7)

2008-04-07 Thread Steve Wise

Vladimir Sokolovsky wrote:

Hi Steve,
I prepared ofed_kernel git tree: 
git://git.openfabrics.org/ofed_1_4/linux-2.6.git branch ofed_kernel.

This tree merged with 2.6.25-rc7.
Currently ofed_scripts/ofed_makedist.sh fails on 
cxgb3_0040_Add_EEH_support.patch:


/usr/bin/quilt --quiltrc 
/tmp/build-ofed_kernel-g19281/ofed_kernel-2.6.11/patches/quiltrc push 
patches/cxgb3_0040_Add_EEH_support.patch

Applying patch cxgb3_0040_Add_EEH_support.patch
patching file drivers/net/cxgb3/cxgb3_main.c
Hunk #1 succeeded at 2498 with fuzz 2 (offset 182 lines).
Hunk #2 FAILED at 2904.
1 out of 2 hunks FAILED -- rejects in file drivers/net/cxgb3/cxgb3_main.c
Patch cxgb3_0040_Add_EEH_support.patch does not apply (enforce with -f)

Should this patch be removed from the git tree?

Regards,
Vladimir


Yes.  In fact:

All of the cxgb_* patches can be removed except:

cxgb3_00300_add_ofed_version_tag.patch

And all of the iw_cxgb_* patches can be removed.


Steve.


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


[ewg] Re: Plan for OFED-1.3.1?

2008-04-07 Thread Tziporet Koren

Stefan Roscher wrote:

Hi,

is there any schedule for the OFED-1.3.1 release? 

Schedule is May 29 (I will present it as part of OFED 1.3 session today)
When should we start to send some minor bugfixes for ehca? 

You can start now

Would the kernel-base be the same 2.6.24 or will it change to 2.6.25?
  

Kernel base will not changed

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


[ewg] Updated Open MPI for OFED v1.3.1

2008-04-07 Thread Jeff Squyres
Open MPI released v1.2.6 today; I updated the SRPM in  
staging.openfabrics.org:~jsquyres/ofed_1_3 and the associated  
latest.txt.



Begin forwarded message:

From: Tim Mattox [EMAIL PROTECTED]
Date: April 7, 2008 9:42:31 AM PDT
To: [EMAIL PROTECTED], Open MPI Users [EMAIL PROTECTED]
Subject: [Open MPI Announce] Open MPI v1.2.6 released
Reply-To: [EMAIL PROTECTED]

The Open MPI Team, representing a consortium of research, academic,
and industry partners, is pleased to announce the release of Open MPI
version 1.2.6. This release is mainly a bug fix release over the  
v1.2.5

release, but there are few new features.  We strongly recommend
that all users upgrade to version 1.2.6 if possible.

Version 1.2.6 can be downloaded from the main Open MPI web site or
any of its mirrors (mirrors will be updating shortly).

Here is a list of changes in v1.2.6 as compared to v1.2.5:

- Fix a bug in the inter-allgather for asymmetric inter-communicators.
 Thanks to Martin Audet fro the bug report. See ticket #1247.
- Fix a bug in the openib BTL when setting the CQ depth.  Thanks
 to Jon Mason for the bug report and fix.  See ticket #1245.
- On Mac OS X Leopard, the execinfo component will be used for
 backtraces, making for a more durable solution.  See ticket #1246.
- Added vendor IDs for some QLogic DDR openib HCAs. See ticket #1227.
- Updated the URL to get the latest config.guess and config.sub files.
 Thanks to Ralf Wildenhues for the bug report. See ticket #1226.
- Added shared contexts support to PSM MTL.  See ticket #1225.
- Added pml_ob1_use_early_completion MCA parameter to allow users
 to turn off the OB1 early completion semantic and avoid stall
 problems seen on InfiniBand in some cases.  See ticket #1224.
- Sanitized some #define macros used in mpi.h to avoid compiler  
warnings

 caused by MPI programs built with different autoconf versions.
 Thanks to Ben Allan for reporting the problem, and thanks to
 Brian Barrett for the fix. See ticket #1220.
- Some man page fixes from the Debian maintainers. See ticket #1219.
- Made the openib BTL a bit more resilient in the face of driver
 errors.  See ticket #1217.
- Fixed F90 interface for MPI_CART_CREATE.  See ticket #1208.
 Thanks to Michal Charemza for reporting the problem.
- Fixed some C++ compiler warnings. See ticket #1203.
- Fixed formatting of the orterun man page.  See ticket #1202.
 Thanks to Peter Breitenlohner for the patch.

--
Tim Mattox
Open Systems Lab
Indiana University
___
announce mailing list
[EMAIL PROTECTED]
http://www.open-mpi.org/mailman/listinfo.cgi/announce



--
Jeff Squyres
Cisco Systems

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