diff options
author | Maxim Uvarov <maxim.uvarov@linaro.org> | 2016-03-25 09:27:42 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2016-04-01 16:30:43 +0300 |
commit | 9d90132a0e1cb32fbbfd54b0aafca27205a3e354 (patch) | |
tree | 86a0a255ce2210f6a8299e830a2046f3aba58536 /DEPENDENCIES | |
parent | d6804dcd6dca05b3ffbead3fc9388c401b8ef029 (diff) |
DEPENDENCIES: take a note about scripts/build-pktio-dpdk
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Mike Holmes <mike.holmes@linaro.org>
Diffstat (limited to 'DEPENDENCIES')
-rw-r--r-- | DEPENDENCIES | 35 |
1 files changed, 9 insertions, 26 deletions
diff --git a/DEPENDENCIES b/DEPENDENCIES index 0091f24ce..c83fc365c 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -76,7 +76,7 @@ Prerequisites for building the OpenDataPlane (ODP) API --with-openssl-path=/home/user/src/install-openssl-aarch64 $ make -3.3 Netmap (optional) +3.3 Netmap packet I/O support (optional) Netmap accelerated ODP packet I/O. @@ -155,29 +155,19 @@ Prerequisites for building the OpenDataPlane (ODP) API netmap kernel module is loaded. If socket I/O is desired instead, it can be activated by setting the environment variable ODP_PKTIO_DISABLE_NETMAP. -3.4 DPDK (optional) +3.4 DPDK packet I/O support (optional) Use DPDK for ODP packet I/O. -3.4.1 Building DPDK + Note: only packet I/O is accelerated with DPDK. Use + https://git.linaro.org/lng/odp-dpdk.git + for fully accelerated odp dpdk platform. - DPDK packet I/O has been tested to work with DPDK v2.2.0. - - # Checkout DPDK code - $ git clone http://dpdk.org/git/dpdk - $ cd dpdk - $ git checkout v2.2.0 +3.4.1 Building DPDK and ODP with DPDK pktio support - # Make and edit DPDK configuration - $ make config T=x86_64-native-linuxapp-gcc O=x86_64-native-linuxapp-gcc - $ cd x86_64-native-linuxapp-gcc - $ sed -ri 's,(CONFIG_RTE_BUILD_COMBINE_LIBS=).*,\1y,' .config - # To use I/O without DPDK supported NIC's enable pcap pmd: - $ sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config - $ cd .. + DPDK packet I/O has been tested to work with DPDK v2.2.0. - # Build DPDK - $ make install T=x86_64-native-linuxapp-gcc EXTRA_CFLAGS="-fPIC" + Follow steps in ./scripts/build-pktio-dpdk 3.4.2 Setup system @@ -191,14 +181,7 @@ Prerequisites for building the OpenDataPlane (ODP) API 512 x 2MB hugepages. All this can be done with the DPDK setup script (<dpdk-dir>/tools/setup.sh). -3.4.3 Building ODP - - $ cd <odp_dir> - $ ./bootstrap - $ ./configure --with-dpdk-path=<dpdk_dir>/x86_64-native-linuxapp-gcc - $ make - -3.4.4 Running ODP with DPDK I/O +3.4.3 Running ODP with DPDK pktio ODP applications will try use DPDK for packet I/O by default. If some other I/O type is desired instead, DPDK I/O can be disabled by setting the |