OSDN Git Service

mlxsw: spectrum_acl: Introduce vregion mutex
authorJiri Pirko <jiri@mellanox.com>
Sun, 24 Feb 2019 06:46:26 +0000 (06:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 04:25:29 +0000 (20:25 -0800)
commit1263a9ab82249a5af42302a522ea8453affc5fda
tree75ba1f35f5e008c0e0998801b4ea8116778e1757
parent79604b6e17426d64435bc947532a89fa8b0cf6b4
mlxsw: spectrum_acl: Introduce vregion mutex

In order to remove dependency on RTNL, introduce a mutex
to guard vregion structure, list of chunks and list of entries in
chunks.

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_tcam.c