linux-next: build warning after merge of the final tree

2010-05-25 Thread Stephen Rothwell
Hi Roland, After merging the final tree, today's linux-next build (powerpc allyesconfig) produced this warning: drivers/infiniband/hw/qib/qib_fs.c: In function 'portcntrs_2_read': drivers/infiniband/hw/qib/qib_fs.c:203: warning: 'counters' is used uninitialized in this function drivers/infiniban

Re: [PATCH 10/27] drivers/infiniband/core: Use memdup_user

2010-05-25 Thread Roland Dreier
thanks, applied. -- Roland Dreier || For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at htt

Re: [PATCH] IB/qib: fix undefined symbol error when CONFIG_PCI_MSI undefined

2010-05-25 Thread Roland Dreier
thanks, applied. -- Roland Dreier || For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at htt

Re: [PATCH] mlx4_en: show device's port used

2010-05-25 Thread Roland Dreier
> I don't think there are many devices out there which have more than > one port. ?? http://developer.intel.com/network/connectivity/solutions/gigabit.htm http://www.broadcom.com/products/Ethernet-Controllers/Enterprise-Server/BCM5704C etc > So this will require changing all the drivers to p

[PATCH] libibnetdisc: move ibmad_port out of smp_engine

2010-05-25 Thread Ira Weiny
From: Ira Weiny Date: Tue, 25 May 2010 13:32:18 -0700 Subject: [PATCH] libibnetdisc: move ibmad_port out of smp_engine Signed-off-by: Ira Weiny --- infiniband-diags/libibnetdisc/src/ibnetdisc.c | 15 ++- infiniband-diags/libibnetdisc/src/internal.h |2 +- infiniband-diags/l

[PATCH] ofa_kernel madeye.c

2010-05-25 Thread Mike Heinz
This is a simple fix. Several of the snoop filters in ./drivers/infiniband/util/madeye.c don't switch the attribute id to host byte order before checking it. Signed-off-by: Michael Heinz diff --git a/drivers/infiniband/util/madeye.c b/drivers/infiniband/util/madeye.c index 0cda06c..2c650a3 100

RE: [ANNOUNCE] librdmacm 1.0.12

2010-05-25 Thread Hefty, Sean
> Hi Sean, below is a tiny patch which will help direct users to the > correct mailing list Thanks - I'll get this applied, so it will be there for the next release. - Sean -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.o

Re: [PATCH] opensm - cleanup

2010-05-25 Thread Sasha Khapyorsky
On 20:58 Mon 24 May , Stan C. Smith wrote: > > Cleanup __WIN__ clauses by using predefined macros. > > signed-off-by: stan smith Applied. Thanks. Sasha -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majord

Re: [PATCH] opensm/libvendor Reduce stack consumption

2010-05-25 Thread Sasha Khapyorsky
On 08:32 Tue 25 May , Stan C. Smith wrote: > > Resend, as I realized the mangled email problem; sorry about the extra work. This patch still be whitespace mangled... :( Finally fixed this using: sed -e 's/^\([ +-]\) /\1\t/' -e 's//\t/g' > > stan. > > Reduce stack consumptio

[PATCH] IB/qib: fix undefined symbol error when CONFIG_PCI_MSI undefined

2010-05-25 Thread Ralph Campbell
This patch fixes a compile error saying qib_init_iba6120_funcs() is undefined when CONFIG_PCI_MSI is not defined. Thanks to Randy Dunlap for finding this and suggesting the fix. Signed-off-by: Ralph Campbell --- drivers/infiniband/hw/qib/qib_iba6120.c | 12 drivers/infiniband/hw

Re: [PATCH] opensm - address windows env issues

2010-05-25 Thread Sasha Khapyorsky
On 09:03 Tue 25 May , Stan C. Smith wrote: > > Add a Windows version of truncate_log_file(). > Use the Windows flavor of vsprintf(). > > Would you prefer items of this nature as two separate patches? That is fine so. > thanks, > > stan. > > Signed-off-by: stan smith Applied. Thanks. >

Re: [PATCH] infiniband-diags/libibnetdisc/ibnetdisc.c: Fix compile warns on 32 bit archs

2010-05-25 Thread Sasha Khapyorsky
On 15:45 Mon 24 May , Hal Rosenstock wrote: > > src/ibnetdisc.c: In function `query_port_info': > src/ibnetdisc.c:216: warning: long unsigned int format, different type arg > (arg 5) > src/ibnetdisc.c: In function `recv_node_info': > src/ibnetdisc.c:311: warning: long unsigned int format, dif

Re: [PATCH] opensm/osm_sa_multipath_record.c: livelock in mpr_rcv_get_path_parms

2010-05-25 Thread Sasha Khapyorsky
On 15:43 Mon 24 May , Hal Rosenstock wrote: > > Similar to commit 1010c9c5014d5a6af2db33e27ae7156f239e7254 for > opensm/osm_sa_path_record.c:pr_rcv_get_path_parms > > Signed-off-by: Hal Rosenstock Applied. Thanks. Sasha -- To unsubscribe from this list: send the line "unsubscribe linux-rdm

Re: [PATCH] opensm/osm_sa_path_record.c: Add error code to newly added log message

2010-05-25 Thread Sasha Khapyorsky
On 15:42 Mon 24 May , Hal Rosenstock wrote: > > added in commit 1010c9c5014d5a6af2db33e27ae7156f239e7254 > > Signed-off-by: Hal Rosenstock Applied. Thanks. Sasha -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org M

Re: [PATCH/RFC] opensm: toggle sweeping V3

2010-05-25 Thread Sasha Khapyorsky
On 09:53 Tue 25 May , Arthur Kepner wrote: > > Add option to toggle sweeping from opensm console. > > Signed-off-by: Arthur Kepner Applied. Thanks. Sasha -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majo

[PATCH] infiniband-diags/vendstat: allow multiple config space records

2010-05-25 Thread Sasha Khapyorsky
Allow to use -R and -W options (config space record access) multiple number of times, so that multiple config space records will be reading and/or writing. Using both -R and -W is allowed as well. Example: vendstat -R 0x12345,0x -R 0x12346 -W 0x12347,0,0xfff Note that now number of record

Re: [PATCH] ibnetdisc: Separate calls to umad and mad layer to avoid race condition on response MAD's

2010-05-25 Thread Ira Weiny
On Sat, 22 May 2010 07:40:10 -0700 Sasha Khapyorsky wrote: > On 16:48 Tue 11 May , Ira Weiny wrote: > > > > From: Ira Weiny > > Date: Tue, 11 May 2010 15:36:08 -0700 > > Subject: [PATCH] ibnetdisc: Separate calls to umad and mad layer to avoid > > race condition on response MAD's > > > >

Re: [PATCH] mlx4_en: show device's port used

2010-05-25 Thread Eli Cohen
On Tue, May 25, 2010 at 09:55:47AM -0700, Roland Dreier wrote: > > How do other multi-port ethernet devices handle this? I don't think there are many devices out there which have more than one port. > Seems that the > cleanest way to handle this would be to add a place for drivers to set > the p

Re: linux-next: Tree for May 25 (infiniband/hw/qib)

2010-05-25 Thread Randy Dunlap
Stephen Rothwell wrote: > Hi all, > > We are in the merge window again. I remind you all not to add stuff for > 2.6.36 to your linux-next trees until after 2.6.35-rc1. > > Changes since 20100524: when CONFIG_PCI_MSI is not enabled: ERROR: "qib_init_iba6120_funcs" [drivers/infiniband/hw/qib/ib

Re: [PATCH] mlx4_en: show device's port used

2010-05-25 Thread Stephen Hemminger
On Tue, 25 May 2010 09:55:47 -0700 Roland Dreier wrote: > > Add a sysfs file under /sys/class/net/ to show the port number > within the > > device that this network interface is using. This is needed as ConnectX > devices > > have two ports and it is useful to know which port the ethernet de

[PATCH] opensm - address windows env issues

2010-05-25 Thread Stan C. Smith
Add a Windows version of truncate_log_file(). Use the Windows flavor of vsprintf(). Would you prefer items of this nature as two separate patches? thanks, stan. Signed-off-by: stan smith --- a/opensm/osm_log.c 2010-05-22 05:49:24.0 -0700 +++ b/opensm/osm_log.c 2010-05-24 11:40:07.8

[GIT PULL] please pull infiniband.git

2010-05-25 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus The biggest thing here is the rather huge new qib dr

Re: [PATCH] mlx4_en: show device's port used

2010-05-25 Thread Roland Dreier
> Add a sysfs file under /sys/class/net/ to show the port number within > the > device that this network interface is using. This is needed as ConnectX > devices > have two ports and it is useful to know which port the ethernet devices uses. How do other multi-port ethernet devices handle t

Re: [PATCH] RDMA/nes: fix incorrect unlock in nes_process_mac_intr

2010-05-25 Thread Roland Dreier
applied, thanks for the quick response! -- Roland Dreier || For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More

[PATCH/RFC] opensm: toggle sweeping V3

2010-05-25 Thread Arthur Kepner
Add option to toggle sweeping from opensm console. Signed-off-by: Arthur Kepner --- include/opensm/osm_subnet.h |6 ++ opensm/osm_console.c| 32 opensm/osm_state_mgr.c |8 +++- opensm/osm_subnet.c |1 + 4 files chang

Re: [PATCH/RFC] opensm: toggle sweeping V2

2010-05-25 Thread Arthur Kepner
On Tue, May 25, 2010 at 06:14:02PM +0300, Sasha Khapyorsky wrote: > > So could you remove this part from the patch? The rest seems fine for > me. > Sure. Will send an updated version now. -- Arthur -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a m

Re: [PATCH v4 11/11] IB/qib: Add qib_verbs.h

2010-05-25 Thread Ralph Campbell
On Mon, 2010-05-24 at 21:22 -0700, Roland Dreier wrote: > OK, I merged all the qib-related stuff up and put it in my for-next > branch. I expect ot send it to Linus soon. Thank you very much! -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to ma

Re: [PATCH] opensm/qos.c: Revert port ranges for calls to sl2vl_update_table().

2010-05-25 Thread Hal Rosenstock
Hi again Jim, On Mon, May 24, 2010 at 5:42 PM, Jim Schutt wrote: > Hi Hal, > > On Mon, 2010-05-24 at 12:03 -0600, Hal Rosenstock wrote: >> Hi Jim, >> >> On Fri, May 21, 2010 at 4:29 PM, Jim Schutt wrote: >> > >> > Sorry, I somehow got this wrong. >> > >> > Corrected patch below. >> > >> > -- Jim

[PATCH] opensm/libvendor Reduce stack consumption

2010-05-25 Thread Stan C. Smith
Resend, as I realized the mangled email problem; sorry about the extra work. stan. Reduce stack consumption by using a union of structs instead of individual struct allocations. Code borrowed from osm_vendor_ibumad_sa.c signed-off-by: stan smith diff --git a/opensm/libvendor/osm_vendor_mlx_s

RE: [PATCH] use macro for tmp file path

2010-05-25 Thread Smith, Stan
Sasha Khapyorsky wrote: > On 09:51 Fri 21 May , Smith, Stan wrote: >> >> Use defined macro for tmp file path >> >> signed-off-by: stan smith >> > > The patch is whitespece-mangled. > >> diff --git a/opensm/opensm/st.c b/opensm/opensm/st.c >> index ea76038..2d39117 100644 >> --- a/opensm/opensm

RE: [PATCH] opensm/complib use portable macro syntax

2010-05-25 Thread Smith, Stan
Sasha Khapyorsky wrote: > Hi Stan, > > On 09:45 Fri 21 May , Smith, Stan wrote: >> >> Use portable macro argument syntax. >> >> signed-of-by: stan smith > > Signed-off-by: oops. > >> > > The patch below is malformed - whitespaces are mangled (please check > your mailer). > >

[PATCH] RDMA/nes: fix incorrect unlock in nes_process_mac_intr

2010-05-25 Thread Chien Tung
commit ce6e74f2 introduced a problem where unlock took place only within an if statement. sparse warning: drivers/infiniband/hw/nes/nes_hw.c:2643:9: warning: context imbalance in 'nes_process_mac_intr' - different lock contexts for basic block Reported-by: Roland Dreier Signed-off-by: Chien Tu

Re: [PATCH/RFC] opensm: toggle sweeping V2

2010-05-25 Thread Sasha Khapyorsky
On 14:18 Mon 24 May , Arthur Kepner wrote: > > > . > > > /* do a sweep if we received a trap */ > > > if (sm->p_subn->opt.sweep_on_trap) { > > > > > - /* if this is trap number 128 or run_heavy_sweep is TRUE - > > > -update the force_heavy_sweep flag of the subnet.

[PATCH] mlx4_en: show device's port used

2010-05-25 Thread Eli Cohen
Add a sysfs file under /sys/class/net/ to show the port number within the device that this network interface is using. This is needed as ConnectX devices have two ports and it is useful to know which port the ethernet devices uses. Signed-off-by: Eli Cohen --- drivers/net/mlx4/en_netdev.c | 16

Re: [ANNOUNCE] librdmacm 1.0.12

2010-05-25 Thread Andrea Gozzelino
On May 22, 2010 01:06 AM, Sean Hefty wrote: > I've pushed out release 1.0.12 of librdmacm. This incorporates several > new APIs > that should make connecting and transferring data over RDMA devices > simpler for > user applications, plus adds support for user space path record > caching. > > New

Re: [PATCH] opensm/libvendor Reduce stack consumption

2010-05-25 Thread Sasha Khapyorsky
On 10:37 Fri 21 May , Smith, Stan wrote: > > Reduce stack consumption by using a union of structs instead of individual > struct allocations. > Code borrowed from osm_vendor_ibumad_sa.c > > signed-off-by: stan smith This patch is malformed too. And unlike others it has more lines to mistyp

Re: [PATCH] ib_types.h add debug assert

2010-05-25 Thread Sasha Khapyorsky
On 10:49 Fri 21 May , Smith, Stan wrote: > > Add a debug assert to catch incorrect MAD attr offset size. > This proved to be useful in catching incorrect struct sizes as MAD attrs need > to be a multiple of 8 bytes. Could you clarify where was it useful and where such errors were seen? > >

Re: [PATCH] osmtest - use helper function

2010-05-25 Thread Sasha Khapyorsky
On 10:23 Fri 21 May , Smith, Stan wrote: > > Use defined inline helper function instead of actual implementation. > Separate implementation from use. > > signed-off-by: stan smith Applied by hands (the patch is broken too). Thanks. Sasha > > diff --git a/opensm/osmtest/osmtest.c b/opensm

Re: [PATCH] use macro for tmp file path

2010-05-25 Thread Sasha Khapyorsky
On 09:51 Fri 21 May , Smith, Stan wrote: > > Use defined macro for tmp file path > > signed-off-by: stan smith > The patch is whitespece-mangled. > diff --git a/opensm/opensm/st.c b/opensm/opensm/st.c > index ea76038..2d39117 100644 > --- a/opensm/opensm/st.c > +++ b/opensm/opensm/st.c >

Re: [PATCH] opensm/complib use portable macro syntax

2010-05-25 Thread Sasha Khapyorsky
Hi Stan, On 09:45 Fri 21 May , Smith, Stan wrote: > > Use portable macro argument syntax. > > signed-of-by: stan smith Signed-off-by: > The patch below is malformed - whitespaces are mangled (please check your mailer). Applied by hands. Thanks. Sasha > diff --git a/op

Re: sdp and port 0

2010-05-25 Thread Amir Vadai
Stijn, If I am not mistaken It should work on 1.5.1. I tested it here on latest 1.5.2 and it works. - Amir On 05/25/2010 12:44 PM, Stijn De Weirdt wrote: > hello amir, > > >> Listening to port 0 is supported and should work. >> Which OFED version do you use (issue ofed_info to know)? >> >>

Re: sdp and port 0

2010-05-25 Thread Stijn De Weirdt
hello amir, > Listening to port 0 is supported and should work. > Which OFED version do you use (issue ofed_info to know)? > OFED 1.5.1 on rhel5.3 clone. (so libsdp 1.1.100-0.1.g920ea31). i tried to compile the ost recent version of libsdp, but i couldn't build it separately, and i haen't tried a

Re: sdp and port 0

2010-05-25 Thread Stijn De Weirdt
hi andrea, > I would like to integrate Amir's information about an old discussion. > In April I have tested SDP with Neteffect cards with OFED 1.5.1 and OFED > 1.5.2 without success. I have open two bug on Bugzilla (number 2027 and > 2028 --> LINK:https://bugs.openfabrics.org/). > The first is clo

Re: sdp and port 0

2010-05-25 Thread Andrea Gozzelino
Hi all, Hi Stijn, I would like to integrate Amir's information about an old discussion. In April I have tested SDP with Neteffect cards with OFED 1.5.1 and OFED 1.5.2 without success. I have open two bug on Bugzilla (number 2027 and 2028 --> LINK:https://bugs.openfabrics.org/). The first is closed

Re: sdp and port 0

2010-05-25 Thread Amir Vadai
Stijn Hi, Listening to port 0 is supported and should work. Which OFED version do you use (issue ofed_info to know)? Does it work for you on a simple test application that only listen on a socket? - Amir On 05/18/2010 01:20 PM, Stijn De Weirdt wrote: > hi all, > > (i'm not on the list, please

git.openfabrics.org out of disk space

2010-05-25 Thread Davis, Arlin R
Can someone free up some space? Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda1151873632 144158864 0 100% / varrun 51302880512948 1% /var/run varlock 513028 8513020 1% /var/lock udev

[ANNOUNCE] dapl-2.0.28 and compat-dapl-1.2.17 release

2010-05-25 Thread Davis, Arlin R
New release for uDAPL v2.0 (2.0.28) and v1.2 (1.2.17) available at: http://www.openfabrics.org/downloads/dapl Latest Packages (see ChangeLog for details): md5sum: 3f914d57312110cc795d37c28d03b26c compat-dapl-1.2.17.tar.gz md5sum: d74a5b1817a5413be2603cfd03e944d6 dapl-2.0.28.tar.gz Vlad, ple

Re: [ANNOUNCE] librdmacm 1.0.12

2010-05-25 Thread Or Gerlitz
Sean Hefty wrote: > I've pushed out release 1.0.12 of librdmacm. Hi Sean, below is a tiny patch which will help direct users to the correct mailing list set the mailing list info to be linux-rdma instead of the ofa general list signed-off-by: Or Gerlitz diff --git a/configure.in b/configur