NIC driver set up and clarify Infinite Band (IB) device in Linux

After we get two IB devices (in this example, we get 2 pcs with Broadcom ethernet controller BCM57416 with RDMA feature) and we would like to do the RDMA performance test, we need to prepare the RDMA environment.

First, we should prepare the RDMA driver. For Broadcom RDMA driver, we could download from here: https://www.broadcom.com/products/ethernet-connectivity/network-adapters/p210tparrow-up-right

1) Install the package required and reboot

2) Install the Linux L2 and RoCE drivers (in "Linux_Driver" folder)

Unzip the package downloaded from Broadcom website and then follow the step to install driver.

After untar the package, we should change parameter value "BNXT_RE_ABI_VERSION" from 6 to 1 in two different file since the driver not support the value "6". (bcm_229.1.123.0b is the Linux driver package)

File 1: bcm_229.1.123.0b/Linux/Linux_Driver/netxtreme-bnxt_en-1.10.3-229.0.139.0/bnxt_re-229.0.139.0/bnxt_re-abi.h

File 2: bcm_229.1.123.0b/Linux/KMP-RoCE-Lib/libbnxt_re-229.0.139.0/src/abi.h

3) Install the Linux RoCE User Library (in "RoCE_Lib" folder)

4) Reboot system and run below command to install RoCE device

Run below command to check if the driver is set up finished

You should find "bnxt_re", "bnxt_en", "ib_core", "ib_uverbs"

5) Check if we could clarify IB device with below command

you could check link status and device info

As for more information, please check here:

https://techdocs.broadcom.com/us/en/storage-and-ethernet-connectivity/ethernet-nic-controllers/bcm957xxx/adapters.htmlarrow-up-right

Last updated