X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fnics%2Fbuild_and_test.rst;h=3138c0f880c3ef884f66bae494b69759620f5b86;hb=f5057be340e44f3edc0fe90fa875eb89a4c49b4f;hp=62ac52cf84e96f57ba0677121beeeb2d4cf2b37d;hpb=a9263e3c5ad0b71adb95d686c1c3153865b0e1d2;p=dpdk.git diff --git a/doc/guides/nics/build_and_test.rst b/doc/guides/nics/build_and_test.rst index 62ac52cf84..3138c0f880 100644 --- a/doc/guides/nics/build_and_test.rst +++ b/doc/guides/nics/build_and_test.rst @@ -19,45 +19,12 @@ information on how to build and run testpmd. Driver Compilation ------------------ -To compile a PMD for a platform, run make with appropriate target as shown below. -Use "make" command in Linux and "gmake" in FreeBSD. This will also build testpmd. +To compile a PMD for a platform, build DPDK +as described in the "Getting Started Guide" for your platform. +This will also build testpmd. -To check available targets: - -.. code-block:: console - - cd - make showconfigs - -Example output: - -.. code-block:: console - - arm-armv7a-linuxapp-gcc - arm64-armv8a-linuxapp-gcc - arm64-dpaa2-linuxapp-gcc - arm64-thunderx-linuxapp-gcc - arm64-xgene1-linuxapp-gcc - i686-native-linuxapp-gcc - i686-native-linuxapp-icc - ppc_64-power8-linuxapp-gcc - x86_64-native-bsdapp-clang - x86_64-native-bsdapp-gcc - x86_64-native-linuxapp-clang - x86_64-native-linuxapp-gcc - x86_64-native-linuxapp-icc - x86_x32-native-linuxapp-gcc - -To compile a PMD for Linux x86_64 gcc target, run the following "make" command: - -.. code-block:: console - - make install T=x86_64-native-linuxapp-gcc - -Use ARM (ThunderX, DPAA, X-Gene) or PowerPC target for respective platform. - -For more information, refer to the :ref:`Getting Started Guide for Linux ` -or :ref:`Getting Started Guide for FreeBSD ` depending on your platform. +Detailed instructions are available +in the :doc:`meson build guide <../prog_guide/build-sdk-meson>`. Running testpmd in Linux ------------------------ @@ -102,7 +69,7 @@ This section demonstrates how to setup and run ``testpmd`` in Linux. .. code-block:: console modprobe uio - insmod ./x86_64-native-linuxapp-gcc/kmod/igb_uio.ko + insmod ./x86_64-native-linux-gcc/kmod/igb_uio.ko or @@ -139,7 +106,7 @@ This section demonstrates how to setup and run ``testpmd`` in Linux. .. code-block:: console - ./x86_64-native-linuxapp-gcc/app/testpmd -l 0-3 -n 4 -- -i + ./x86_64-native-linux-gcc/app/testpmd -l 0-3 -n 4 -- -i Successful execution will show initialization messages from EAL, PMD and testpmd application. A prompt will be displayed at the end for user commands @@ -151,3 +118,7 @@ This section demonstrates how to setup and run ``testpmd`` in Linux. Refer to the :ref:`testpmd runtime functions ` for a list of available commands. + + .. note:: + When ``testpmd`` is built with shared library, use option ``-d`` to load + the dynamic PMD for ``rte_eal_init``.