Re: QoS in local SA entity

2009-11-09 Thread Jason Gunthorpe
On Mon, Nov 09, 2009 at 09:44:31AM +0200, Or Gerlitz wrote: No rdma_resolve_addr2 is needed the one that exists now has source addresses specified, I don't see that extra info is needed for AF_INET that was resolved with rdma_getaddrinfo is this AF_IB specific? The extra info in

Re: [PATCH] opensm/osm_state_mgr.c: force heavy sweep when fabric consists of single switch

2009-11-09 Thread Yevgeny Kliteynik
Eli Dorfman (Voltaire) wrote: Yevgeny Kliteynik wrote: Yevgeny Kliteynik wrote: Line Holen wrote: On 11/ 4/09 04:54 PM, Yevgeny Kliteynik wrote: Line Holen wrote: On 11/ 4/09 10:47 AM, Yevgeny Kliteynik wrote: Sasha Khapyorsky wrote: On 12:26 Tue 03 Nov , Yevgeny Kliteynik wrote:

Re: [PATCH] opensm/osm_state_mgr.c: force heavy sweep when fabric consists of single switch

2009-11-09 Thread Eli Dorfman (Voltaire)
Yevgeny Kliteynik wrote: Eli Dorfman (Voltaire) wrote: Yevgeny Kliteynik wrote: Yevgeny Kliteynik wrote: Line Holen wrote: On 11/ 4/09 04:54 PM, Yevgeny Kliteynik wrote: Line Holen wrote: On 11/ 4/09 10:47 AM, Yevgeny Kliteynik wrote: Sasha Khapyorsky wrote: On 12:26 Tue 03 Nov ,

Re: [PATCH] opensm/osm_state_mgr.c: force heavy sweep when fabric consists of single switch

2009-11-09 Thread Yevgeny Kliteynik
Eli Dorfman (Voltaire) wrote: Yevgeny Kliteynik wrote: Eli Dorfman (Voltaire) wrote: Yevgeny Kliteynik wrote: Yevgeny Kliteynik wrote: Line Holen wrote: On 11/ 4/09 04:54 PM, Yevgeny Kliteynik wrote: Line Holen wrote: On 11/ 4/09 10:47 AM, Yevgeny Kliteynik wrote: Sasha Khapyorsky wrote:

Re: [PATCH RESEND] ib/iser: re-write SG handling for rdma logic

2009-11-09 Thread Or Gerlitz
This patch re-writes the logic that does the above, to make it clearer and simpler. It also fixes a bug in the being aligned for rdma checks, where a start check wasn't done but rather only end check. Roland, I don't see this patch in your for-next branch, any reason not to merge this?

Re: [PATCH RESEND] ib/iser: re-write SG handling for rdma logic

2009-11-09 Thread Roland Dreier
Roland, I don't see this patch in your for-next branch, any reason not to merge this? No, I just haven't been in a merging mode lately... will start working on my 2.6.33 queue soon. -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to

RE: [PATCH] librdmacm/mckey: enforce local binding for unmapped multicast addresses

2009-11-09 Thread Hefty, Sean
I don't see this @ http://www.openfabrics.org/git/?p=~shefty/librdmacm.git, were you referring a local clone? Yes - I just haven't pushed it back upstream yet. -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to majord...@vger.kernel.org More

RE: QoS in local SA entity

2009-11-09 Thread Sean Hefty
L1. compute source address L2. issue kernel rdma_bind to source address and resolve device, port, pkey L3. issue ACM address (DGID) resolution call using (device, port, pkey, dest-ip) makes sense? if yes, what's the need in the address configuration file? Here is where we're at today:

Re: SRPT and SCST

2009-11-09 Thread Vladislav Bolkhovitin
Bart Van Assche, on 11/08/2009 12:49 PM wrote: On Fri, Nov 6, 2009 at 6:28 PM, Arend Dittmer aditt...@penguincomputing.com wrote: Please find attached the gzip'ed /var/log/messages. This log clearly show the login and logout actions from the different initiators. I couldn't find anything

Re: SRPT and SCST

2009-11-09 Thread Chris Worley
On Mon, Nov 9, 2009 at 1:26 PM, Vladislav Bolkhovitin v...@vlnb.net wrote: Bart Van Assche, on 11/08/2009 12:49 PM wrote: On Fri, Nov 6, 2009 at 6:28 PM, Arend Dittmer aditt...@penguincomputing.com wrote: Please find attached the gzip'ed /var/log/messages. This log clearly show the login

[linux-rdma][PATCH 1/6] SRP recreates qp/cq resources at reconnecting to target

2009-11-09 Thread Vu Pham
Recreating qp, cq when reconnect to target instead of re-use them. We need this so that we don't have to wait on disconnect connection Signed-of-by: Vu Pham v...@mellanox.com drivers/infiniband/ulp/srp/ib_srp.c | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-)

[linux-rdma][PATCH 5/6] SRP handles async. port error/active events

2009-11-09 Thread Vu Pham
Handling async local port events: port error, active, lid change... Upon local port err, it will set up timer device_loss_timeout seconds to propagate I/O errors and reconnect. If local port active and there is timer, it will delete the timer Signed-off-by: Vu Pham v...@mellanox.com

[linux-rdma][PATCH 6/6] SRP handles send/recv errors and connection closed event

2009-11-09 Thread Vu Pham
Setting up timer for SRP_CONN_ERR_TIMEOUT seconds to propagate I/O errors and clean up connection resources. When we receive cqe with error status or connection closed callback, the target already left the fabric for awhile (30 seconds n ...); therefore, we just set a default value for

[PATCH] opensm - remove useless goto

2009-11-09 Thread Stan C. Smith
Signed-off-by: stan smith stan.sm...@intel.com diff --git a/opensm/opensm/osm_perfmgr.c b/opensm/opensm/osm_perfmgr.c index 0999c48..accf9d3 100644 --- a/opensm/opensm/osm_perfmgr.c +++ b/opensm/opensm/osm_perfmgr.c @@ -279,7 +279,6 @@ ib_api_status_t osm_perfmgr_bind(osm_perfmgr_t * pm,

[PATCH] opensm - use C99 transportable data type for pointer storage

2009-11-09 Thread Stan C. Smith
In order to skip the #ifndef __WIN__ around #include stdint.h, inttypes.h was used. 'inttypes.h' includes stdint.h and exists in the WinOF svn tree. OFED opensm builds without problems on EL 5.3. Signed-off-by: stan smith stan.sm...@intel.com diff --git a/opensm/include/opensm/st.h

back to back RDMA read fail?

2009-11-09 Thread neutron
Hi all, I have a simple program that test back to back RDMA read performance. However I encountered errors for unknown reasons. The basic flow of my program is: client: ibv_post_send() to send 4 back to back messages to server (no delay inbetween). Each message contains the (rkey, addr, size)

Re: QoS in local SA entity

2009-11-09 Thread Or Gerlitz
Jason Gunthorpe wrote: The extra info in rdma_resolve_addr2 carries the IB specific path information from the rdma_getaddrinfo module to the kernel for the address pair. The entire purpose of AF_IB is to let user space tell the kernel it does not want a kernel side ND and PR query, instead

Re: LID reconfiguration

2009-11-09 Thread Or Gerlitz
One more question; I saw librdmacm which looked nice but it does not support multi-path connections. It would eliminate a lot of code if we could use this what are your needs? Or. -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to

Re: LID reconfiguration

2009-11-09 Thread Or Gerlitz
Jeff Roberson wrote: I would want a way to specify the alternate sockaddr with automatic failover between them. Perhaps with some notification when a failover occured From your description I still don't see what the alternate address buys you. As was suggested here, bond two IPoIB devices,