RHEL/CentOS update Inbox driver / howto compile

On a CentOS bases system i want to replace/update the Inbox driver version 2.2-1 with latest mlnx drivers.

System is equippped with ConnectX3 / MT27500.

downloaded latest package “MLNX_OFED_LINUX-4.2-” but get errors when trying to install.

my system is using Kernel 4.12.4-1.el7.elrepo.x86_64


Current operation system is not supported!

modinfo mlx4_core | head

filename: /lib/modules/4.12.4-1.el7.elrepo.x86_64/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko

version: 2.2-1

license: Dual BSD/GPL

description: Mellanox ConnectX HCA low-level driver

author: Roland Dreier

What’s the recommended way to update/replace/ the RHEL/CentOS Inbox driver (mlx4_core, mlx4_en) ?

Both ports run in ETH-mode, i do not use IB.


which centos you use? version?

you should change your mlnxofedinstall file for it accepting “wrong” OS.


does not work either …

./mlnxofedinstall --add-kernel-support --skip-repo

Current operation system is not supported!

Will try with OFED for fedora later on

Hello, idk about 4.12.4 kernel, but we using custom RT kernel and using for install:

./mlnxofedinstall --add-kernel-support --skip-repo --wihout-32bit #you interesting in --add-kernel-support option

also you can try download ofed for the last fedora and modify some files to use it. but idk would it work or not.