OSDN Git Service

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)
commit65e190356098f2bd6adbdee06047a941ca1d20e1
tree9d9deaf778a350fad8a7e210cb9e40a2d4f5cf1e
parent1263a9ab82249a5af42302a522ea8453affc5fda
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