I saw at http://www.mellanox.com/page/products_dyn?product_family=26 http://www.mellanox.com/page/products_dyn?product_family=26
"Linux Inbox Drivers
Mellanox Adapters’ Linux VPI Drivers for Ethernet and InfiniBand are also available Inbox in all the major distributions, RHEL, SLES, Ubuntu and more. Inbox drivers enable Mellanox High performance for Cloud, HPC, Storage, Financial Services and more with the Out of box experience of Enterprise grade Linux distributions."
I’ve used this for several generations of Mellanox cards of for last decade with a wide variety of linux distributions. Just config with /etc/network/interfaces, ifconfig ib0 works, datagram/connected mode works, IPoIB works.
From what I can tell with 18.04 it doesn’t work. The default (ubuntu supplied/INBOX) drivers:
# cat /sys/class/net/ib0/mode
datagram
# echo connected > /sys/class/net/ib0/mode
-bash: echo: write error: Invalid argument
I found docs that with the MLNX_OFED drivers that you just:
# cat ib_ipoib.conf
options ib_ipoib ipoib_enhanced=0
I get:
[ 57.573664] ib_ipoib: unknown parameter ‘ipoib_enhanced’ ignored
Is there any documentation for the “INBOX drivers”? Anyone know how to get connected mode working? I’m guess the 18.04 drivers are too old to have the ability to disable enhanced mode, but to new to have the connected mode working by default.