Changeset 6d17620 for test


Ignore:
Timestamp:
04/30/18 14:01:04 (2 years ago)
Author:
Richard Sanger <rsanger@…>
Branches:
cachetimestamps, develop, etsilive, master, rc-4.0.4, ringdecrementfix, ringperformance
Children:
1f7f10c, bd51874
Parents:
c22a4bb
Message:

Updates to DPDK to build with 18.02.1

  • Updates to improve backwards compatibility
  • Update to use a new portid_t as the size has changed between releases
  • Fix bug with variable order in tx, both values were zero so this didn't matter
  • Update build script to test newer dpdk versions, remove older versions no longer supported by new kernels
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/do-test-build-dpdk.sh

    rcaf7841 r6d17620  
    2323}
    2424
    25 # Versions to check
     25# Old kernel version jessie 3.16
    2626declare -a dpdk_versions=(
    2727        "dpdk-1.7.1.tar.gz"
     
    3131        "dpdk-2.2.0.tar.gz"
    3232        "dpdk-16.04.tar.gz"
    33         "dpdk-16.07.tar.gz"
    34         "dpdk-16.11.tar.gz"
     33        "dpdk-16.07.2.tar.gz"
     34        "dpdk-16.11.6.tar.gz"
    3535        )
     36# Versions to check stretch linux 4.9
     37declare -a dpdk_versions=(
     38        "dpdk-2.2.0.tar.gz"
     39        "dpdk-16.04.tar.gz"
     40        "dpdk-16.07.2.tar.gz"
     41        "dpdk-16.11.6.tar.gz"
     42        "dpdk-17.02.1.tar.gz"
     43        "dpdk-17.05.2.tar.gz"
     44        "dpdk-17.08.2.tar.gz"
     45        "dpdk-17.11.2.tar.gz"
     46        "dpdk-18.02.1.tar.gz"
     47        )
     48
    3649
    3750mkdir "$DOWNLOAD_DIR" > /dev/null 2>&1
     
    6073# Build the DPDK libraries
    6174# We try to not overwrite these, so that a rebuild is faster
     75# We build DPDK without KNI, as most kernel dependent code is there
     76#   - also excluding makes the build faster
     77# We also disable error on warning, to improve forwards compiler compatibility
    6278cd "$DOWNLOAD_DIR"
    6379for dpdk_build in $(ls -d */)
     
    6783        do_test make install T=x86_64-native-linuxapp-gcc \
    6884                             CONFIG_RTE_BUILD_COMBINE_LIBS=y \
    69                              EXTRA_CFLAGS="-fPIC" -j $BUILD_THREADS \
     85                             CONFIG_RTE_LIBRTE_KNI=n \
     86                             CONFIG_RTE_KNI_KMOD=n \
     87                             EXTRA_CFLAGS="-fPIC -w" -j $BUILD_THREADS \
    7088                             > build_stdout.txt 2> build_stderr.txt
    7189        cd ..
Note: See TracChangeset for help on using the changeset viewer.