* [dpdk-dev] [PATCH] doc: cleanup testpmd section in DPAA2 PMD guide
@ 2017-04-13 9:33 Shreyansh Jain
2017-04-13 10:09 ` Ferruh Yigit
2017-04-14 16:02 ` Mcnamara, John
0 siblings, 2 replies; 3+ messages in thread
From: Shreyansh Jain @ 2017-04-13 9:33 UTC (permalink / raw)
To: ferruh.yigit; +Cc: dev, john.mcnamara, hemant.agrawal, Shreyansh Jain
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
---
Note:
Targetted for net-next, including Shijith's [1] clean-up patch for
documentation
[1] http://dpdk.org/ml/archives/dev/2017-April/063822.html
doc/guides/nics/dpaa2.rst | 81 ++++++++++++++++++-----------------------------
1 file changed, 30 insertions(+), 51 deletions(-)
diff --git a/doc/guides/nics/dpaa2.rst b/doc/guides/nics/dpaa2.rst
index 46225b6..9e7dd4d 100644
--- a/doc/guides/nics/dpaa2.rst
+++ b/doc/guides/nics/dpaa2.rst
@@ -534,67 +534,46 @@ Please note that enabling debugging options may affect system performance.
Toggle display of transmit fast path buffer free run-time message
+Driver compilation and testing
+------------------------------
-Driver Compilation
-~~~~~~~~~~~~~~~~~~
-
-To compile the DPAA2 PMD for Linux arm64 gcc target, run the
-following ``make`` command:
-
-.. code-block:: console
-
- cd <DPDK-source-directory>
- make config T=arm64-dpaa2-linuxapp-gcc install
-
-.. _dpaa2_testpmd_example:
-
-Running testpmd
-~~~~~~~~~~~~~~~
-
-This section demonstrates how to launch ``testpmd`` with DPAA2 device
-managed by ``librte_pmd_dpaa2`` in the Linux operating system.
-
-#. Configure the resource container:
-
- Configure resources in MC and create the DPRC container:
+Refer to the document :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`
+for details.
- .. code-block:: console
+#. Running testpmd:
- export the DPRC container
- e.g. export DPRCT=dprc.2
+ Follow instructions available in the document
+ :ref:`compiling and testing a PMD for a NIC <pmd_build_and_test>`
+ to run testpmd.
-#. Start ``testpmd`` with basic parameters:
+ Example output:
.. code-block:: console
./arm64-dpaa2-linuxapp-gcc/testpmd -c 0xff -n 1 \
-- -i --portmask=0x3 --nb-cores=1 --no-flush-rx
- Example output:
-
- .. code-block:: console
-
- .....
- EAL: Registered [pci] bus.
- EAL: Registered [fslmc] bus.
- EAL: Detected 8 lcore(s)
- EAL: Probing VFIO support...
- EAL: VFIO support initialized
- .....
- PMD: DPAA2: Processing Container = dprc.2
- EAL: fslmc: DPRC contains = 51 devices
- EAL: fslmc: Bus scan completed
- .....
- Configuring Port 0 (socket 0)
- Port 0: 00:00:00:00:00:01
- Configuring Port 1 (socket 0)
- Port 1: 00:00:00:00:00:02
- .....
- Checking link statuses...
- Port 0 Link Up - speed 10000 Mbps - full-duplex
- Port 1 Link Up - speed 10000 Mbps - full-duplex
- Done
- testpmd>
+ .....
+ EAL: Registered [pci] bus.
+ EAL: Registered [fslmc] bus.
+ EAL: Detected 8 lcore(s)
+ EAL: Probing VFIO support...
+ EAL: VFIO support initialized
+ .....
+ PMD: DPAA2: Processing Container = dprc.2
+ EAL: fslmc: DPRC contains = 51 devices
+ EAL: fslmc: Bus scan completed
+ .....
+ Configuring Port 0 (socket 0)
+ Port 0: 00:00:00:00:00:01
+ Configuring Port 1 (socket 0)
+ Port 1: 00:00:00:00:00:02
+ .....
+ Checking link statuses...
+ Port 0 Link Up - speed 10000 Mbps - full-duplex
+ Port 1 Link Up - speed 10000 Mbps - full-duplex
+ Done
+ testpmd>
Limitations
-----------
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] doc: cleanup testpmd section in DPAA2 PMD guide
2017-04-13 9:33 [dpdk-dev] [PATCH] doc: cleanup testpmd section in DPAA2 PMD guide Shreyansh Jain
@ 2017-04-13 10:09 ` Ferruh Yigit
2017-04-14 16:02 ` Mcnamara, John
1 sibling, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2017-04-13 10:09 UTC (permalink / raw)
To: Shreyansh Jain; +Cc: dev, john.mcnamara, hemant.agrawal
On 4/13/2017 10:33 AM, Shreyansh Jain wrote:
> Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] doc: cleanup testpmd section in DPAA2 PMD guide
2017-04-13 9:33 [dpdk-dev] [PATCH] doc: cleanup testpmd section in DPAA2 PMD guide Shreyansh Jain
2017-04-13 10:09 ` Ferruh Yigit
@ 2017-04-14 16:02 ` Mcnamara, John
1 sibling, 0 replies; 3+ messages in thread
From: Mcnamara, John @ 2017-04-14 16:02 UTC (permalink / raw)
To: Shreyansh Jain, Yigit, Ferruh; +Cc: dev, hemant.agrawal
> -----Original Message-----
> From: Shreyansh Jain [mailto:shreyansh.jain@nxp.com]
> Sent: Thursday, April 13, 2017 10:34 AM
> To: Yigit, Ferruh <ferruh.yigit@intel.com>
> Cc: dev@dpdk.org; Mcnamara, John <john.mcnamara@intel.com>;
> hemant.agrawal@nxp.com; Shreyansh Jain <shreyansh.jain@nxp.com>
> Subject: [PATCH] doc: cleanup testpmd section in DPAA2 PMD guide
>
> Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-14 16:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-13 9:33 [dpdk-dev] [PATCH] doc: cleanup testpmd section in DPAA2 PMD guide Shreyansh Jain
2017-04-13 10:09 ` Ferruh Yigit
2017-04-14 16:02 ` Mcnamara, John
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).