diff options
author | David S. Miller <davem@davemloft.net> | 2020-05-06 17:15:38 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-06 17:15:38 -0700 |
commit | 6e0ddb6530b5010b33f91f0939029d2819b2dc3f (patch) | |
tree | 501d3327e2d77a45a76ed54c0bb84caf9aaa8d4f /drivers/net/dsa/ocelot/felix.c | |
parent | net: dsa: sja1105: the PTP_CLK extts input reacts on both edges (diff) | |
parent | net: mscc: ocelot: ANA_AUTOAGE_AGE_PERIOD holds a value in seconds, not ms (diff) | |
download | wireguard-linux-6e0ddb6530b5010b33f91f0939029d2819b2dc3f.tar.xz wireguard-linux-6e0ddb6530b5010b33f91f0939029d2819b2dc3f.zip |
Merge branch 'FDB-fixes-for-Felix-and-Ocelot-switches'
Vladimir Oltean says:
====================
FDB fixes for Felix and Ocelot switches
This series fixes the following problems:
- Dynamically learnt addresses never expiring (neither for Ocelot nor
for Felix)
- Half of the FDB not visible in 'bridge fdb show' (for Felix only)
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/ocelot/felix.c')
-rw-r--r-- | drivers/net/dsa/ocelot/felix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/ocelot/felix.c b/drivers/net/dsa/ocelot/felix.c index d0a3764ff0cf..e2c6bf0e430e 100644 --- a/drivers/net/dsa/ocelot/felix.c +++ b/drivers/net/dsa/ocelot/felix.c @@ -400,6 +400,7 @@ static int felix_init_structs(struct felix *felix, int num_phys_ports) ocelot->stats_layout = felix->info->stats_layout; ocelot->num_stats = felix->info->num_stats; ocelot->shared_queue_sz = felix->info->shared_queue_sz; + ocelot->num_mact_rows = felix->info->num_mact_rows; ocelot->vcap_is2_keys = felix->info->vcap_is2_keys; ocelot->vcap_is2_actions= felix->info->vcap_is2_actions; ocelot->vcap = felix->info->vcap; |