diff options
author | Nir Dotan <nird@mellanox.com> | 2018-12-16 08:49:32 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-16 15:20:34 -0800 |
commit | 135fd957288ed5f6a4ae490373a7910b3e7f7722 (patch) | |
tree | 4268686d16a4831502e9be3aeedabdd89aa77d19 /.gitignore | |
parent | 8c81b7438bf6abb035ee3009394a837ac8af64a8 (diff) |
mlxsw: spectrum_acl: Update Bloom filter on eRP transitions
Bloom filter update is required only for rules which reside on an
eRP. When the region has only a single rule pattern then eRP table
is not used, however insertion of another pattern would trigger a
move to an active eRP table so it is imperative to update the Bloom
filter with all previously configured rules.
Add a method that updates Bloom filter entries for all rules
currently configured in the region, on the event of a transition
from master mask to eRP, or vice versa. For that purpose, maintain
a list of all A-TCAM rules within mlxsw_sp_acl_atcam_region.
Signed-off-by: Nir Dotan <nird@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions