Closed pgeng-nv closed 3 months ago
Suggest removing the ' https://redmine.mellanox.com/issues/4005070', and change 'RM 4005070' to 'RM #4005070' for consistency.
Suggest removing the ' https://redmine.mellanox.com/issues/4005070', and change 'RM 4005070' to 'RM #4005070' for consistency.
I thought the comments above are just for the PR not the actual git commit? Will add "#" to the Git commit.
Fix a bug https://redmine.mellanox.com/issues/4005070. The bug is that when host receives a misc command of "SW_RESET", BMC rshim will re-probe, causing ownership command to be resent, since that logic is inside the probe function.
This change moves setting the pending command flag logic to
main()
function right after parsing command line and loading the configuration file. It uses a global array to store the flag. So it makes sure the-F
command line option orFORCE_MODE
configuration file option is consumed only once, even when bd is reallocated in probing.RM #4005070