Last active
June 27, 2019 23:38
-
-
Save krsna1729/8f0265743d8953d4e6286db7ed9c4ad6 to your computer and use it in GitHub Desktop.
AF_XDP DPDK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM fedora:30 | |
RUN dnf -y groupinstall "Development Tools" | |
RUN dnf -y install numactl-devel libbpf-devel wget xz | |
ENV DPDK_VER=19.05 | |
ENV RTE_SDK="./dpdk" | |
ENV RTE_TARGET='x86_64-native-linuxapp-gcc' | |
RUN wget https://fast.dpdk.org/rel/dpdk-${DPDK_VER}.tar.xz \ | |
&& mkdir -p dpdk \ | |
&& tar -xvf dpdk-${DPDK_VER}.tar.xz -C ${RTE_SDK} --strip-components 1 \ | |
&& cd ${RTE_SDK} && ls config \ | |
&& sed -ri 's,(IGB_UIO=).*,\1n,' config/common_linux \ | |
&& sed -ri 's,(KNI_KMOD=).*,\1n,' config/common_linux \ | |
&& sed -ri 's,(AF_XDP=).*,\1y,' config/common_base \ | |
&& make -j $CPUS install T=${RTE_TARGET} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment