requests received in out of order sequence on responder when "rdma read" and
"send" operation were mixed. need to put fence when rdma read request is
pending and "send" request arrived

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
uninitialized response header address may returned to upper layer.

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
tls destructor was not called upon main exit

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
return error upon failure

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
memclonev copy the min between destination size and source size

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
update fio example build in README

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
1. Added message error notifications from the transport layer
2. changing types and enumerations

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
ev_loop_event_del error: fd was not found.

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
move set session state to online

The session state should not move to online state in
xio_session_sercer.c::xio_on_setup_req_recv.
If the session has multiple portals that it should happen after the
first "HELLO" message "xio_server.c::xio_on_new_message" if the
session has only one portal than the state should be moved to
online state only in "xio_session_server.c::xio_accept"

Additional cleaning was done remove '};' in code and fix switch
fall-through to the default state (add break).

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
message sending ending in EAGAIN should not treated as error

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Header copy with memset upon receiving response may end in memory overrun

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Do not teardown client session upon lead connection disconnection

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
request message provides to responder in the output data iovec
the size of expected response

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
wire protocol review and update

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
reseting the conn setup mbuf before starting to build "conn setup" message

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Add xio_get_timestamp().

The function returns the instantaneous value of get_cycles()
as a 64-bit integer.  This is useful for comparisons with xio
timestamps.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
CMake Build System

Allow building with CMake.  CMake builds are faster,
more portable, and don't use libtool.
Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Add xio_init() calls in hello_world_mt.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Add Eyal's hello_world_mt1.

The example is intended to model the threading and
event loop style used by the Ceph Messenger.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>
Call xio_init().

Signed-off-by: Matt Benjamin <matt@linuxbox.com>