[openib-general] Re: [PATCH] sdp: replace ip_dev_find withdev_base scan (was Re: ip_dev_find resolution?)
Michael S. Tsirkin
mst at mellanox.co.il
Tue Dec 13 14:36:22 PST 2005
Quoting Sean Hefty <sean.hefty at intel.com>:
> 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.
> 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.
My hope is that in the long run, this can be viewed as a special case
in the general path selection/multipathing problem.
By the way, CMA seems to happily take bits out of the hardware address
and assume that these include the gid, pkey, etc.
Shouldnt it check the device type before doing this?
--
MST
More information about the general
mailing list