tunable timeout values in ipmi_kcs_sm
Brought to you by:
cminyard
We were able to resolve an intermittent timeout issue by increasing the values of OBF_RETRY_TIMEOUT and IBF_RETRY_TIMEOUT which are currently hardcoded in ipmi_kcs_sm.c. It would be nice if these timeouts could be specified rather than being hardcoded.
Attached is a patch which converts them into module parameters. The change is backwards compatible, the defaults have been unchanged. It just allows for someone to supply new values for the timeouts when loading the ipmi_si kernel module:
modprobe ipmi_si IBF_RETRY_TIMEOUT=2500000 OBF_RETRY_TIMEOUT=2500000
patch providing tunable timeouts
https://sourceforge.net/p/openipmi/feature-requests/7/ asks for similar thing for LAN
5 seconds is specified by the IPMI spec, and it's ridiculously long. I don't understand why shorter would be any value.