diff options
author | Vladimir Oltean | 2019-06-26 01:39:40 +0200 |
---|---|---|
committer | David S. Miller | 2019-06-27 20:03:21 +0200 |
commit | 17ae6555406a345c7d4096c4c274447e869e9384 (patch) | |
tree | f681f424b1411d58d7b86a837b05edc0b9ea65d3 /drivers/net/dsa/sja1105/sja1105_static_config.h | |
parent | net: dsa: sja1105: Add a high-level overview of the dynamic config interface (diff) | |
download | kernel-qcow2-linux-17ae6555406a345c7d4096c4c274447e869e9384.tar.gz kernel-qcow2-linux-17ae6555406a345c7d4096c4c274447e869e9384.tar.xz kernel-qcow2-linux-17ae6555406a345c7d4096c4c274447e869e9384.zip |
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>
Diffstat (limited to 'drivers/net/dsa/sja1105/sja1105_static_config.h')
-rw-r--r-- | drivers/net/dsa/sja1105/sja1105_static_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/sja1105/sja1105_static_config.h b/drivers/net/dsa/sja1105/sja1105_static_config.h index 2a3a1a92d7c3..684465fc0882 100644 --- a/drivers/net/dsa/sja1105/sja1105_static_config.h +++ b/drivers/net/dsa/sja1105/sja1105_static_config.h @@ -132,7 +132,7 @@ struct sja1105_l2_lookup_entry { u64 mask_vlanid; u64 mask_macaddr; u64 iotag; - bool lockeds; + u64 lockeds; union { /* LOCKEDS=1: Static FDB entries */ struct { |