Re: rdma: 3.1.0-rc9 breaks UD

2011-10-19 Thread Or Gerlitz
On 10/19/2011 1:05 AM, Or Gerlitz wrote: in few hours I will be next to the code... The theory failed, looking on commit 577818b50990853bf112ba2a2c336020dd278622 Update examples for IBoE it doesn't change the default message size for the ud pingpong, so we have to dig deeper, Christoph, can

RDMA_CM over RoCE

2011-10-19 Thread Kelly Burkhart
Hello, I'm having a problem connecting using RDMA_CM over ethernet. I have two machines each with a Mellanox MT26428. The ethernet ports are connected through an arista 10G switch. The IB ports are connected through an IB switch. The test programs rdma_lat or ucmatose run successfully over

[PATCH 00/10] Doorbell drop recovery for T4 iWARP

2011-10-19 Thread Vipul Pandya
This patch-series implements doorbell drop recovery for T4 iWARP driver. In the event where DBs are dropped application can get stalled for one or more reasons. So, we recover RDMA and LLD queues in such an event. We also take care for handling DB overflow events. The patch-series also has some

[PATCH 01/10] cxgb4: Detect DB FULL events and notify RDMA ULD.

2011-10-19 Thread Vipul Pandya
Signed-off-by: Vipul Pandya vi...@chelsio.com Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h |4 + drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 77 +++ drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h |7

[PATCH 02/10] cxgb4: DB Drop Recovery for RDMA and LLD queues.

2011-10-19 Thread Vipul Pandya
- Add platform-specific callback functions for interrupts. This is needed to do a single read-clear of the CAUSE register and then call out to platform specific functions for DB threshold interrupts and DB drop interrupts. - Add t4_mem_win_read_len() - mem-window reads for

[PATCH 03/10] cxgb4: DB Drop Recovery for RDMA and LLD queues.

2011-10-19 Thread Vipul Pandya
- recover LLD EQs for DB drop interrupts. This includes adding a new db_lock, a spin lock disabling BH too, used by the recovery thread and the ring_tx_db() paths to allow db drop recovery. - cleaned up initial db avoidance code. - add read_eq_indices() - allows the LLD to

[PATCH 04/10] RDMA/cxgb4: Add debugfs rdma memory stats

2011-10-19 Thread Vipul Pandya
Signed-off-by: Vipul Pandya vi...@chelsio.com Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/device.c | 78 +++- drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 17 +++ drivers/infiniband/hw/cxgb4/mem.c | 11 -

[PATCH 05/10] RDMA/cxgb4: Add DB Overflow Avoidance.

2011-10-19 Thread Vipul Pandya
- get FULL/EMPTY/DROP events from LLD - on FULL event, disable normal user mode DB rings. - add modify_qp semantics to allow user processes to call into the kernel to ring doobells without overflowing. Add DB Full/Empty/Drop stats. Mark queues

[PATCH 06/10] RDMA/cxgb4: disable interrupts in c4iw_ev_dispatch().

2011-10-19 Thread Vipul Pandya
Use GFP_ATOMIC in _insert_handle() if ints are disabled. Don't panic if we get an abort with no endpoint found. Just log a warning. Signed-off-by: Vipul Pandya vi...@chelsio.com Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/cm.c

[PATCH 07/10] RDMA/cxgb4: DB Drop Recovery for RDMA and LLD queues.

2011-10-19 Thread Vipul Pandya
- add module option db_fc_threshold which is the count of active QPs that trigger automatic db flow control mode. - automatically transition to/from flow control mode when the active qp count crosses db_fc_theshold. - add more db debugfs stats - on DB DROP event from the

[PATCH 08/10] RDMA/cxgb4: Use vmalloc for debugfs qp dump. Allows dumping thousands of qps.

2011-10-19 Thread Vipul Pandya
Log active open failures of interest. Signed-off-by: Vipul Pandya vi...@chelsio.com Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/cm.c | 18 ++ drivers/infiniband/hw/cxgb4/device.c |4 ++-- 2 files changed, 20

[PATCH 09/10] RDMA/cxgb4: remove kfifo usage

2011-10-19 Thread Vipul Pandya
Using kfifos for ID management was limiting the number of QPs and preventing NP384 MPI jobs. So replace it with a simple bitmap allocator. Remove IDs from the IDR tables before deallocating them. This bug was causing the BUG_ON() in insert_handle() to fire

[PATCH 10/10] RDMA/cxgb4: Add query_qp support in driver to query the qp state before flushing.

2011-10-19 Thread Vipul Pandya
Signed-off-by: Vipul Pandya vi...@chelsio.com Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 19 +++ drivers/infiniband/hw/cxgb4/provider.c |2 ++ drivers/infiniband/hw/cxgb4/qp.c | 11 +++ 3 files changed,

Re: [PATCH] ib_srpt: Initial SRP Target merge for v3.2-rc1

2011-10-19 Thread Bart Van Assche
On Fri, Oct 14, 2011 at 3:48 AM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: This patch adds the kernel module ib_srpt SCSI RDMA Protocol (SRP) target implementation conforming to the SRP r16a specification for the mainline drivers/target infrastructure as requested by Christoph for an

Re: ib_srpt status

2011-10-19 Thread Bart Van Assche
On Wed, Oct 19, 2011 at 7:38 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: Btw, Roland asked me to take a look at the current set of module parameters for ib_srpt, and see which could be removed and/or converted to per SPR target endpoint configfs attributes..  So on that note, a few

Re: [PATCH] ib_srpt: Initial SRP Target merge for v3.2-rc1

2011-10-19 Thread Nicholas A. Bellinger
On Wed, 2011-10-19 at 19:56 +0200, Bart Van Assche wrote: On Fri, Oct 14, 2011 at 3:48 AM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: This patch adds the kernel module ib_srpt SCSI RDMA Protocol (SRP) target implementation conforming to the SRP r16a specification for the mainline

Re: ib_srpt status

2011-10-19 Thread Nicholas A. Bellinger
On Wed, 2011-10-19 at 20:09 +0200, Bart Van Assche wrote: On Wed, Oct 19, 2011 at 7:38 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: Btw, Roland asked me to take a look at the current set of module parameters for ib_srpt, and see which could be removed and/or converted to per SPR

Re: [PATCH] ib_srpt: Initial SRP Target merge for v3.2-rc1

2011-10-19 Thread Bart Van Assche
On Wed, Oct 19, 2011 at 8:35 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Wed, 2011-10-19 at 19:56 +0200, Bart Van Assche wrote: Not sure what you mean here.  Can you be more specific..? I'm referring to this code: sprintf(sport-port_guid,

Re: [PATCH] ib_srpt: Initial SRP Target merge for v3.2-rc1

2011-10-19 Thread Nicholas A. Bellinger
On Wed, 2011-10-19 at 20:47 +0200, Bart Van Assche wrote: On Wed, Oct 19, 2011 at 8:35 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Wed, 2011-10-19 at 19:56 +0200, Bart Van Assche wrote: Not sure what you mean here. Can you be more specific..? I'm referring to this code:

Re: [PATCH] ib_srpt: Initial SRP Target merge for v3.2-rc1

2011-10-19 Thread Jason Gunthorpe
On Wed, Oct 19, 2011 at 12:09:01PM -0700, Nicholas A. Bellinger wrote: Are sport-gid.global.interface_id going to be different for each struct srpt_port..? Infiniband GID suffixes (interface_id) are not guaranteed to be unique. The GID is expected to be unique, the portGUID (which is sometimes

[PATCH] IB/qib: cleanup checkpatch issue

2011-10-19 Thread Mike Marciniszyn
This was probably present from initial submission. Signed-off-by: Mike Marciniszyn mike.marcinis...@qlogic.com --- drivers/infiniband/hw/qib/qib_iba7322.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/qib/qib_iba7322.c

Re: [PATCH 07/10] RDMA/cxgb4: DB Drop Recovery for RDMA and LLD queues.

2011-10-19 Thread Roland Dreier
This looks like the only drivers/infiniband patch that depends on the drivers/net changes? - R. -- 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 http://vger.kernel.org/majordomo-info.html

[PATCH] IB/qib: cleanup checkpatch issue

2011-10-19 Thread Mike Marciniszyn
This was probably present from initial submission. Signed-off-by: Mike Marciniszyn mike.marcinis...@qlogic.com --- drivers/infiniband/hw/qib/qib_iba7322.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/qib/qib_iba7322.c

RE: [PATCH] IB/qib: cleanup checkpatch issue

2011-10-19 Thread Mike Marciniszyn
Disregard. This was a duplicate send. Mike -Original Message- From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- ow...@vger.kernel.org] On Behalf Of Mike Marciniszyn Sent: Wednesday, October 19, 2011 6:15 PM To: rol...@purestorage.com Cc: linux-rdma@vger.kernel.org

[PATCH 0/2] serdes interoperabilty fixes

2011-10-19 Thread Mike Marciniszyn
The following series implements serdes fixes for interoperabilty. --- Mitko Haralanov (2): IB/qib: Hold links until tuning data is available IB/qib: Fix issue with link states and QSFP cables drivers/infiniband/hw/qib/qib_iba7322.c | 128 +--

[PATCH 1/2] IB/qib: Hold links until tuning data is available

2011-10-19 Thread Mike Marciniszyn
From: Mitko Haralanov mi...@qlogic.com Hold the link state machine until the tuning data is read from the QSFP EEPROM so correct tuning settings are applied before the state machine attempts to bring the link up. Link is also held on cable unplug in case a different cable is used. Signed-off-by:

[PATCH 2/2] IB/qib: Fix issue with link states and QSFP cables

2011-10-19 Thread Mike Marciniszyn
From: Mitko Haralanov mi...@qlogic.com Fix an issue where the link would come up after replugging a cable even if it has been DISABLED manually. Signed-off-by: Mitko Haralanov mi...@qlogic.com Signed-off-by: Mike Marciniszyn mike.marcinis...@qlogic.com ---

[ANNOUNCE] OFED-1.5.4-rc2 is available

2011-10-19 Thread Vladimir Sokolovsky
Hi, OFED 1.5.4-rc2 is available. The tarball is available on: http://www.openfabrics.org/downloads/OFED/ofed-1.5.4/OFED-1.5.4-rc2.tgz To get BUILD_ID run ofed_info Please report any issues in bugzilla https://bugs.openfabrics.org/ for OFED 1.5.4 Regards, Vladimir Main changes from RC1: