OSDN Git Service

mlxsw: spectrum_acl: Set A-TCAM rules in Bloom filter
authorNir Dotan <nird@mellanox.com>
Sun, 16 Dec 2018 08:49:30 +0000 (08:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Dec 2018 23:20:34 +0000 (15:20 -0800)
commit8c81b7438bf6abb035ee3009394a837ac8af64a8
treea872f0bca01b8ddb874d0206f99269fe21a6fc0a
parentf5a2852ed0d74a9b6d9c92bc1ad5124e5e4a703c
mlxsw: spectrum_acl: Set A-TCAM rules in Bloom filter

Add calls to eRP module for updating Bloom filter when a rule is
added or removed from the A-TCAM. eRP module will update the Bloom
filter only for cases in which the region has an active eRP table.

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>
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_atcam.c