opnsense-src/sys/dev/etherswitch
Adrian Chadd 62042c979d [arswitch] begin tidying up the learning and ATU management, introduce ATU APIs.
* Refactor the initial learning configuration (port learning, address expiry,
  handling address moving between ports, etc, etc) into a separate HAL routine
* and ensure that it's consistent between switch chips - the AR8216,8316,724x,9331
  SoCs all share the same switch code.
* .. the AR8327 needs doing - the defaults seem OK for now
* .. the AR9340 is different but it's also programmed now.

* Add support for flushing a single port worth of ATU entries
* Add support for fetching the ATU table from AR8216 and derived chips

Tested:

* AR9344, Carambola 2

TODO:

* Further testing on other chips
* Add AR9340 support
* Add AR8327 support
2018-02-02 22:05:36 +00:00
..
arswitch [arswitch] begin tidying up the learning and ATU management, introduce ATU APIs. 2018-02-02 22:05:36 +00:00
e6000sw [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
infineon [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
ip17x [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
micrel [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
mtkswitch [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
rtl8366 [etherswitch] fix LINT build for rtl8366rb 2018-01-25 05:48:42 +00:00
ukswitch [etherswitch] check if_alloc returns NULL 2018-01-24 21:33:18 +00:00
etherswitch.c [etherswitch] add the first pass of a simple API to flush and fetch the L2 address table from the ethernet switch. 2018-02-02 02:05:14 +00:00
etherswitch.h [etherswitch] add the first pass of a simple API to flush and fetch the L2 address table from the ethernet switch. 2018-02-02 02:05:14 +00:00
etherswitch_if.m [etherswitch] add the first pass of a simple API to flush and fetch the L2 address table from the ethernet switch. 2018-02-02 02:05:14 +00:00
miiproxy.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
miiproxy.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00