t2: Update DPDK version for build with T2 support

Update the DPDK version for fhi72 build with T2 support from 22.11 to
22.11.3 to align with LDPC_OFFLOAD_SETUP.md. Both 22.11 and 22.11.3 are
compatible with the AMD-T2-SDFEC_25-03-1.patch and have been tested with
the T2 card.
Signed-off-by: default avatarJaroslava Fiedlerova <jaroslava.fiedlerova@openairinterface.org>
parent 509ffa8e
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
FROM ran-base:latest AS ran-base FROM ran-base:latest AS ran-base
ARG xran_VERSION=11.1.5 ARG xran_VERSION=11.1.5
ARG DPDK_VERSION=22.11 ARG DPDK_VERSION=22.11.3
ARG T2_PATCH=AMD-T2-SDFEC_25-03-1.patch ARG T2_PATCH=AMD-T2-SDFEC_25-03-1.patch
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe ENV TZ=Europe
...@@ -31,9 +31,9 @@ WORKDIR /oai-ran ...@@ -31,9 +31,9 @@ WORKDIR /oai-ran
## Copy T2 patch ## Copy T2 patch
COPY ./$T2_PATCH /opt/. COPY ./$T2_PATCH /opt/.
## Download and build DPDK ## Download and build DPDK
RUN wget http://fast.dpdk.org/rel/dpdk-$DPDK_VERSION.tar.xz && \ RUN wget --no-verbose http://fast.dpdk.org/rel/dpdk-$DPDK_VERSION.tar.xz && \
tar -xvf dpdk-$DPDK_VERSION.tar.xz && \ tar -xvf dpdk-$DPDK_VERSION.tar.xz && \
cd dpdk-$DPDK_VERSION && \ cd dpdk-stable-$DPDK_VERSION && \
patch -p1 < /opt/$T2_PATCH && \ patch -p1 < /opt/$T2_PATCH && \
meson build && \ meson build && \
taskset -c 0-$(grep ^processor /proc/cpuinfo | wc -l) ninja -C build && \ taskset -c 0-$(grep ^processor /proc/cpuinfo | wc -l) ninja -C build && \
...@@ -44,7 +44,7 @@ RUN git clone https://github.com/openairinterface/o-du-phy.git /opt/phy && \ ...@@ -44,7 +44,7 @@ RUN git clone https://github.com/openairinterface/o-du-phy.git /opt/phy && \
cd /opt/phy && \ cd /opt/phy && \
git checkout $xran_VERSION &&\ git checkout $xran_VERSION &&\
cd /opt/phy/fhi_lib/lib && \ cd /opt/phy/fhi_lib/lib && \
WIRELESS_SDK_TOOLCHAIN=gcc RTE_SDK=/oai-ran/dpdk-$DPDK_VERSION/ XRAN_DIR=/opt/phy/fhi_lib make XRAN_LIB_SO=1 WIRELESS_SDK_TOOLCHAIN=gcc RTE_SDK=/oai-ran/dpdk-stable-$DPDK_VERSION/ XRAN_DIR=/opt/phy/fhi_lib make XRAN_LIB_SO=1
COPY . . COPY . .
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment