double connection teardown event due to unexpected disconnection during the closing phase

Change-Id: Ia454f72b5d575910f011fb9c3d95e839a719656f
Signed-off-by: Or Kehati <ork@mellanox.com>
setting server pointer to listener only after listen succeed

Change-Id: I61fe4fa1d3dc5816e13fe3f17cdce4b0a0d3edbf
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
postpone the connection teardown notification only when the connection state become closed

Change-Id: If5ef3346231aaad738f7e7567acf79da2b5b67d5
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
fixing finite run failure in client

Change-Id: Ic6577f69d8929e17e610b31b0d442524d0c7c4e1
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Adding new error

Change-Id: If2362b32f35c1f31c2348ad6843652eadecfded0
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
fixing close reasons

Change-Id: I1b8df3bcc342dc9652f01a5115b7f92128da20ad
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Destroy session only after lead and redir connections are destoryed.
Init connection kref in case of nexus disconnect.

Change-Id: Ie61fb03ae80f3138a38be297e68a0bc81d516e1b
Signed-off-by: Or Kehati <ork@mellanox.com>
Add an option for getting the number of RDMA capable devices on the machine

Change-Id: Idaa43d122f0e712e8e6183f87d0d358dae2cad4e
Signed-off-by: Or Kehati <ork@mellanox.com>
commenting out cq moderation due to missing support in function back porting

Change-Id: Id8de4ec741a0a83b1cc593b735aad4f7c376f1d2
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
fixing compilation warning

Change-Id: I0ada42a14b94bb654bfaa1ddb96d74e56587a84b
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
xio_handle_task_error crash when rdma_task is NULL

Change-Id: Ib78cbb7d8b03712ecfbc34e4328bdd5376f9b21b
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
after calling xio_disconnect, sent responses shall be discarded

Change-Id: Iffabb72d5147711274b31a9da8e33e07d5bf85da
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
nexus on server side are closed only upon client request or due to
disconnection.

Change-Id: I0befe113d000f5f876b78c3faeb87370e3fab672
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Spelling error

Change-Id: I0332938517ddaf42abd5309db78461d6afe8dbeb
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
protect against closing cm_id inside the loop

Change-Id: I7fe9c5c48562a9e2b0364474759264f976c3c11e
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
do not release cm_id if creating it failed

Change-Id: Ibc3878288193460566477720e1a5046ba87b94da
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Merge branch 'for_next' for v.1.2-rc3