[IPoIB] add path record information in debugfs
authorRoland Dreier <rolandd@cisco.com>
Mon, 7 Nov 2005 18:33:11 +0000 (10:33 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 10 Nov 2005 18:22:49 +0000 (10:22 -0800)
commit1732b0ef3b3a02e3df328086fb3018741c5476da
tree380f460367321984ab7c7dcd72c37257d95de9a0
parent8b37b94721533f2729c79bcb6fa0bb3e2bc2f400
[IPoIB] add path record information in debugfs

Add ibX_path files to debugfs that contain information about the IPoIB
path cache.  IPoIB ARP only gives GIDs, which the IPoIB driver must
resolve to real IB paths through the ib_sa module.  For debugging,
when the ARP table looks OK but traffic isn't flowing, it's useful to
be able to see if the resolution from GID to path worked.

Also clean up the formatting of the existing _mcg debugfs files.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_fs.c
drivers/infiniband/ulp/ipoib/ipoib_main.c
drivers/infiniband/ulp/ipoib/ipoib_multicast.c
drivers/infiniband/ulp/ipoib/ipoib_vlan.c