Skip to content

Commit

Permalink
Remove iavf driver from installation script (OpenVisualCloud#329)
Browse files Browse the repository at this point in the history
* Fix error: ln: failed to create symbolic link

* Remove unnecessary iavf driver installation
  • Loading branch information
tszumski authored and ko80 committed Feb 11, 2025
1 parent 68ac615 commit d68d0b1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export JSONC_DIR="${BUILD_DIR}/json-c"
export NASM_DIR="${BUILD_DIR}/nasm"

export ICE_DIR="${DRIVERS_DIR}/ice/${ICE_VER}"
export IAVF_DIR="${DRIVERS_DIR}/iavf/${IAVF_VER}"
export IRDMA_DIR="${DRIVERS_DIR}/irdma/${IRDMA_VER}"

PM="${PM:-apt-get}"
Expand Down
7 changes: 0 additions & 7 deletions scripts/setup_ice_irdma.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ function get_and_patch_intel_drivers()
fi
IRDMA_REPO="$(get_irdma_driver_tgz)"
wget_download_strip_unpack "${IRDMA_REPO}" "${IRDMA_DIR}" && \
git_download_strip_unpack "intel/ethernet-linux-iavf" "refs/tags/v${IAVF_VER}" "${IAVF_DIR}" && \
git_download_strip_unpack "intel/ethernet-linux-ice" "refs/tags/v${ICE_VER}" "${ICE_DIR}"

pushd "${ICE_DIR}" && \
Expand All @@ -93,12 +92,6 @@ function build_install_and_config_intel_drivers()
as_root modprobe ice
log_success "Intel ICE: Drivers finished install process."

log_info "Intel IAVF: Driver starting the build and install workflow."
if ! as_root make "-j${NPROC}" -C "${IAVF_DIR}/src" install; then
log_error "Intel IAVF: Failed to build and install drivers"
exit 6
fi
log_success "Intel IAVF: Drivers finished install process."
return 0
}

Expand Down
2 changes: 1 addition & 1 deletion sdk/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ if [[ $# -ne 0 ]]; then
fi
as_root make -C "${MCM_SDK_DIR}" install

ln -s "${MCM_SDK_DIR}" "${SCRIPT_DIR}/build"
ln -sf "${MCM_SDK_DIR}" "${SCRIPT_DIR}/build"
1 change: 0 additions & 1 deletion versions.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
BPF_VER=42065ea6627ff6e1ab4c65e51042a70fbf30ff7c
DPDK_VER=23.11
GPRC_VER=v1.68.2
IAVF_VER=4.12.5
ICE_VER=1.14.9
ICE_DMID=822519
IRDMA_VER=1.16.10
Expand Down

0 comments on commit d68d0b1

Please sign in to comment.