Which kernel do you use?
You can try to build an iso or tgz package using mlnx_add_kernel_support.sh script.
It has self-explanatory help. You’d run it for your running kernel (need to have installed all devel/source packages for current kernel), and it will create an iso or tgz image in /tmp. Then you will use that custom package to install ofed.