Re: [ofw] ib-diags: compatability issue with ibstat

2011-09-25 Thread Ira Weiny
On Fri, 23 Sep 2011 10:15:04 -0700 "Hefty, Sean" wrote: > > 1. Remove ibstat and use ibv_devinfo instead > > 2. Change ibstat to obtain the fdr10 information using ibverbs > > 3. Move the is_fdr10 functionality into OS specific files or code > > sections of ibstat > > 4. Change ib

[patch] infiniband: cleanup a min_t() cast in set_node_desc()

2011-09-25 Thread Dan Carpenter
This is just a cleanup. The "count" variable here is type size_t so casting it to int in min_t() truncates the higher values. Of course, this is sysfs so count is capped at a PAGE_SIZE but static checkers don't know that. Signed-off-by: Dan Carpenter diff --git a/drivers/infiniband/core/sysfs.

[PATCH 2/3] RDMA/nes: Print ip address for critcal errors

2011-09-25 Thread Faisal Latif
Prints the IP address of the remote host when critical asynchronous event is received. Signed-off-by: Tatyana Nikolova Signed-off-by: Faisal Latif --- drivers/infiniband/hw/nes/nes_hw.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/hw/nes/

[PATCH 1/3] RDMA/nes: Fix terminate connection

2011-09-25 Thread Faisal Latif
Fixes a crash that occurs during close when error async event is received. Terminate message is not sent to the remote node if already processing close. Signed-off-by: Tatyana Nikolova Signed-off-by: Faisal Latif --- drivers/infiniband/hw/nes/nes_hw.c | 18 ++ 1 files changed,

[PATCH 3/4] amso1100/iw_cxgb3: Minimal MPAv2 support

2011-09-25 Thread Kumar Sanghvi
As part of MPAv2 Enhanced RDMA Negotiation, pass max supported ird/ord values upwards for the time-being in iw-cxgb3 and amso1100. Signed-off-by: Kumar Sanghvi --- drivers/infiniband/hw/amso1100/c2_ae.c |5 + drivers/infiniband/hw/amso1100/c2_intr.c |5 + drivers/infiniband/hw/

[PATCH 2/4] iw_cxgb4: Add support for MPA V2 Enhanced RDMA Negotiation

2011-09-25 Thread Kumar Sanghvi
The patch adds support for Enhanced RDMA Connection Establishment (draft-ietf-storm-mpa-peer-connect-06). Details of draft can be obtained from: http://www.ietf.org/id/draft-ietf-storm-mpa-peer-connect-06.txt The patch updates the following functions for initiator perspective: -send_mpa_request -p

[PATCH 1/4] iw_cm: Propagate ird/ord values upwards

2011-09-25 Thread Kumar Sanghvi
Updates iw_cm_event to support propagating the ird/or values upwards to the application Signed-off-by: Kumar Sanghvi --- drivers/infiniband/core/cma.c |8 ++-- include/rdma/iw_cm.h |2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/core/

[PATCH 0/4] iWARP MPAv2 Support

2011-09-25 Thread Kumar Sanghvi
This series adds support for MPA V2 Enhanced RDMA Negotiation protocol. Details about the protocol are available at below IETF Draft: http://www.ietf.org/id/draft-ietf-storm-mpa-peer-connect-06.txt To brief on MPA V2: 1) It allows two communicating endpoints to negotiate the IRD/ORD values to b

Re: creating common ib_types.h for linux and windows

2011-09-25 Thread Alex Netes
On 15:49 Wed 21 Sep , Hefty, Sean wrote: > > What is your end goal? To have one code base for OpenSM that would be able > > to > > be compiled on both Linux and Windows based on __WIN__ definition? > > My end goal is to decrease the maintenance cost porting opensm to Windows. > Ideally, I'd

Re: [PATCH] opensm/osmtest/osmt_multicast.c: Fix an unrealistic rate case

2011-09-25 Thread Alex Netes
Hi Hal, On 14:22 Thu 22 Sep , Hal Rosenstock wrote: > > 56 Gbps is really faster than 60 Gbps due to the link encoding difference > so use 56 Gbps rather than 60 Gbps here > > 300 Gbps rather than 120 Gbps is now the max rate > > Signed-off-by: Hal Rosenstock > --- Applied, thanks. -- To