Please make check_hw_ib a parameter that for comparison operators (e.g., '>' or '<=')
It would be great if there were a way to specify a minimum rate for IB (we have a mixture of 40 and 56).
check_hw_ib
check_hw_ib rate [device]
check_hw_ib determines whether or not an active IB link is present with the specified data rate (in Gb/sec). Version 1.3 and later support the device parameter for specifying the name of the IB device. Version 1.4.1 and later also verify that the kernel drivers and userspace libraries are the same OFED version.
Example (QDR Infiniband): check_hw_ib 40
I contacted the mailing list about this and the response was:
"To support this properly, I'll need to rewrite the check to use the more modern getopt-based scheme which uses command-line options rather than simply fixed-position parameters to define what options are supported and which ones mean what. So it's a bit weightier of a change than if it were just a simple "let's add a new flag to support" patch. Having said that, though, it's still pretty straight-forward stuff. Shouldn't be too difficult. :-)"
Thanks for this great tool!
Thanks, Ryan! I have several fixes/enhancements "in flight" for the 1.4.3 release, so this will help me make sure nothing gets missed while I'm hammering through stuff in the next few weeks! :-)