renaming enumeration

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
pretty print

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
fixing ubuntu compilation errors
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Changing functions name:
 xio_session_open => xio_session_create
 xio_session_close => xio_session_destroy
 xio_ctx_open => xio_ctx_create
 xio_ctx_close => xio_ctx_destroy
 xio_ev_loop_init => xio_ev_loop_create

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
observavble optimization if one contain one observer.
use a pointer instead of list

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
rdma transport related source files moved to ./src/usr/rdma
all other source files moved to ./src/usr/xio

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
more ubuntu compile warn fixes

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
xio_session_destroy should return EBUSY if connections are still pending

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
sending fin on connection upon before forwarding/redirecting connection

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
invalid serial number print

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
sending fin on connection upon before forwarding/redirecting connection
send the fin before accepting.

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
connection close crashed upon concurrent session disconnection

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
removing debug prints

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Session teardown had race condition in multithreaded server
The result was that session teardown was called twice
ending in double destruction of the session.

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Teardown was not notified upon connection error

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Releasing messages from wrong queue ended in reordering

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
fix locking issue

In xio_session_assign_conn the xio_connection_set_conn
was called under list spin lock (not needed) but this
routine calls kmalloc which is called with GFP_KERNEL
which might block, and this is not allowed under spin lock

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
when application provides small buffer for rdma read,
report elaborated error message

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Adding two errors to xio_status

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
1. server rejection to session results in teardown of connection and session
2. adding connection disconnection notification function

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>