Skip to content

Instantly share code, notes, and snippets.

@hokiegeek2
Last active March 12, 2025 11:22
Show Gist options
  • Save hokiegeek2/96c07d4b0de71a641c45fcf105a2fce0 to your computer and use it in GitHub Desktop.
Save hokiegeek2/96c07d4b0de71a641c45fcf105a2fce0 to your computer and use it in GitHub Desktop.
Instructions for installing rdma drivers on Ubuntu 22.04
#
# Instructions for installing rdma-core at https://github.com/linux-rdma/rdma-core
#
# install required libraries
sudo apt-get install build-essential cmake gcc libudev-dev libnl-3-dev libnl-route-3-dev \
ninja-build pkg-config valgrind python3-dev cython3 python3-docutils pandoc \
infiniband-diags ibverbs-utils -y
# clone and build rdma-core project
git clone [email protected]:linux-rdma/rdma-core.git
cd rdma-core
sh ./build.sh
# determine network interface matching server ip address
ifconfig
# set up software RDMA on an existing interface
export INTERFACE_NAME=wlp3s0
sudo rdma link add rxe_eth0 type rxe netdev $INTERFACE_NAME
# verify ibv interface
ibv_devices
ibstat
@hokiegeek2
Copy link
Author

Results of the ibv_devices and ibstat commands should look like this:

image

@SiarheiVolkau
Copy link

I'm seeing build step sh ./build.sh ... but where is the installation step?

@xlcbingo1999
Copy link

I'm seeing build step sh ./build.sh ... but where is the installation step?

I meet the same problem, I try make install or jindo install, but the project rdma-core didn't write the shell for us to quickly install.

I want to know how you solve this problem.

@SiarheiVolkau
Copy link

Since the project is CMake based this should work, I guess: cmake --install

https://cmake.org/cmake/help/latest/manual/cmake.1.html#install-a-project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment