Hi Sasha, I've added two new functions into libibnetdisc, ibnd_cache_fabric() and ibnd_load_fabric(). As the names suggest, these functions allow the user to store the ibnd_fabric_t fabric to disk and read it back later on. The patches add the functions and the base functionality to ibnetdiscover.
These 2 patches don't show how these functions could be useful right now, but hopefully the usefulness can be seen for later features and/or additions. Some ideas I've had: - Give users the option to have IB diag tools load the cached version of the fabric instead of scanning the IB fabric. Not only does this make the tools much faster, it allows users to debug, analyze, play, etc. with a fabric state that existed in the past. Or a fabric that they don't even have access to (e.g. send the current fabric to support staff). - Support new debug/analysis features into IB diag tools. One example is a "diff" type of debug/analysis feature that allows users to compare how the current fabric state is different than a previous time. Al -- Albert Chu ch...@llnl.gov Computer Scientist High Performance Systems Division Lawrence Livermore National Laboratory -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html