Re: [ewg] rdma/cm: revert associating an RDMA device when binding to loopback

2010-02-09 Thread Jeff Squyres
Open MPI also now checks for 127.0.0.1/8 and skips them. This behavior will be included in the upcoming Open MPI v1.4.2 (possibly within a few weeks?) and Open MPI v1.5.0. Two followup questions: 1. Is this now the recommended way to find all the IP interfaces that support RDMA: - loop over

Re: [ewg] rdma/cm: revert associating an RDMA device when binding to loopback

2010-02-09 Thread Jason Gunthorpe
On Tue, Feb 09, 2010 at 05:01:21PM -0500, Jeff Squyres wrote: > 1. Is this now the recommended way to find all the IP interfaces that support > RDMA: > > - loop over all local IP addresses > - if 127.0.0.1/8, skip > - try to rdma_bind_addr() > - if it succeeds and verbs ptr is != NULL, it's an R

RE: [ewg] rdma/cm: revert associating an RDMA device when binding to loopback

2010-02-09 Thread Sean Hefty
>1. Is this now the recommended way to find all the IP interfaces that support >RDMA: > >- loop over all local IP addresses >- if 127.0.0.1/8, skip Include ipv6 in the checks. >- try to rdma_bind_addr() >- if it succeeds and verbs ptr is != NULL, it's an RDMA device The intent is that rdma_bind_