LS2088ARDB Ethernet port mapping

Document created by Swati Gupta Employee on Sep 5, 2019Last modified by Swati Gupta Employee on Jan 23, 2020
Version 11Show Document
  • View in full screen mode

In the U-Boot log, the names of the Ethernet interfaces are printed in the format <name>@<interface type>, for example, DPMAC2@xgmii. DPMAC is a DPAA2 object that identifies the physical interface. 

 

For Linux, in TinyDistro as well as in Ubuntu distribution, by default, only one MAC is enabled as a standard Kernel Ethernet Interface. This interface is named eth0 by default (or eth1 if PCI Express network interface card is discovered first).

 

For details regarding creation of a DPAA2 network interface (DPNI) in Linux, see "LSDK Quick Start Guide for LS2088ARDB -> Bringing up DPAA2 network interfaces" in Layerscape Software Development Kit User Guide.

 

The table below shows the mapping of Ethernet port names appearing on the chassis front panel with the port names in U-Boot and Linux for LS2088ARDB. 

In Linux, the mapping of Ethernet port names is not strict. The port names are mapped based on the order in which the Ethernet interfaces are created. As an example, consider a DPL file which defines only one DPMAC object, DPMAC3. When Linux starts, if a net device is created using DPMAC3, it will be labeled eth1 (assuming PCIe interface is eth0).

            

 

Port name on chassisPort name in U-BootPort name in Linux (tinyDistro and Ubuntu
userland)
Description
ETH0 DPMAC5@xgmii

eth0 by default
(or eth1 if PCI
Express network
interface card is discovered
first)

XFI copper interface
ETH1DPMAC6@xgmiinot enabled by
default
XFI copper interface
ETH2DPMAC7@xgmiinot enabled by
default
XFI copper interface
ETH3DPMAC8@xgmiinot enabled by
default
XFI copper interface
ETH4DPMAC1@xgmiinot enabled by
default
XFI copper interface
ETH5DPMAC2@xgmiinot enabled by
default
XFI copper interface
ETH6DPMAC3@xgmiinot enabled by
default
XFI copper interface
ETH7DPMAC4@xgmiinot enabled by
default
XFI copper interface

Attachments

    Outcomes