]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_acl: Introduce mutex to guard Bloom Filter updates
authorJiri Pirko <jiri@mellanox.com>
Sun, 24 Feb 2019 06:46:27 +0000 (06:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 04:25:29 +0000 (20:25 -0800)
commit77de273bf47368829c6c097e121a03d48a8f8225
tree9d9deaf778a350fad8a7e210cb9e40a2d4f5cf1e
parent4c0709d289fc5d34a514aae1b07837c27a9d46a2
mlxsw: spectrum_acl: Introduce mutex to guard Bloom Filter updates

Bloom filter is shared within multiple regions. For updates, it needs to
be guarded by a separate mutex. Do that in order to not rely on RTNL
mutex.

Signed-off-by: Jiri Pirko <jiri@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_bloom_filter.c