> -----Original Message-----
> From: Hemant Agrawal [mailto:hemant.agra...@nxp.com]
> Sent: Monday, December 19, 2016 8:54 PM
> To: dev@dpdk.org
> Cc: thomas.monja...@6wind.com; Richardson, Bruce
> <bruce.richard...@intel.com>; shreyansh.j...@nxp.com; Mcnamara, John
> <john.mcnam...@intel.com>; Yigit, Ferruh <ferruh.yi...@intel.com>;
> jerin.ja...@caviumnetworks.com; Hemant Agrawal <hemant.agra...@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>


Reply via email to