1MLNXOFEDCTL(8)              System Manager's Manual             MLNXOFEDCTL(8)
2
3
4

NAME

6       mlnxofedctl - load and unload mlnx-ofed kernel modules
7

SYNOPSIS

9       mlnxofedctl [-a|--altmods]<command>
10

DESCRIPTION

12       mlnxofedctl  is  basically  a  wrapper  around  /etc/init.d/openibd  or
13       /etc/init.d/mlnx_en.d (in mlnx_en). That "init.d" script is being  used
14       as a script and should not.
15
16       Currently  it  supports  all the commands supported by openibd, but may
17       grow some extra functionality in the future.
18
19

OPTIONS

21       -a --altmods
22              Load modules from /host/lib/modules instead of from /lib/modules
23              . Runs the whole command in a separate mounts namespace.
24
25
26   Supported commands
27       start  Load  modules.  In  some cases it calls 'restart' on its own be‐
28              cause it senses that a wrong version of the modules is loaded.
29
30
31       force-start
32              The start operation also checks that the modules are  ones  that
33              are provided in the mlnx-ofed-kernel / mlnx-ofa_kernel / mlnx_en
34              modules package (rpm or deb). If not, it  will  refuse  to  load
35              modules to make sure that inbox modules will not be used.
36
37              force-start  ignores  this sanity check and allows using modules
38              that were not part of the MLNX_OFED / mlnx-en packages. This  is
39              also  useful  if  you want to use kernel modules you built manu‐
40              ally.
41
42
43       stop   Unload modules. Note that this unloads not only current  modules
44              but  also  various  modules  that  were previously part of mlnx-
45              ofa_kernel (such as mlnx4_core and  rdma_rxe)  to  simplify  up‐
46              grades.
47
48
49       restart
50              stop and start.
51
52
53       force-stop, force-restart
54              force-stop is the same as stop.
55
56              force-restart is stop and force-start.
57
58
59       status Shows that the modules are loaded. This is handy because there's
60              no real process whose presence can provide the "state" for  sys‐
61              temd.  Generally  it  is  a  good  idea to use 'restart' in many
62              cases.
63
64

SEE ALSO

66       There should be some other documentation.
67
68
69
70                                  2023-01-23                    MLNXOFEDCTL(8)
Impressum