MLNXOFEDCTL(8)
๐ MLNXOFEDCTL ๐
okay bestie, welcome to mlnxofedctl, a manual page from the System Manager's Manual section 8, which is the "commands you run as root" section, iykyk ๐
โจ NAME โจ
mlnxofedctl โ load and unload mlnx-ofed kernel modules ๐ง
๐ธ SYNOPSIS ๐ธ
mlnxofedctl [-a|--altmods]<command>
๐ฆ DESCRIPTION ๐ฆ
so like, mlnxofedctl is basically a wrapper around /etc/init.d/openibd or /etc/init.d/mlnx_en.d (that second one is in mlnx_en, okay?). that "init.d" script is being used as a script and should not. ๐
currently it supports all the commands that openibd supports, but it may grow some extra functionality in the future. main character energy, honestly. ๐
๐ OPTIONS ๐
-a,--altmodsโ loads modules from/host/lib/modulesinstead of from/lib/modules. and the way it does that? it runs the whole command in a separate mounts namespace. obsessed with the commitment honestly. โจ
๐ Supported commands ๐
startโ load modules. in some cases it callsrestarton its own, because it senses that a wrong version of the modules is loaded. yes bestie it has intuition. ๐ฎforce-startโ okay so thestartoperation also checks that the modules are ones that are provided in themlnx-ofed-kernel/mlnx-ofa_kernel/mlnx_enmodules package (rpm or deb). if they're not, it will refuse to load modules to make sure that inbox modules will not be used.
force-start ignores this sanity check and allows using modules that were not part of the MLNX_OFED / mlnx-en packages. this is also useful if you want to use kernel modules you built manually. DIY queen ๐ ๏ธ
stopโ unload modules. note that this unloads not only current modules but also various modules that were previously part ofmlnx-ofa_kernel(such asmlnx4_coreandrdma_rxe) to simplify upgrades. it's giving "clean slate, no baggage" ๐restartโstopandstart. short king of a command. ๐ซถforce-stop,force-restartโforce-stopis the same asstop.
force-restart is stop and force-start.
statusโ shows that the modules are loaded. this is handy because there's no real process whose presence can provide the "state" for systemd. generally it is a good idea to userestartin many cases. vibe check passed โ
๐ SEE ALSO ๐
There should be some other documentation.
ngl bestie, that SEE ALSO is giving "the homework is due but the assignment never got posted" ๐ญ
and that's the whole page, fr fr ๐ this was the mlnxofedctl page, from the System Manager's Manual, and it's dated 2023-01-23. slay, go load some kernel modules (responsibly, with status first). periodt. ๐
โจ
๐ฆ where this page comes from
- epel 10: mlnx-tools 23.07-5.el10_0 ยท CPL-1.0 OR BSD-2-Clause OR GPL-2.0-only
- epel 9: mlnx-tools 23.07-1.el9 ยท CPL-1.0 OR BSD-2-Clause OR GPL-2.0-only
- fedora 43: mlnx-tools 23.07-7.fc43 ยท CPL-1.0 OR BSD-2-Clause OR GPL-2.0-only
- fedora 44: mlnx-tools 23.07-8.fc44 ยท CPL-1.0 OR BSD-2-Clause OR GPL-2.0-only
- Copyright 2023, NVIDIA CORPORATION
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms