[openib-general] Re: Re: [PATCH] sdp: replace ip_dev_find withdev_base scan (was Re: ip_dev_find resolution?)

Michael S. Tsirkin mst at mellanox.co.il
Mon Dec 19 13:05:19 PST 2005


Quoting r. Sean Hefty <sean.hefty at intel.com>:
> Subject: RE: Re: [PATCH] sdp: replace ip_dev_find withdev_base scan (was Re: ip_dev_find resolution?)
> 
> >> A higher level ULP could map 127.0.0.1 to a specific IP address
> before
> >> calling the CMA, but I'm not sure that's any better.
> >
> >Ugh. I really would like to hide all the IPv4/IPv6 etc from ULPs.
> 
> Not sure that I understand this comment.  The ULP needs to provide some
> sort of
> address.

Right but I hoped we could just copy sockaddr from the user to CMA,
aboit looking at it in the ULP.

> >> From the CMA's perspective, 127.0.0.1 could just as easily
> >> map to an iWarp device as an Infiniband device.
> >
> >Which device to select is a difficult problem.
> >I think we might be able to just punt on this for now, selecting
> >an arbitrary device of an appropriate type that happens to be up.
> 
> Long term, we may be able to add some quality of service values that
> help select
> devices that map to the same address.

Right. So lets map 127.0.0.1 to an arbitrary local device for now?

-- 
MST



More information about the general mailing list