Re: [PATCH v3 net-next 0/2] net: dsa: lan9303: Add fdb/mdb methods

From: Egil Hjelmeland
Date: Fri Oct 20 2017 - 10:09:54 EST


On 20. okt. 2017 16:03, Vivien Didelot wrote:
Hi Egil,

It looks much cleaner, thanks!

Egil Hjelmeland <privat@xxxxxxxxxxxxxxxxxx> writes:

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@xxxxxxxxxxxxxxxxxxxx>

You'll usually directly add the Reviewed-by: tags right under your
Signed-off-by: tag of the concerned patches in next iterations.


Oh, I thought I had done it, but now I see I forgot to rebuild the
patches after that last minute git-amend where I put in your
Reviewed-by:.

(don't worry though I've added it back to patch 2/2.)


Thanks,

Vivien


Egil