Modules Loading and Unloading
| 
     Adapter Cards  | 
                
     Modules  | 
        
| 
     ConnectX-3/ConnectX-3  | 
                
     mlx4_en, mlx4_core, mlx4_ib  | 
        
| 
     ConnectX-4 and above  | 
                
     mlx5_core, mlx5_ib  | 
        
To unload the driver, first unload mlx*_en/mlx*_ib and then the mlx*_core module.
To load and unload the modules, use the commands below:
Loading the driver: modprobe <module name>
# modprobe mlx5_ib
Unloading the driver: modprobe –r <module name>
# modprobe –r mlx5_ib