mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
Merge pull request #1029 from intel/dlb-driver-version-update
dlb: update driver version to new release
This commit is contained in:
commit
cc16045f1f
@ -33,9 +33,9 @@ If you configure SR-IOV/VF (virtual functions), continue the following configura
|
||||
|
||||
Patch dpdk sources to work with DLB:
|
||||
```bash
|
||||
$ wget -q https://fast.dpdk.org/rel/dpdk-20.11.3.tar.xz -O- | tar -Jx
|
||||
$ wget -q https://downloadmirror.intel.com/690271/dlblinuxsrcrelease7.4.020211006.txz -O- | tar -Jx
|
||||
$ cd ./dpdk-stable-20.11.3 && patch -p1 < ../dlb/dpdk/dpdk_dlb_v20.11.3_29751a4_diff.patch
|
||||
$ wget -q https://fast.dpdk.org/rel/dpdk-20.11.4.tar.xz -O- | tar -Jx
|
||||
$ wget -q https://downloadmirror.intel.com/727424/dlb_linux_src_release7.6.0_2022_03_30.txz -O- | tar -Jx
|
||||
$ cd ./dpdk-stable-20.11.4/ && patch -p1 < ../dlb/dpdk/dpdk_dlb_v20.11.4_75c6f0a_diff.patch
|
||||
$ sed -i 's/270b,2710,2714/270b,2710,2711,2714/g' ./usertools/dpdk-devbind.py
|
||||
```
|
||||
|
||||
@ -109,7 +109,7 @@ Run libdlb example app:
|
||||
|
||||
```bash
|
||||
$ ls
|
||||
dlb dpdk-stable-20.11.3
|
||||
dlb dpdk-stable-20.11.4
|
||||
$ cd ./dlb/libdlb/ && make && sudo LD_LIBRARY_PATH=$PWD ./examples/dir_traffic -n 128 -d 1
|
||||
# For running test for /dev/dlbN, replace 1 with N.
|
||||
```
|
||||
@ -122,8 +122,8 @@ Run dpdk example app:
|
||||
$ sudo apt-get update && sudo apt-get install build-essential meson python3-pyelftools libnuma-dev python3-pip && sudo pip install ninja
|
||||
# This configuration is based on Ubuntu/Debian distribution. For other distributions that do not use apt, install the dependencies using another way.
|
||||
$ ls
|
||||
dlb dpdk-stable-20.11.3
|
||||
$ cd ./dpdk-stable-20.11.3 && meson setup --prefix $(pwd)/installdir builddir && ninja -C builddir install
|
||||
dlb dpdk-stable-20.11.4
|
||||
$ cd ./dpdk-stable-20.11.4 && meson setup --prefix $(pwd)/installdir builddir && ninja -C builddir install
|
||||
```
|
||||
|
||||
- Run eventdev test
|
||||
|
@ -7,16 +7,16 @@ RUN apt-get update && apt-get install -y wget build-essential meson python3-pyel
|
||||
RUN pip install ninja
|
||||
|
||||
# Download & unpack DLB tarball
|
||||
ARG DLB_TARBALL="dlb_linux_src_release_7.5.0_2022_01_13.txz"
|
||||
ARG DLB_TARBALL_SHA256="ae6895ce961c331ead44982dca11e931012da8efb6ed1e8309f3af860262bf62"
|
||||
ARG DLB_TARBALL="dlb_linux_src_release7.6.0_2022_03_30.txz"
|
||||
ARG DLB_TARBALL_SHA256="b74c1bb2863fb6374bf80b9268b5978ab7b9d4eabb2d47ea427a5460aa3ae5fe"
|
||||
|
||||
RUN wget https://downloadmirror.intel.com/713567/$DLB_TARBALL \
|
||||
RUN wget https://downloadmirror.intel.com/727424/$DLB_TARBALL \
|
||||
&& echo "$DLB_TARBALL_SHA256 $DLB_TARBALL" | sha256sum -c - \
|
||||
&& tar -Jxf $DLB_TARBALL --no-same-owner && rm $DLB_TARBALL
|
||||
|
||||
# Download & unpack DPDK tarball
|
||||
ARG DPDK_TARBALL=dpdk-20.11.3.tar.xz
|
||||
ARG DPDK_TARBALL_SHA256="898680458a4010f421fab760aef47369b74d2954e3560841df3cd7b98076b841"
|
||||
ARG DPDK_TARBALL=dpdk-20.11.4.tar.xz
|
||||
ARG DPDK_TARBALL_SHA256="78028c6a9f4d247b5215ca156b6dbeb03f68a99ca00109c347615a46c1856d6a"
|
||||
|
||||
RUN wget -q https://fast.dpdk.org/rel/$DPDK_TARBALL \
|
||||
&& echo "$DPDK_TARBALL_SHA256 $DPDK_TARBALL" | sha256sum -c - \
|
||||
|
@ -6,10 +6,10 @@ WORKDIR /dlb-build
|
||||
RUN apt-get update && apt-get install -y wget xz-utils make gcc
|
||||
|
||||
# Download and unpack DLB Driver tarball
|
||||
ARG DLB_DRIVER_RELEASE="dlb_linux_src_release_7.5.0_2022_01_13.txz"
|
||||
ARG DLB_DRIVER_SHA256="ae6895ce961c331ead44982dca11e931012da8efb6ed1e8309f3af860262bf62"
|
||||
ARG DLB_DRIVER_RELEASE="dlb_linux_src_release7.6.0_2022_03_30.txz"
|
||||
ARG DLB_DRIVER_SHA256="b74c1bb2863fb6374bf80b9268b5978ab7b9d4eabb2d47ea427a5460aa3ae5fe"
|
||||
|
||||
RUN wget https://downloadmirror.intel.com/713567/$DLB_DRIVER_RELEASE \
|
||||
RUN wget https://downloadmirror.intel.com/727424/$DLB_DRIVER_RELEASE \
|
||||
&& echo "$DLB_DRIVER_SHA256 $DLB_DRIVER_RELEASE" | sha256sum -c - \
|
||||
&& tar -xvf *.txz --no-same-owner
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user