ibv_devinfo: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/ibv_devinfo - from package: libibverbs-utils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/ibv_devinfo - from package: ibverbs-utils

You may install the required package with command apt-get install {package}
Error in other languages:
ibv_devinfo: bevel nie gevind nie
ibv_devinfo: comandă negăsită
ibv_devinfo: comando não encontrado
ibv_devinfo: commande introuvable
ibv_devinfo: command not found
ibv_devinfo: käsku ei ole
ibv_devinfo: không tìm thấy lệnh
ibv_devinfo: komanda nerasta
ibv_devinfo: Kommando nicht gefunden.
ibv_devinfo: kommandot finns inte
ibv_devinfo: komut yok
ibv_devinfo: nie znaleziono polecenia
ibv_devinfo: níor aimsíodh an t-ordú
ibv_devinfo: no se encontró la orden
ibv_devinfo: no s'ha trobat l'ordre
ibv_devinfo: opdracht niet gevonden
ibv_devinfo: parancs nem található
ibv_devinfo: perintah tidak ditemukan
ibv_devinfo: príkaz nenájdený
ibv_devinfo: příkaz nenalezen
ibv_devinfo: команда не найдена
ibv_devinfo: командата не е открита
ibv_devinfo: 命令找不到
ibv_devinfo: コマンドが見つかりません