linux/drivers/infiniband/core
Yossi Etigin d2ca39f262 RDMA/cma: Create cm id even when IB port is down
When doing rdma_resolve_addr(), if the relevant IB port is down, the
function fails and the cm_id is not bound to the correct device.
Therefore, application does not have a device handle and cannot wait
for the port to become active.  The function fails because the
underlying IPoIB interface is not joined to the broadcast group and
therefore the SA does not have a multicast record to take a Q_Key
from.

The fix is to use lazy Q_Key resolution - cma_set_qkey() will set
id_priv->qkey if it was not set, and will be called just before the
Q_Key is really required.

Signed-off-by: Yossi Etigin <yosefe@voltaire.com>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2009-04-08 13:42:33 -07:00
..
addr.c
agent.c
agent.h
cache.c
cm.c
cm_msgs.h
cma.c RDMA/cma: Create cm id even when IB port is down 2009-04-08 13:42:33 -07:00
core_priv.h
device.c
fmr_pool.c
iwcm.c
iwcm.h
mad.c
mad_priv.h
mad_rmpp.c
mad_rmpp.h
Makefile
multicast.c
packer.c
sa.h
sa_query.c
smi.c
smi.h
sysfs.c
ucm.c
ucma.c
ud_header.c
umem.c
user_mad.c
uverbs.h
uverbs_cmd.c
uverbs_main.c
uverbs_marshall.c
verbs.c