Re: [PATCH 1/2] rdma/cm: support option to allow manually setting IB path

2009-10-06 Thread Jason Gunthorpe
On Tue, Oct 06, 2009 at 12:05:02PM -0700, Sean Hefty wrote: > >Ideally the best approach would be to have a mux at the ib_mad level. We > >could > >allow a user space application to intercept all outbound MADs for a given > >class > >and/or attribute. Unlike the present "snooping" of mads, this

Re: [PATCH 2/2] rdma/cm: allow user to specify IP to DGID mapping

2009-10-06 Thread Jason Gunthorpe
On Tue, Oct 06, 2009 at 06:20:05PM -0700, Sean Hefty wrote: > There are 3 interfaces of interest here. The librdmacm API, the rdma_ucm user > to kernel interface, and the rdma_cm interface. These patches are looking to > change the rdma_ucm interface. I want to avoid changing the API or behavio

RE: [PATCH 2/2] rdma/cm: allow user to specify IP to DGID mapping

2009-10-06 Thread Sean Hefty
>I'm not suggesting that you implement RMDA CM IP semantics in >userspace using the IB CM, I'm suggesting you expose the IB CM GID >semantics through the RDMA CM API exactly as they are. Your IBACM >would then become an enhanced path resolution module to the RDMA CM, >much like getaddrinfo is to so

Re: [PATCH 2/2] rdma/cm: allow user to specify IP to DGID mapping

2009-10-06 Thread Jason Gunthorpe
On Tue, Oct 06, 2009 at 03:53:21PM -0700, Sean Hefty wrote: > >Actually, thinking about it some more, that would be very helpful. As > >I said before, I have worked on apps using IB CM. The only reason is > >to have complete control over the addressing. If I could use RDMA CM > >API in some kind of

RE: [PATCH 2/2] rdma/cm: allow user to specify IP to DGID mapping

2009-10-06 Thread Sean Hefty
>Actually, thinking about it some more, that would be very helpful. As >I said before, I have worked on apps using IB CM. The only reason is >to have complete control over the addressing. If I could use RDMA CM >API in some kind of AF_GID addressing and service ID space, it would >basically elimina

Re: Default force_link_speed value in opensm configuration

2009-10-06 Thread Ira Weiny
On Tue, 06 Oct 2009 17:56:01 +0200 "Eli Dorfman (Voltaire)" wrote: > Hi, > > Is there a reason for setting default force_link_speed to 15 (set enabled as > supported) > and not to 0 (don't modify PortInfo:LinkSpeedEnabled )? The thought was to enable all ports to the maximum supported by defa

[PATCH] RDMA/cxgb3: iwch_query_port() - handle null inetdev ptr.

2009-10-06 Thread Steve Wise
in_dev_get() can return NULL. If it does, iwch_query_port() will crash. Handle the NULL case by mapping it to rdma state INIT. Signed-off-by: Steve Wise --- drivers/infiniband/hw/cxgb3/iwch_provider.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/in

Re: [PATCH 2/2] rdma/cm: allow user to specify IP to DGID mapping

2009-10-06 Thread Jason Gunthorpe
On Tue, Oct 06, 2009 at 12:05:02PM -0700, Sean Hefty wrote: > From user space, the call sequence does not change. The user calls > rdma_resolve_addr, rdma_resolve_route, rdma_connect, etc. It is up to the > librdmacm to perform the resolution. Today, the resolution request is simply > passed do

RE: [PATCH 2/2] rdma/cm: allow user to specify IP to DGID mapping

2009-10-06 Thread Sean Hefty
>If I understand correct your suggested changes are to optionally let an >application to - instead of the following sequence of calls > >rdma_resolve_addr / addr resolved event >rdma_create_qp >rdma_resolve_route / route resolved event >rdma_connect / cm events > >do > >rdma_set_ib_path >rdma_cre

RE: [PATCH 1/2] rdma/cm: support option to allow manually setting IB path

2009-10-06 Thread Sean Hefty
>Ideally the best approach would be to have a mux at the ib_mad level. We could >allow a user space application to intercept all outbound MADs for a given class >and/or attribute. Unlike the present "snooping" of mads, this would literally >be a interception. This would provide a number of key a

Default force_link_speed value in opensm configuration

2009-10-06 Thread Eli Dorfman (Voltaire)
Hi, Is there a reason for setting default force_link_speed to 15 (set enabled as supported) and not to 0 (don't modify PortInfo:LinkSpeedEnabled )? Thanks, Eli -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More maj

RE: [PATCH 1/2] rdma/cm: support option to allow manually setting IB path

2009-10-06 Thread Todd Rimmer
> From: Jason Gunthorpe > Sent: Monday, October 05, 2009 2:15 PM > To: Sean Hefty > Cc: linux-rdma; Roland Dreier > Subject: Re: [PATCH 1/2] rdma/cm: support option to allow manually > setting IB path > > On Mon, Oct 05, 2009 at 11:08:51AM -0700, Sean Hefty wrote: > > >On Mon, Oct 05, 2009 at 10:4

Re: [PATCH 2/2] rdma/cm: allow user to specify IP to DGID mapping

2009-10-06 Thread Or Gerlitz
Sean Hefty wrote: Provide an option for user's to manually specify the socket address to DGID mapping on InfiniBand. Currently, all mappings are done using ipoib, and involve ARP. This will not work across IP subnets, and alternative mechanisms of resolving the mapping are being explored. Th

Re: [ANNOUNCE] libcxgb3 1.2.5 released

2009-10-06 Thread Vladimir Sokolovsky
Steve Wise wrote: Sorry for yet another libcxgb3 so soon, but: The libcxgb3 package is a userspace driver for Chelsio T3 iWARP RNICs. It is a plug-in module for libibverbs that allows programs to use Chelsio RDMA hardware directly from userspace. A new release, libcxgb3-1.2.5, is available