Update driver with mlnxofedinstall script

Hello

I playing with one of our test server which running Mellanox 6 Lx NIC. Current driver there is mlx_ofed mlx_core 5.0.0. Now i did download mlx_ofed 5.8-6.0.4.2 from your driver page. I prepared my system and run mlnxofedinstall with -U option. Process finish with success and I reboot server.

After reboot I still see that loaded driver is 5.0.0. Is this update direct from 5.0.0 is possible and is it any option to this work? I now that with install option it removed all older packages related with mlnx_ofed and install 5.8 packages (This work I tried). Problem here is that I testing this in RHEL 9 based OS (It’s not Red Hat product, it’s one of derivates.) and it mess my repositories since uninstall release info package. I solve this to in way that I backup yum.repos.d directory and after installation of 5.8 drivers I restore it. But I would like to evade this situation if it possible, that’s why I ask this question about -U option.

With Regards

You don’t need -U just install is OK, If you want update, uninstall old version and reboot to install new version.

@xiaofengl Thank You very much for response, but can you tell me when is suitable to use -U option ??

Best Regards