TS-4712 Ethernet: Difference between revisions

From embeddedTS Manuals
(Created page with "The Marvell Processor implements a 10/100 ethernet controller with support built into the Linux kernel. The TS-4712 includes an integrated Ethernet switch which act as indivi...")
 
No edit summary
Line 1: Line 1:
The Marvell Processor implements a 10/100 ethernet controller with support built into the Linux kernel.  The TS-4712 includes an integrated Ethernet switch which act as individual ethernet ports in Linux.
The Marvell Processor implements a 10/100 ethernet controller with support built into the Linux kernel.  The TS-4712 includes an integrated Marvell Ethernet switch that allows multiple interfaces from one 10/100 port.  This allows a total bandwidth of 100MB/s between both ports.


You can use standard Linux utilities such as ifconfig/ip to control this interface.  See the [[#Configuring the Network]] section for more details.  For the specifics of this interface see the [http://www.marvell.com/application-processors/armada-100/assets/armada_16x_software_manual.pdf CPU manual].
{|
| [[File:EthSwitch.png]]
|}
 
The default configuration will have the ports act as 2 individual ports on baseboards where this is supported.  When in this mode all network traffic should be directed to eth0.1 and eth0.2, but not eth0 which will not be forwarded outside of the switch.  On baseboards where the second port supports the VLAN ethernet, you can set soft jumper #2 to switch from vlan mode to switch mode.
<source lang=bash>
tshwctl --setjp 2
</source>
On the next boot the eth0.1 and eth0.2 ports will not be present.  In this case the switch is configured to transparently pass through packets rather than configuring the VLANs, so eth0 should be used.
 
{{Note|Some baseboards create 2 Ethernet ports using a USB Ethernet controller which will only transparently pass packets through the switch.  This includes the TS-8100, TS-8390, and TS-8900.}}
 
You can use standard Linux utilities such as ifconfig/ip to control eth0 and the vlan interfaces.  See the [[#Configuring the Network]] section for more details.  For the specifics of this interface see the [http://www.marvell.com/application-processors/armada-100/assets/armada_16x_software_manual.pdf CPU manual].

Revision as of 10:33, 22 April 2013

The Marvell Processor implements a 10/100 ethernet controller with support built into the Linux kernel. The TS-4712 includes an integrated Marvell Ethernet switch that allows multiple interfaces from one 10/100 port. This allows a total bandwidth of 100MB/s between both ports.

EthSwitch.png

The default configuration will have the ports act as 2 individual ports on baseboards where this is supported. When in this mode all network traffic should be directed to eth0.1 and eth0.2, but not eth0 which will not be forwarded outside of the switch. On baseboards where the second port supports the VLAN ethernet, you can set soft jumper #2 to switch from vlan mode to switch mode.

tshwctl --setjp 2

On the next boot the eth0.1 and eth0.2 ports will not be present. In this case the switch is configured to transparently pass through packets rather than configuring the VLANs, so eth0 should be used.

Note: Some baseboards create 2 Ethernet ports using a USB Ethernet controller which will only transparently pass packets through the switch. This includes the TS-8100, TS-8390, and TS-8900.

You can use standard Linux utilities such as ifconfig/ip to control eth0 and the vlan interfaces. See the #Configuring the Network section for more details. For the specifics of this interface see the CPU manual.