In short, this series ports the kernel madeye debug utility to user space. It builds on the updated kernel MAD snooping functionality patches recently submitted to this list. In length, the series adds the following to the ib-mgmt tree:
* Adds the ability to snoop MADs to libibumad. * Adds new header files to libibumad that define various MAD data structures and definitions. The headers define a minimal number of definitions, basically only what was needed for madeye. * Starts the process of updating libibmad and opensm to use the new definitions. mad.h and ib_types.h are updated to reference values in the new header file, but the names of existing defines did not change. * Adds madeye as a new ib-diag. The kernel and user space patches are both barely tested. They compile and run, but I didn't check the results in any detail. The new header files define the MAD headers, but do not define any of the data fields, such as SA attributes. Those are left for further discussion. Porting madeye to user space is simply a quick and useful way to verify that the snooping capability is working. My ultimate goal is to allow the IBACM to detect and react to CM timeouts. Signed-off-by: Sean Hefty <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
