-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: dsa: lan9303: Added Documentation/networking/dsa/lan9303.txt
Provide a rough overview of the state of the driver. And explain that the driver operates in two modes: bridged and port-separated. Signed-off-by: Egil Hjelmeland <egil.hjelmeland@zenitel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Egil Hjelmeland
authored and
David S. Miller
committed
Nov 2, 2017
1 parent
6e1a288
commit b35be41
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
LAN9303 Ethernet switch driver | ||
============================== | ||
|
||
The LAN9303 is a three port 10/100 ethernet switch with integrated phys for the | ||
two external ethernet ports. The third port is an RMII/MII interface to a host | ||
master network interface (e.g. fixed link). | ||
|
||
|
||
Driver details | ||
============== | ||
|
||
The driver is implemented as a DSA driver, see | ||
Documentation/networking/dsa/dsa.txt. | ||
|
||
See Documentation/devicetree/bindings/net/dsa/lan9303.txt for device tree | ||
binding. | ||
|
||
The LAN9303 can be managed both via MDIO and I2C, both supported by this driver. | ||
|
||
At startup the driver configures the device to provide two separate network | ||
interfaces (which is the default state of a DSA device). Due to HW limitations, | ||
no HW MAC learning takes place in this mode. | ||
|
||
When both user ports are joined to the same bridge, the normal HW MAC learning | ||
is enabled. This means that unicast traffic is forwarded in HW. Broadcast and | ||
multicast is flooded in HW. STP is also supported in this mode. The driver | ||
support fdb/mdb operations as well, meaning IGMP snooping is supported. | ||
|
||
If one of the user ports leave the bridge, the ports goes back to the initial | ||
separated operation. | ||
|
||
|
||
Driver limitations | ||
================== | ||
|
||
- Support for VLAN filtering is not implemented | ||
- The HW does not support VLAN-specific fdb entries |