[BUG FIX] - raio read operation returned invalid data for sizes above 8K

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

Add builtin monitoring capability and monitoring program.
The default counters are TX/RX messages TX/RX bytes, transaction delay
and application dealy.  The user is provided with an API to add up to
10 counters. The counting is done per thread (in case of MT program).
The monitoring program is a Python program (Python should be installed)
It can be found in management/statistics/statistics.py
Monitoring is done via netlink socket thus it will eventually work for
both user space and kernel Accelio

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
Allow statistics monitoring only with root permissions
(usage of netlink sock requires root permissions)

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
[raio fio] - memory registration for read operations

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Modify log level of messages according to:
	FATAL:	application need to die
	ERROR:	general error which is wrong input values or just a general failure
	WARNING: nothing big happened, but application might work better if warning
		is handled (update OFED, tune parameters, ...)
	INFO:	as library there should be nothing we have to say to use/application
		(maybe just 'hello, I`m libXYZ, version 1.2.3')
	DEBUG:	control path logging
	TRACE:	fast path logging
changing functions names

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

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
reffering to OFED from README

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
adding support for Visibility Control of Accelio.
library users have access to functions that are defined in libxio.map

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
reviewing documentation comments in xio_user.h

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
removing redundent function declaration

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
[BUG-FIX] - opening connection while the session in "redirect" state returned NULL

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

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

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
adding error checks upon opening device thread

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
structure size is too big on stack. now allocated on heap

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
cq polling may starve the event loop dispatcher

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
statistics monitoring socket address (port id) is auto selected

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Adding two notifications on server side for better connections bookeeping
	- "New Connection" upon connection initialization
	- "Connection Closed" upon connection close.

Introducing new function: xio_set_connection_params
the function allows the application to set connection parameters at any time
the application may now set the connection user context at any time

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