Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Hardware:
Software:
* OS: Ubuntu 18.04/20.04
* gcc 7.5.0/9.4.0
* Mellanox OFED driver: 5.4-3.1.0.0-LTS (for ConnectX-5 and 6), or 4.9-4.1.7.0-LTS (for ConnectX-3).
* Mellanox OFED driver: 5.4-3.7.5.0-LTS (for ConnectX-5 and 6), or 4.9-4.1.7.0-LTS (for ConnectX-3).

## Build & Install Hermit
Next we will use Ubuntu 20.04 as an example to show how to build and install the kernel. It is not required but highly recommended to have the same kernel version for both host and memory server.
Expand Down
8 changes: 4 additions & 4 deletions remoteswap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ Hardware:
Software:
* OS: Ubuntu 18.04/20.04
* gcc 7.5.0/9.4.0
* Mellanox OFED driver: 5.4-3.1.0.0-LTS (for ConnectX-5 and 6), or 4.9-4.1.7.0-LTS (for ConnectX-3).
* Mellanox OFED driver: 5.4-3.7.5.0-LTS (for ConnectX-5 and 6), or 4.9-4.1.7.0-LTS (for ConnectX-3).

## Build & Install

### Install MLNX_OFED driver
Here is an example on Ubuntu 20.04:
```bash
# Download the MLNX OFED driver for the Ubuntu 20.04
wget https://content.mellanox.com/ofed/MLNX_OFED-5.4-3.1.0.0/MLNX_OFED_LINUX-5.4-3.1.0.0-ubuntu20.04-x86_64.tgz
tar xzf MLNX_OFED_LINUX-5.4-3.1.0.0-ubuntu20.04-x86_64.tgz
cd MLNX_OFED_LINUX-5.4-3.1.0.0-ubuntu20.04-x86_64
wget https://content.mellanox.com/ofed/MLNX_OFED-5.4-3.7.5.0/MLNX_OFED_LINUX-5.4-3.7.5.0-ubuntu20.04-x86_64.tgz
tar xzf MLNX_OFED_LINUX-5.4-3.7.5.0-ubuntu20.04-x86_64.tgz
cd MLNX_OFED_LINUX-5.4-3.7.5.0-ubuntu20.04-x86_64

# Install the MLNX OFED driver against linux-5.14-rc5
sudo ./mlnxofedinstall --add-kernel-support --force
Expand Down
4 changes: 2 additions & 2 deletions remoteswap/client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ RSWAP_ROOT_PATH := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
ifneq ($(LINUXINCLUDE),)

LINUXINCLUDE := \
$(LINUXINCLUDE) \
-I$(OFA_INCLUDE) \
-I$(RSWAP_ROOT_PATH)/.. \
$(LINUXINCLUDE)
-I$(RSWAP_ROOT_PATH)/..
else

export KBUILD_EXTRA_SYMBOLS=$(OFA_SYMVERS)
Expand Down