Hi,
Mellanox provides a build of OFED tested and certified in house including extra tools and features. Other then this option, you can obtain the stack from the OpenFabrics project of use the OS kernel built-in driver.
For the Mellanox OFED option the company only charges for support and the driver is given free of charge.
Thanks