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