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)
commit17ae6555406a345c7d4096c4c274447e869e9384
treef681f424b1411d58d7b86a837b05edc0b9ea65d3
parent4a95078636402d425ad1c8411aff44be30e6a962
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