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
..
2017-09-14 15:34:45 +00:00
2018-01-10 20:05:19 +00:00
2018-01-22 15:55:51 +00:00
2017-11-09 13:38:17 +00:00
2017-12-30 19:27:22 +00:00
2018-01-30 04:06:30 +00:00
2018-01-17 11:44:21 +00:00
2018-01-24 16:58:26 +00:00
2017-11-30 20:33:45 +00:00
2018-01-12 06:36:44 +00:00
2017-11-30 20:33:45 +00:00
2017-10-21 07:23:45 +00:00
2017-11-30 20:33:45 +00:00
2017-12-29 00:59:56 +00:00
2017-12-31 23:40:06 +00:00
2018-01-03 00:56:30 +00:00
2018-01-13 16:31:07 +00:00
2017-07-01 05:35:29 +00:00