First, clone this repository with:
git clone --recursive https://github.com/bsbds/blue-rdma-driver.git
cd blue-rdma-drivermake
make installA convenient script is provided to allocate hugepages, which are required for the driver's operation.
./scripts/hugepages alloc 1024Adjust 1024 to the desired number of hugepages (in MB).
First, compile the necessary dynamic library used by the examples:
cd dtld-ibverbs
cargo build --release
cd -Then, navigate to the examples directory, compile them, and run:
cd examples
make
export LD_LIBRARY_PATH=../dtld-ibverbs/target/release
./loopback 65536