[ewg] [GIT PULL] ~sashak/management.git

2008-01-03 Thread Sasha Khapyorsky
Hi Vlad,

Please pull recent ofed_1_3 branch of ~sashak/management.git.

The changes are:

Sasha Khapyorsky (5):
  opensm: Revert "opensm/osm_pkey_mgr.c: setting only outbound partition 
enforcement on switch"
  opensm: mcast mgr improvements
  infiniband-diags/dump_lfts.sh: adopt DR Path parser
  infiniband-diags/dump_lfts.sh: fix switch DR Path parser
  management: bump versions

Yevgeny Kliteynik (2):
  opensm/osm_pkey_mgr.c: setting only outbound partition enforcement on 
switch
  opensm: osm_state_mgr.c - stop idle queue processing if heavy sweep 
requested

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


[ewg] [ANNOUNCE] management tarballs release

2008-01-03 Thread Sasha Khapyorsky
Hi,

There is a new release of the management (OpenSM and infiniband
diagnostics) tarballs available in:

http://www.openfabrics.org/downloads/management/

md5sum:

df15dde16ee5b28c25affa2dedaa3d0f  libibcommon-1.0.7.tar.gz
124f9f5c3e0c28afb86bb8bbe4a60ecd  libibumad-1.1.6.tar.gz
047a6d9f834d7012185e5a28f0f6141f  libibmad-1.1.5.tar.gz
53675686246f0cf92853358483f2d0f3  opensm-3.1.8.tar.gz
892dab82b783a4ff2063a438aa93418f  infiniband-diags-1.3.5.tar.gz

Complete list of changes since last release is below:

Sasha


Al Chu (6):
  osm cache file extra info patch
  OpenSM: Fix error return corner case
  OpenSM: Fix comment typo.
  OpenSM: osm routing engine type
  OpenSM: Fix incorrect reporting of routing engine used
  OpenSM: Fix incorrect identification of routing engine used

Albert L. Chu (2):
  support minhop as a routing engine input
  change 'min-hop' to 'minhop' for consistency with routing engine input

Erez Strauss (1):
  ibnetdiscover - ports report

Hal Rosenstock (3):
  OpenSM/libvendor/osm_vendor_ibumad.c: Make error code in osm_log message 
unique
  libibmad/dump.c: Use bit mask approach to decoding LinkWidth/Speed 
Enabled/Supported
  opensm/libvendor/osm_vendor_ibumad_sa.c: In __osmv_sa_mad_rcv_cb, handle 
attribute offset of 0

Ira Weiny (5):
  opensm/include/opensm/osm_event_plugin.h: fix comment
  opensm/opensm/osm_event_plugin.c: clean up version check error message a 
bit
  opensm/opensm/osm_event_plugin.c: remove duplicate header include
  opensm/opensm/osm_perfmgr_db.c: fix clearing previous count when "out of 
band"
  opensm: Add "perfmgr print_counters node" to the console to print 
individual values

Rolf Manderscheid (1):
  opensm: allow multiple scopes in a partition

Sasha Khapyorsky (50):
  opensm: move vendor specific header files to include/vendor
  opensm: remove unused flag
  opensm: move IBA constants from osm_sa_mcmember_record.h to ib_types.h
  opensm: move OpenSM constants from osm_sa_mcmember-record.h to osm_base.h
  opensm: cosmetic fixes
  opensm: make osm_pkey_get_tables static
  opensm: remove testability_mode option
  libibumad: fix memory leak
  infiniband-diags/saquery: add get_any_records() function
  infinibad-diags/saquery: move lid resolving functions
  infiniband-diags/saquery: LinkRecord query support
  infiniband-diags/saquery: allow empty src and/or dst with --src-to-dst 
option
  infiniband-diags/man: add -x option to saquery man page
  opensm: fix lmc_mask bit order in osm_sa_link_record.c
  opensm: don't break name_map using when routing_engine was not found.
  opensm: remove unused osm_port_lid_category_t enum
  opensm: minor cleaning
  opensm/lash: fix wrong allocation size
  opensm/lash: cosmetic
  opensm/osm_ucast_updn.c: indentation fixes
  opensm/libvendor: indentation fixes
  infiniband-diags/ibcheckerrors: for CAs query only single ports
  opensm/config/osmvsel.m4: update LDADD variable, not LDFLAGS
  infiniband-diags/ibcheckerrors: fix port errors count
  infiniband-diags/scripts: fix perfquery usage
  opensm: don't zero base LID when invalid value is received
  opensm: remove old style code formatters
  opensm/Makefile: remove opensm_CXXFLAGS
  opensm: recover only for base LID values >= 0xc000
  opensm/osm_port_info_rcv: node instead of port as parameter for 
osm_pi_rcv_process_set()
  opensm/osm_node_new: move p_node->print_desc setup
  libibmad: initialize sm portid in ib_resolve_smlid()
  libibcommon: fix overflow in debug/log prints
  opensm: rename __osm_epi_plugin_t to osm_event_plugin_t
  opensm/osm_event_plugin.h: add names to structures
  opensm: remove useless osm_node_get_remote_type()
  opensm: indentation fixes
  manangement: kill __WORDSIZE macro checks
  complib: make __cl_thread_wrapper() static
  opensm: make some functions static
  opensm/osm_helper: make some functions static
  opensm: make some functions statics
  opensm: some micro-optimizations
  opensm/updn: report fallback properly
  opensm/updn: rename __osm_subn_calc_up_down_min_hop_table()
  opensm: Revert "opensm/osm_pkey_mgr.c: setting only outbound partition 
enforcement on switch"
  opensm: mcast mgr improvements
  infiniband-diags/dump_lfts.sh: adopt DR Path parser
  infiniband-diags/dump_lfts.sh: fix switch DR Path parser
  management: bump versions

Yevgeny Kliteynik (10):
  opensm: Remove unnecessary ntoh and hton conversions in LinkRecord 
processing
  opensm: adding missing comparison by to_lid/from_lid in LinkRecord 
processing
  opensm: Fixing broken logic in 'process world' part of LinkRecord 
processing
  opensm: printing to stderr note about error in QoS policy file
  opensm: trivial change of log message
  opensm: fixing coredump in QoS policy pkey validation

Re: [ewg] [PATCH] ofed_1_3/ofed_scripts: Add vendor script pre/post hooks for OFED install/uninstall

2008-01-03 Thread Moni Shoua
Moni Shoua wrote:
> Vendors that distribute OFED sometimes need to add vendor specific
> actions to the install and/or the uninstall process. This patch adds this 
> capability of adding scripts that would be executed before and after OFED 
> install and uninstall. Names of the scripts are given in the configuration
> file for the install.pl script.
> 
Hi Vlad,

I'd like to get your opinion please regarding this patch.
Do you consider applying it?

thanks
  MoniS

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


RE: [ewg] [PATCH] libnes: Fix subpackage name

2008-01-03 Thread Glenn Grundstrom
Applied.

Thanks,
Glenn. 

> 
> Change libnes-devel to libnes-devel-static to be consistent with
> %files section.
> 
> Signed-off-by: Vladimir Sokolovsky <[EMAIL PROTECTED]>
> ---
> diff --git a/libnes.spec.in b/libnes.spec.in
> index b72ed6f..543d396 100644
> --- a/libnes.spec.in
> +++ b/libnes.spec.in
> @@ -1,5 +1,5 @@
>  Name: libnes
> -Version: 0.5
> +Version: @VERSION@
>  Release: 0.%{?dist}
>  Summary: NetEffect RNIC Userspace Library
> 
> @@ -15,12 +15,12 @@ BuildRequires: libibverbs-devel
>  libnes provides a device-specific userspace driver for 
> NetEffect RNICs
>  for use with the libibverbs library.
> 
> -%package devel
> +%package devel-static
>  Summary: Development files for the libnes driver
>  Group: System Environment/Libraries
>  Requires: %{name} = %{version}-%{release}
> 
> -%description devel
> +%description devel-static
>  Static version of libnes that may be linked directly to an
>  application, which may be useful for debugging.
 
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg


[ewg] [PATCH] IB/core - ib_wr_opcode change to add IB_WR_LSO breaks ib_ipath

2008-01-03 Thread Ralph Campbell
Vlad, please pull from git.openfabrics.org/~ralphc/linux-2.6.git in
the ofed_kernel_2_6_24_rc1 branch. This is an up-to-date clone
of git://git.openfabrics.org/ofed_1_3/linux-2.6.git with the
following change:


The ib_ipath driver depends on /usr/include/infiniband/verbs.h
enum ibv_wr_opcode matching the kernel's ib_verbs.h
enum ib_wr_opcode. The recent change to add IB_WR_LSO breaks this.

Now, you may argue that the kernel should not depend on this equivalence
but you would then need to define IBV_WR_RDMA_WRITE, etc. in some
kernel header file and do a table look up to map from user to
kernel opcode values. Since I don't see any other code which depends
on the value of IB_WR_LSO, I think the following patch is the right
fix.

Signed-off-by: Ralph Campbell <[EMAIL PROTECTED]>

diff --git a/kernel_patches/fixes/core_0030_lso.patch 
b/kernel_patches/fixes/core_0030_lso.patch
index 3f6af37..94a91b4 100644
--- a/kernel_patches/fixes/core_0030_lso.patch
+++ b/kernel_patches/fixes/core_0030_lso.patch
@@ -27,14 +27,16 @@ Index: ofed_kernel/include/rdma/ib_verbs.h
  /*
   * Set value of IB_WC_RECV so consumers can test if a completion is a
   * receive by testing (opcode & IB_WC_RECV).
-@@ -609,6 +611,7 @@ enum ib_wr_opcode {
-   IB_WR_RDMA_WRITE,
-   IB_WR_RDMA_WRITE_WITH_IMM,
-   IB_WR_SEND,
-+  IB_WR_LSO,
+@@ -612,7 +614,8 @@ enum ib_wr_opcode {
IB_WR_SEND_WITH_IMM,
IB_WR_RDMA_READ,
IB_WR_ATOMIC_CMP_AND_SWP,
+-  IB_WR_ATOMIC_FETCH_AND_ADD
++  IB_WR_ATOMIC_FETCH_AND_ADD,
++  IB_WR_LSO
+ };
+ 
+ enum ib_send_flags {
 @@ -621,7 +624,8 @@ enum ib_send_flags {
IB_SEND_SOLICITED   = (1<<2),
IB_SEND_INLINE  = (1<<3),
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Re: [ewg] Changes to support new Qlogic HCA

2008-01-03 Thread Roland Dreier
 > Here is the URL for the Q Logic changes to support the new HCA that
 > Betsy Zeller has discussed with Tziporet. I spoke with Betsy about it
 > and she asked that I send this to you for you to review and work with.
 > 
 > There are a few compiler warnings and we are working to eliminate them,
 > but figured getting this to you for review sooner rather than later was
 > the correct approach.

FYI, in case you care, if you don't post any patches for the kernel
soon to the general list, you will miss the merge window for 2.6.25
and end up waiting for 2.6.26.

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


[ewg] [PATCH] IB/sdp - Fix NULL pointer oops when calling put_page()

2008-01-03 Thread Ralph Campbell
put_page() does not check for NULL pointers so SDP should check this
before calling it.

Note that this probably has spaces instead of tabs but I'm using
a web email interface and I'm not sure how to preserve tabs.
I assume the current SDP owner will apply this.

Signed-off-by: Ralph Campbell <[EMAIL PROTECTED]>

diff --git a/drivers/infiniband/ulp/sdp/sdp_main.c b/drivers/infiniband/ulp/sdp/
sdp_main.c
index 809f7b8..35c4dd3 100644
--- a/drivers/infiniband/ulp/sdp/sdp_main.c
+++ b/drivers/infiniband/ulp/sdp/sdp_main.c
@@ -1212,7 +1212,8 @@ static inline struct bzcopy_state *sdp_bz_cleanup(struct b
zcopy_state *bz)
 
if (bz->pages) {
for (i = bz->cur_page; i < bz->page_cnt; i++)
-   put_page(bz->pages[i]);
+   if (bz->pages[i])
+   put_page(bz->pages[i]);
 
kfree(bz->pages);
}
___
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

[ewg] Changes to support new Qlogic HCA

2008-01-03 Thread Denny Koch
Vladimir,

Good day (morning, evening, ...)

Here is the URL for the Q Logic changes to support the new HCA that
Betsy Zeller has discussed with Tziporet. I spoke with Betsy about it
and she asked that I send this to you for you to review and work with.

There are a few compiler warnings and we are working to eliminate them,
but figured getting this to you for review sooner rather than later was
the correct approach.

You can pull it from the repo at: 
git://git.qlogic.com/ipath-ofed_1_3 for-vlad  

For any process questions feel free to contact me, Denny Koch at:
Denny dot Koch at Qlogic dot com
or Betsy at: 
Betsy dot Zeller at Qlogic dot com 

For technical questions, please contact John Gregor at:
John dot Gregor at Qlogic dot com

Regards,

Denny
---
Denny Koch
QLogic Corporation
2071 Stierlin Court, Suite 200
Mountain View, CA, 94043
Phone: 650-934-8117
Fax: 650-428-1969


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


[ewg] [GIT PULL ofed-1.2.5 / ofed-1.3] - libcxgb3-1.1.2 release

2008-01-03 Thread Steve Wise

Vlad,

Please pull version 1.1.2 of libcxgb3 for ofed-1.2.5 and ofed-1.3.  This 
release fixes a segfault that can happen when running rdma apps over 
chelsio's device on 32b platforms and distros (bug 680).


Pull from:

git://git.openfabrics.org/~swise/libcxgb3 ofed_1_2_5

and

git://git.openfabrics.org/~swise/libcxgb3 ofed_1_3


Thanks,

Steve.

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