infiniband-diags: add change to pregenerated saquery.8.in

Signed-off-by: Ira Weiny <weiny2@llnl.gov>
infiniband-diags: libibnetdisc add find node by lid

NOTE: this change adds a glib requirement to the package.

Changes since V1:
	Use GINT_TO_POINTER rather than allocating keys

Changes since V2:
	Use internal object everywhere rather than just hacked into
	discover_fabric
	Generate lid2port hash when reading cached fabrics

Signed-off-by: Ira Weiny <weiny2@llnl.gov>
infiniband-diags: add dump_fts tool

dump_fts adds a faster version of the functionality of dump_[l|m]fts.sh.  This
code is based off of the ibroute code and simply uses libibnetdisc to scan the
fabric instead of using ibnetdiscover and letting ibroute requery all that data
over again.  This improves things in 3 ways.

1) performance improves by nearly 2 orders of magnitude.
2) this version greatly reduces the mads required and thus reduces the
   impact on the fabric.
3) Everything is queried with DR paths which ensures if the routing tables are
   bad on the cluster the query will still complete and give you the
   information you were looking for.  (To be fair dump_lft.sh has the DR option
   but it is currently buggy.)

Example runs on the ~1400 nodes of the Hyperion test cluster show:

13:45:46 > time ./dump_lfts.sh > /dev/null

real    4m58.175s
user    0m6.407s
sys     0m17.983s

13:53:12 > time ./dump_fts > /dev/null
dump tables: linear forwarding table get failed

real    0m8.121s
user    0m3.032s
sys     0m3.342s

Changes from V1:
	Add status and query information to error messages.
	Add man page files which were missed in the first patch

Changes from V2:
	Additional status and address information on error messages.
	clean up error handling when fabric scan fails.

Signed-off-by: Ira Weiny <weiny2@llnl.gov>
infiniband-diags: deprecate dump_[m|l]fts.sh scripts

Signed-off-by: Ira Weiny <weiny2@llnl.gov>
infiniband-diags: check_lft_balanc: support either DR or Lid based dump lfts output

Signed-off-by: Ira Weiny <weiny2@llnl.gov>