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






PreviousRemote Direct Memory Access (RDMA) over Converge Ethernet (RoCE) introductionNextNIC driver set up and clarify Infinite Band (IB) device in Windows
Last updated






Last updated
sudo apt-get update
sudo apt install -y automake autoconf libtool libibverbs-dev ibverbs-utils infiniband-diags perftest# Download the Driver and untar first and then go to the below driver folder to compile the driver
cd Downloads/
tar zxvf bcm_229.1.123.0b.tar.gz
cd bcm_229.1.123.0b/Linux/Linux_Driver
tar zxvf netxtreme-bnxt_en-1.10.3-229.0.139.0.tarcd netxtreme-bnxt_en-1.10.3-229.0.139.0.tar
sudo make
sudo make install
# if you could not use "make", please follow the installation
sudo apt-get update
sudo apt-get install make
# if you are not using gcc compiler, this installation might encounter error
# please follow below command to install gcc compiler:
sudo apt update
sudo apt install gcc
# and then you can go back to the installation ("make", "make install")# $REL_DIR is the untar Linux driver package download from broadcom web
cd $REL_DIR/Linux/KMP-RoCE-Lib
tar xf libbnxt_re-x.y.z.tar.gz
cd libbnxt_re-x.y.z
sudo sh autogen.sh
sudo ./configure --sysconfdir=/etc/
sudo make
sudo make install all
sudo sh -c "echo /usr/local/lib >> /etc/ld.so.conf"
sudo ldconfig
sudo cp bnxt_re.driver /etc/libibverbs.d/sudo modprobe -r bnxt_en //L2 driver
sudo modprobe bnxt_re //RDMA driverlsmod|grep bnxtibv_devices //check the device nameibv_devinfo //check device info