Refine database definitions

Update definitions for database objects.  Define a mechanism
to determine if data is in network order.  Support variable
sized data records.  Handle dividing a large record set into
multiple data sets.  Provide forward compatibility for structures
that are transfered over the network.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
merge
Add acm header file

The acm.h header file is used between ibacm and librdmacm.
Even with ibacm changing to use ibssa (really ibssa effectively
replacing ibacm), try to keep the same protocol between the
rdma cm library and ibssa.  Start with the current acm header
file.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
plugin/ibssautil

client connects and the plugin is stubbed to add them as a child of the master
node.
ibssa: Define directory structure

Refine the source tree directory structure.  The structure
separates the SSA code base into the 4 identified node types.
The proposed structure is:

include - common header files
include/infininband - installed header files
master
	The master SSA connects directly to the SM as a
	plugin.
distrib
	The distribution layer is responsible for quickly and
	efficiently exchanging data up and down the SSA
	network of nodes.
access
	End users connect into the SSA network at the access
	layer.  The access layer converts raw data into a format
	which can be consumed
acm
	This is the client code that connects into the SSA
	tree to extract the data necessary to establish
	communication with other clients.

The names for the distribution and access layers are based on
Cisco's 3 layer networking model.  (Cisco refers to the top
layer as the core layer, but that was left as master.)

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
ibssa: Add framework for shared SSA code

Provide some rough framework code for use by the various
SSA layers.  The framework is based on code pulled from
ibacm and then simplified.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Merge branch 'ibssautil'
Add initial smdb states diagram
Changes from 1/31/2013 meeting.
updates to SMDB state from Sean
Ira's comments
ibssa/acm: Add ibacm package

Add ibacm build package to ibssa source tree.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
ibssa/common: Provide common logging calls

Cleanup logging interfaces.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
ibacm: Remove osd_init/osd_close calls

These are both no-ops in Linux.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
ibacm: Remove osd socket abstractions

Remove OS socket abstractions from ibacm and common (but yet unused)
ssa code.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
ibacm: Remove OS mutex lock abstraction

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
ibacm: Remove OS abstraction for strcasecmp

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
ibacm: Remove OS function abstractions

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
ibacm: Move configuration file defines into common osd.h

Move ACM configuration file names (#define's) from acm osd to
shared osd.  Rename to make more generic.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
ibacm: Remove OS per thread variable declaration abstraction

Signed-off-by: Sean Hefty <sean.hefty@intel.com>