net: microchip: sparx5: Improve VCAP admin locking in the VCAP API
authorSteen Hegelund <steen.hegelund@microchip.com>
Tue, 17 Jan 2023 08:55:43 +0000 (09:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jan 2023 14:31:43 +0000 (14:31 +0000)
commit1972b6d927ac326fd3a01240c330401f47526558
tree05a394ac21553eda087e75ea14b07e4705479b3d
parent9579e2c271b4f2e6d24f61ff17abda2e9ce8cc85
net: microchip: sparx5: Improve VCAP admin locking in the VCAP API

This improves the VCAP cache and the VCAP rule list protection against
access from different sources.

Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/vcap/vcap_api.c