[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 12:37:58 PST 2005


Quoting Sean Hefty <sean.hefty at intel.com>:
> >As a reminder, what we are trying to do is handle the loopback case,
> >where IP route resolution simply gives us back the loopback device, but
> >we want to use the IB loopback: either external if source/destination
> >are specified, or external if not.
> 
> Can you look over the CMA/ib_addr code and see if what is done meets
> your needs
> (minus support for IPv6)?

Will do.

> I've never tested the CMA using an address of
> 127.0.0.1, so I'm not sure what it would do in that case.  I'm also not
> sure if it makes sense for the CMA to handle that case...

At least for SDP its important: people are used to being able
to specify 127.0.0.1 and get a loopback connection.
And in some cases (zcopy), you actually can get good performance out of it.

> I will review this patch early next week.

-- 
MST



More information about the general mailing list