[dpdk-dev] [PATCHv2 03/34] doc: add dpaa2 nic details
Mcnamara, John
john.mcnamara at intel.com
Wed Dec 21 19:45:08 CET 2016
> -----Original Message-----
> From: Hemant Agrawal [mailto:hemant.agrawal at nxp.com]
> Sent: Monday, December 19, 2016 8:54 PM
> To: dev at dpdk.org
> Cc: thomas.monjalon at 6wind.com; Richardson, Bruce
> <bruce.richardson at intel.com>; shreyansh.jain at nxp.com; Mcnamara, John
> <john.mcnamara at intel.com>; Yigit, Ferruh <ferruh.yigit at intel.com>;
> jerin.jacob at caviumnetworks.com; Hemant Agrawal <hemant.agrawal at nxp.com>
> Subject: [PATCHv2 03/34] doc: add dpaa2 nic details
>
> This patch adds the NXP dpaa2 architecture and pmd details in the Network
> interfaces section.
>
>
> ...
>
> +
> +
> +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
> +
> + .. code-block:: console
> +
> + export the DPRC container
> + e.g. export DPRCT=dprc.2
> +
> +#. Start ``testpmd`` with basic parameters:
> +
> + .. 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>
> +
The indentation of the RST elements is slightly wrong here resulting in the output
Html looking a bit odd. The following is probably closer to what is intended:
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
.. code-block:: console
export the DPRC container
e.g. export DPRCT=dprc.2
#. Start ``testpmd`` with basic parameters:
.. 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>
More information about the dev
mailing list