Skip to content

Commit b35be41

Browse files
Egil Hjelmelanddavem330
authored andcommitted
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 6e1a288 commit b35be41

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
LAN9303 Ethernet switch driver
2+
==============================
3+
4+
The LAN9303 is a three port 10/100 ethernet switch with integrated phys for the
5+
two external ethernet ports. The third port is an RMII/MII interface to a host
6+
master network interface (e.g. fixed link).
7+
8+
9+
Driver details
10+
==============
11+
12+
The driver is implemented as a DSA driver, see
13+
Documentation/networking/dsa/dsa.txt.
14+
15+
See Documentation/devicetree/bindings/net/dsa/lan9303.txt for device tree
16+
binding.
17+
18+
The LAN9303 can be managed both via MDIO and I2C, both supported by this driver.
19+
20+
At startup the driver configures the device to provide two separate network
21+
interfaces (which is the default state of a DSA device). Due to HW limitations,
22+
no HW MAC learning takes place in this mode.
23+
24+
When both user ports are joined to the same bridge, the normal HW MAC learning
25+
is enabled. This means that unicast traffic is forwarded in HW. Broadcast and
26+
multicast is flooded in HW. STP is also supported in this mode. The driver
27+
support fdb/mdb operations as well, meaning IGMP snooping is supported.
28+
29+
If one of the user ports leave the bridge, the ports goes back to the initial
30+
separated operation.
31+
32+
33+
Driver limitations
34+
==================
35+
36+
- Support for VLAN filtering is not implemented
37+
- The HW does not support VLAN-specific fdb entries

0 commit comments

Comments
 (0)