RE: [PATCH v3] [RFC] rdma/cm: support option to allow manually setting IB path

2009-10-28 Thread Sean Hefty
But, I still think this API should return EINVAL if the cm_id is in AF_INET/AF_INET6 mode. That is to say, this API only works with the AF_IB idea we have been discussing. I suggest this because using this API really does override the capabilities of the AF_INET/6 in unexpected ways, as the

Re: [PATCH v3] [RFC] rdma/cm: support option to allow manually setting IB path

2009-10-28 Thread Jason Gunthorpe
On Wed, Oct 28, 2009 at 02:41:15PM -0700, Sean Hefty wrote: Does a DGID returning API already exist? yes - query_route returns the following information: SGID, DGID, pkey, source address, destination address, and path records (max of 2). Not all of the information is valid, depending on the