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

Jeff Squyres
2010-02-09T22:01:21Z

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 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 RDMA device

(I believe Steve Wise proposed adding an API function to just return a list of IP addresses of RDMA devices a while back; it was rejected, which is why either we use the try-to-rdma_bind_addr() approach)

2. Before Sean backed out the localhost behavior, when you rdma_addr_bind(127.0.0.1), what did the id->verbs pointer correspond to?

On Feb 9, 2010, at 11:15 AM, Pradeep Satyanarayana wrote:

> Steve Wise wrote:
> > This patch works. It also backports cleanly to ofed-1.5.1/RH5.3.
> >
> > Acked-by: Steve Wise <swise-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
> >
> > Steve.
> Steve, Was this tested against both iWARP and IB?
>
> Thanks
> Pradeep
>
> _______________________________________________
> ewg mailing list
> ewg-ZwoEplunGu1OwGhvXhtEPSCwEArCW2h5@public.gmane.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
>

--
Jeff Squyres
jsquyres-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org

For corporate legal information go to: