I don't think that is not supported. I read the mlnxofedinstall perl script and I don't see an option there.
Paklui,thanks. I couldn't find the --prefix option either. This is
available with stock OFEDs.
That is OK though. I only wanted to install things in /opt to differentiate
from the stock OFED.