X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fnics%2Fthunderx.rst;h=a928a790e3898bebfb43129fc83fe5e36ad994ee;hb=b94c709decbe39582c68cf3605745b60a4f7985a;hp=f42133e5464d9b7a5368b48151b28270b9b88238;hpb=5d24d6a55025c58ae9e890851e21cb861839cb66;p=dpdk.git diff --git a/doc/guides/nics/thunderx.rst b/doc/guides/nics/thunderx.rst index f42133e546..a928a790e3 100644 --- a/doc/guides/nics/thunderx.rst +++ b/doc/guides/nics/thunderx.rst @@ -43,26 +43,6 @@ Prerequisites ------------- - Follow the DPDK :ref:`Getting Started Guide for Linux ` to setup the basic DPDK environment. -Pre-Installation Configuration ------------------------------- - -Config File Options -~~~~~~~~~~~~~~~~~~~ - -The following options can be modified in the ``config`` file. -Please note that enabling debugging options may affect system performance. - -- ``CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD`` (default ``y``) - - Toggle compilation of the ``librte_pmd_thunderx_nicvf`` driver. - -- ``CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_RX`` (default ``n``) - - Toggle asserts of receive fast path. - -- ``CONFIG_RTE_LIBRTE_THUNDERX_NICVF_DEBUG_TX`` (default ``n``) - - Toggle asserts of transmit fast path. Driver compilation and testing ------------------------------ @@ -70,8 +50,7 @@ Driver compilation and testing Refer to the document :ref:`compiling and testing a PMD for a NIC ` for details. -To compile the ThunderX NICVF PMD for Linux arm64 gcc, -use arm64-thunderx-linux-gcc as target. +Use config/arm/arm64-thunderx-linux-gcc as a meson cross-file when cross-compiling. Linux ----- @@ -156,7 +135,7 @@ This section provides instructions to configure SR-IOV with Linux OS. -netdev tap,id=net0,ifname=tap0,script=/etc/qemu-ifup_thunder \ -device virtio-net-device,netdev=net0 \ -serial stdio \ - -mem-path /dev/huge + -mem-path /dev/hugepages #. Enable **VFIO-NOIOMMU** mode (optional): @@ -178,7 +157,7 @@ This section provides instructions to configure SR-IOV with Linux OS. .. code-block:: console - ./arm64-thunderx-linux-gcc/app/testpmd -l 0-3 -n 4 -w 0002:01:00.2 \ + .//app/dpdk-testpmd -l 0-3 -n 4 -w 0002:01:00.2 \ -- -i --no-flush-rx \ --port-topology=loop