net: dsa: sja1105: Add a high-level overview of the dynamic config interface
authorVladimir Oltean <olteanv@gmail.com>
Tue, 25 Jun 2019 23:39:39 +0000 (02:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jun 2019 18:03:21 +0000 (11:03 -0700)
commit4a95078636402d425ad1c8411aff44be30e6a962
tree8082aa24ff7d8088d0a98b7e75dd920b4ecdc33c
parent60f6053ff142217488d3f0d7b692f6a4ef45b99f
net: dsa: sja1105: Add a high-level overview of the dynamic config interface

When trying to add support for LOCKEDS (static FDB entries) on SJA1105
P/Q/R/S, at first I didn't remember how the abstraction I created
worked, and actually thought it works by mistake.

To avoid other people staring at the code and not making much sense out
of it, add some comments at the top of the file.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_dynamic_config.c