Re: [PATCH V2 3/5] ib-diags/saquery: Fix smkey handling

2012-04-26 Thread Hal Rosenstock
On 4/25/2012 7:24 PM, Jim Foraker wrote: > > On Wed, 2012-04-25 at 05:57 -0700, Hal Rosenstock wrote: >> On 4/24/2012 7:42 PM, Jim Foraker wrote: >>> >>> On Tue, 2012-04-24 at 07:17 -0700, Hal Rosenstock wrote: On 4/23/2012 8:56 PM, Jim Foraker wrote: > smkey is already defined as a globa

Re: ibstat does not recognize iWARP RNIC adapters

2012-04-26 Thread Hal Rosenstock
On 4/25/2012 8:38 PM, Troy Leedberg wrote: > I noticed that doing ibstat, none of the iWARP RNIC adapters were showing up. > Once upon a time, this used to work: commit c864f5d6f1886510f69d1756843c1754fd3a42b4 Author: Hal Rosenstock Date: Fri May 19 12:40:35 2006 + r7350: Change to

Re: ibstat does not recognize iWARP RNIC adapters

2012-04-26 Thread Steve Wise
On 04/26/2012 01:31 AM, Hefty, Sean wrote: I noticed that doing ibstat, none of the iWARP RNIC adapters were showing up. I have attached a patch to address the issue (libibumad.patch). SYS_NODE_TYPE for iWARP RNIC is 4 and is_ib_type only checked to 3. I don't think libibumad should support RN

RE: ibstat does not recognize iWARP RNIC adapters

2012-04-26 Thread Hefty, Sean
> Users seem to expect ibstat to show all rdma devices... They why not change ibstat to use ibverbs or have it gather its data directly? What other functionality does umad provide for RNICs? -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to maj

Re: ibstat does not recognize iWARP RNIC adapters

2012-04-26 Thread Steve Wise
On 04/26/2012 09:12 AM, Hefty, Sean wrote: Users seem to expect ibstat to show all rdma devices... They why not change ibstat to use ibverbs or have it gather its data directly? Could do. What is the difference between ibstat and ibv_devinfo anyway? Seems like they are redundant. What ot

Re: ibstat does not recognize iWARP RNIC adapters

2012-04-26 Thread Hal Rosenstock
On 4/26/2012 10:15 AM, Steve Wise wrote: > On 04/26/2012 09:12 AM, Hefty, Sean wrote: >>> Users seem to expect ibstat to show all rdma devices... >> They why not change ibstat to use ibverbs or have it gather its data >> directly? > > Could do. > > What is the difference between ibstat and ibv_de

Re: ibstat does not recognize iWARP RNIC adapters

2012-04-26 Thread Hal Rosenstock
On 4/26/2012 10:40 AM, Hal Rosenstock wrote: > On 4/26/2012 10:15 AM, Steve Wise wrote: >> On 04/26/2012 09:12 AM, Hefty, Sean wrote: Users seem to expect ibstat to show all rdma devices... >>> They why not change ibstat to use ibverbs or have it gather its data >>> directly? >> >> Could do. >

Re: ibstat does not recognize iWARP RNIC adapters

2012-04-26 Thread Steve Wise
On 04/26/2012 10:32 AM, Hal Rosenstock wrote: On 4/26/2012 10:40 AM, Hal Rosenstock wrote: On 4/26/2012 10:15 AM, Steve Wise wrote: On 04/26/2012 09:12 AM, Hefty, Sean wrote: Users seem to expect ibstat to show all rdma devices... They why not change ibstat to use ibverbs or have it gather i

[GIT PULL] please pull infiniband.git

2012-04-26 Thread Roland Dreier
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git tags/ib-fixes A few fixes for regressions introduced in 3.4-rc1: - fix memory leak in mlx4 - fix two problems with new MAD respo

[PATCH] infiniband-diags/src/ibccquery.c: Fix CACongestionSetting inputs

2012-04-26 Thread Albert Chu
Make inputs to CACongestionSetting more like MAD packet, allowing multiple SLs to be configured at one time. Signed-off-by: Albert Chu --- man/ibccconfig.8 |4 +- src/ibccconfig.c | 61 - 2 files changed, 30 insertions(+), 35 deletions(-)

RE: ibstat does not recognize iWARP RNIC adapters

2012-04-26 Thread Hefty, Sean
> Hal/Sean, I defer to you on whether you think we should add this change to > ibstat. If you all recommend against it, > we'll advise customers to use ibv_devinfo, which is included with libibverbs > and is required for iwarp user apps. But > it seems a minimal change to add, and previously it d

Re: [PATCH V2 3/5] ib-diags/saquery: Fix smkey handling

2012-04-26 Thread Jim Foraker
On Thu, 2012-04-26 at 05:04 -0700, Hal Rosenstock wrote: > On 4/25/2012 7:24 PM, Jim Foraker wrote: > > > > On Wed, 2012-04-25 at 05:57 -0700, Hal Rosenstock wrote: > >> On 4/24/2012 7:42 PM, Jim Foraker wrote: > >>> > >>> On Tue, 2012-04-24 at 07:17 -0700, Hal Rosenstock wrote: > On 4/23/20

Re: ibstat does not recognize iWARP RNIC adapters

2012-04-26 Thread Ira Weiny
On Thu, 26 Apr 2012 08:47:21 -0400 Hal Rosenstock wrote: > On 4/25/2012 8:38 PM, Troy Leedberg wrote: > > I noticed that doing ibstat, none of the iWARP RNIC adapters were showing > > up. > > Once upon a time, this used to work: > > commit c864f5d6f1886510f69d1756843c1754fd3a42b4 > Author: H

Re: How to use IB netlink infrastructure

2012-04-26 Thread Daniel Ng
Hefty, Sean writes: >> What is the actual entry point in the IB kernel code >> that results in a call to get_user_pages()? > > I believe the memory registration calls will result in this being called. >Look for ib_uverbs_reg_mr. Thanks for your helpful suggestions Sean. I've noticed this arti