diff --git a/docs/README.md b/docs/README.md index 28db50aa..ac75435a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -84,17 +84,18 @@ The Media Communications Mesh (MCM) enables efficient, low-latency media transpo - XDP-tools with eBpf: Follow the simple guide [XDP-tools](https://github.com/xdp-project/xdp-tools.git) for installation. - libfabric: Follow the [libfabric from source](https://github.com/ofiwg/libfabric?tab=readme-ov-file#building-and-installing-libfabric-from-source) for installation. - MTL: Follow the [MTL setup guide](https://github.com/OpenVisualCloud/Media-Transport-Library/blob/main/doc/build.md) for installation. + - E810 driver: Follow The [MTL NIC setup guide](https://github.com/OpenVisualCloud/Media-Transport-Library/blob/main/doc/e810.md) - gRPC: Refer to the [gRPC documentation](https://grpc.io/docs/languages/cpp/quickstart/) for installation instructions. - Install required packages: - Ubuntu/Debian ```bash sudo apt-get update - sudo apt-get install libbsd-dev cmake make + sudo apt-get install libbsd-dev cmake make libibverbs-dev librdmacm-dev dracut ``` - Centos stream ```bash - sudo yum install -y libbsd-devel cmake make + sudo yum install -y libbsd-devel cmake make libibverbs-devel librdmacm-devel dracut ``` - Install the irdma driver and libfabric diff --git a/scripts/setup_build_env.sh b/scripts/setup_build_env.sh index 5b283613..ee01de71 100755 --- a/scripts/setup_build_env.sh +++ b/scripts/setup_build_env.sh @@ -123,6 +123,7 @@ function install_ubuntu_package_dependencies() gcc-multilib \ systemtap-sdt-dev \ librdmacm-dev \ + libibverbs-dev \ libfdt-dev \ autoconf \ automake \ @@ -130,7 +131,9 @@ function install_ubuntu_package_dependencies() libtool \ grpc-proto \ protobuf-compiler-grpc \ - libgrpc10 + libgrpc10 \ + dracut \ + linux-headers-"$(uname -r)" } # Build the xdp-tools project with ebpf @@ -155,7 +158,7 @@ function lib_install_fabrics() pushd "${LIBFABRIC_DIR}" ./autogen.sh && \ - ./configure && \ + ./configure --enable-verbs && \ make -j "${NPROC}" && \ make install popd diff --git a/scripts/setup_rdma_env.sh b/scripts/setup_rdma_env.sh index 73e90bfa..8953e4d2 100755 --- a/scripts/setup_rdma_env.sh +++ b/scripts/setup_rdma_env.sh @@ -53,7 +53,7 @@ install_libfabric() { git clone --depth 1 --branch v1.22.0 https://github.com/ofiwg/libfabric libfabric pushd libfabric ./autogen.sh - ./configure + ./configure --enable-verbs make -j$(nproc) sudo make install sudo ldconfig