Initial commit
First working version
Resolve code review issues
Integrate Glib

The commit includes following:

- Use subnet option table
- Glib integration
- Fix byte-ordering in lft top comparison
- New logging
- Fix rate comparision
- Pyton script for pr_dump log transformation
- Fix some code style issues
- Sort path record dump by LID in the tester application
- Read list of guids from external file in the tester application
Improves the speed of data retrieval operations on a smdb database.

The commit improves performance using data index based on
lookup tables.
Performance optimisation - stage 2

The commit includes following:
- ib_path_compare_rates function optimisation.
  Insted of runtime comparison for rates, we use precomputed
  static lookup table.
- Optimisation for linked port lookup.
  Insted of two stage serach for linked port (search for link,
  search for port), now we use one one lookup. Link lookup tables
  (CAs and Switches) include index of port insted of index of
  link.
- "half world" CPU time is printed into log (as INFO)
Implement prdb database

The implementation includes:
* Using new ssa_db structure
* A new handler for found path. The handler inserts a new path to prdb
* pr_pair tester saves a new key -O that allow to create prdb

Also the commit fix some issues with memory and minor linkage problems.
Add ssaaccesslayer.spec.in instead ssaaccesslayer.spec

Signed-off-by: Sasha Kotchubievski <sashakot@mellanox.com>
Prepare aacess layer for integration with distrib layer.

The commit allow to use ssa db functionality from
ibssa repository. It includes following:
* Use default values for PK and SL
* Change structure of includes: ssa_path_record.h is
  moved to include/infiniband folder.
* Configuration key with-ssa key is changed to
  with-ibssa
* ssa_prdb.c is moved to ibssa repository
Break dependency from ssadbhelper and core plugin.

The commit breaks dependency from old ssa db sources.
- Install Access Layer API to $(prefix)
- Compile ssa db staff from ibssa repository

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Remove double free for prdb in case of error

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Fix build after adding opensm dependency in ssa_smdb.h

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Move ssa_path_record.h to ibssa2 repository.

    The moving is a temporary solution for building problems
    before sources merge.
Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
fix Valgrind issues

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
remove pr_tester from building process and fix notes.txt
Sasha's ssa_accesslayer subtree merged in access subdirectory

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>