blob: 45a8395e037376cedc9df2cd2a16df9a723fbbac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
.. SPDX-License-Identifier: BSD-3-Clause
Copyright(c) 2010-2014 Intel Corporation.
Compiling the Application
=========================
The ``testpmd`` application is compiled as part of the main compilation of the DPDK libraries and tools.
Refer to the DPDK Getting Started Guides for details.
The basic compilation steps are:
#. Set the required environmental variables and go to the source directory:
.. code-block:: console
export RTE_SDK=/path/to/rte_sdk
cd $RTE_SDK
#. Set the compilation target. For example:
.. code-block:: console
export RTE_TARGET=x86_64-native-linuxapp-gcc
#. Build the application:
.. code-block:: console
make install T=$RTE_TARGET
The compiled application will be located at:
.. code-block:: console
$RTE_SDK/$RTE_TARGET/app/testpmd
|