freebsd-dev/sys/dev/etherswitch
Adrian Chadd 877d73ecb4 [etherswitch] add the first pass of a simple API to flush and fetch the L2 address table from the ethernet switch.
This stuff may be a bit fluid during this -HEAD cycle as various other
switch features are added, but the current stuff is enough to drive
initial development and features on the atheros range of integrated
and external switches.

* add a method to flush the whole address table;
* add a method to flush all addresses on a given port;
* add a method to download the address table;
* .. and then a method to fetch entries from the address table.

The table fetch/read methods pass through to the drivers for now since
the drivers may implement different ways of fetching/caching the address
table data.  The atheros devices for example fetch the table by
iterating over the table through a set of registers and so you need
to keep that locked whilst you iterate otherwise you may have the table
flushed half way by a port status change.

This is a no-op until the userland and arswitch code shows up.
2018-02-02 02:05:14 +00:00
..
arswitch [arswitch] Fix ATU programming on the AR8327 switch. 2018-01-31 07:37:33 +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_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
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
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