How do I persist the Lossy RoCE Accelerations over reboots? They are described here: https://community.mellanox.com/s/article/How-to-Enable-Disable-Lossy-RoCE-Accelerations, but seem temporary on boot.
Please note that mlxconfig configurations ate persistent .
In case you would like add more scripts to be applied after reboot you can use the /etc/rc.local
An example to add this make it persistent after reboot:
Unfortunately, the command to enable them is mlxreg, and it does not seem to be persistent. Perhaps I have just missed how to invoke it from mlxconfig? I have not seen any of the parameters that seem to be linked, either a bitmask or official ones.
rc.local is OK, but a bit more fragile than I like as it depends on a bunch of things including mellanox’s MFT install being correct etc. I will still mark your answer as best if there is no simple way, as it will work mostly.