]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-lan9303-Add-fdb-mdb-methods'
authorDavid S. Miller <davem@davemloft.net>
Sun, 22 Oct 2017 01:41:30 +0000 (02:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Oct 2017 01:41:30 +0000 (02:41 +0100)
commit6536d374731aa3420ba8c7a6b4f6154c64ef6670
tree838bfe5e3a287f21838858389cb8ab9041508def
parent1ab6572be5282c0baf2fd3df177495d87b5a7e3a
parent422597768ab925eb6fd216e6f32c0a3013b77c6f
Merge branch 'dsa-lan9303-Add-fdb-mdb-methods'

Egil Hjelmeland says:

====================
net: dsa: lan9303: Add fdb/mdb methods

This series add support for accessing and managing the lan9303 ALR
(Address Logic Resolution).

The first patch add low level functions for accessing the ALR, along
with port_fast_age and port_fdb_dump methods.

The second patch add functions for managing ALR entires, along with
remaining fdb/mdb methods.

Note that to complete STP support, a special ALR entry with the STP eth
address must be added too. This must be addressed later.

Comments welcome!

Changes v2 -> v3:
 - Whitespace polishing. Removed some "section" comments.
 - Prefixed ALR constants with LAN9303_ for consistency.
 - Patch 2: lan9303_port_fast_age() wrap the "port" into a struct for passing
   as context to alr_loop_cb_del_port_learned. Safer in event of type change.
 - Patch 2: Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Changes v1 -> v2:
 - Patch 2: Removed question comment
====================

Signed-off-by: David S. Miller <davem@davemloft.net>