Ether Switch Notes

The ether switch stuff is a little .. under-documented. Let's figure out what's supported, what's not supported, and what needs to be addressed.

e6000sw

TBD

ip17x

TBD

rtl8366

TBD

ukswitch

The ukswitch driver simply enumerates PHYs on the MDIO bus provided. It's for simple or dumb switches that you just want port status for.

arswitch

The arswitch driver supports quite a few chipsets. Each have different levels of feature support.

ar8316

* supports default, per-port and per-vlan vlans * supports only all-tagged, or all-untagged vlans on a given port (eg the port config has 'addtag' to add all tags).

TODO:

* can the switch be programmed to support addtag to add vlan tags, and optionally 'native' pvid support - so the port pvid won't be tagged. (eg native vlan 1 means untagged frames are vlan 1, other vlans are tagged.)

ar7240 / ar7241 / ar933x / ar934x

* supports default, per-port and per-vlan vlans * supports only all-tagged, or all-untagged vlans on a given port (eg the port config has 'addtag' to add all tags).

TODO:

* can the switch be programmed to support addtag to add vlan tags, and optionally 'native' pvid support - so the port pvid won't be tagged. (eg native vlan 1 means untagged frames are vlan 1, other vlans are tagged.)

ar8327

* supports default, per-port and per-vlan vlans. * supports per-vlan tagging - ie, you can configure the vlans in each vlangroupX to be tagged (eg 5t) or untagged (eg 5).

Untagged frames received on a port get treated as having come in on the port pvid.

unsupported

* ar8216 - only stubs; no support yet * ar8226 - only stubs; no support yet * ar8337 - no support yet (mostly AR8327, just need to add a handful of specific bits.)

Examples

AdrianChadd/EtherSwitchNotes (last edited 2015-11-05T01:59:43+0000 by AdrianChadd)