]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: sja1105: Populate is_static for FDB entries on P/Q/R/S
authorVladimir Oltean <olteanv@gmail.com>
Tue, 25 Jun 2019 23:39:40 +0000 (02:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Jun 2019 18:03:21 +0000 (11:03 -0700)
commit26e3ba8bcb1f1eb8c5ba33bb0371964cd428653d
treef681f424b1411d58d7b86a837b05edc0b9ea65d3
parent7e422c5608d2bc8afcffc0d082681c46bddd868b
net: dsa: sja1105: Populate is_static for FDB entries on P/Q/R/S

The reason why this wasn't tackled earlier is that I had hoped I
understood the user manual wrong.  But unfortunately hacks are required
in order to retrieve the static/dynamic nature of FDB entries on SJA1105
P/Q/R/S, since this info is stored in the writeback buffer of the
dynamic config command.

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
drivers/net/dsa/sja1105/sja1105_main.c
drivers/net/dsa/sja1105/sja1105_static_config.h