net/octeontx2: add lock for inline IPsec tables
authorAnoob Joseph <anoobj@marvell.com>
Tue, 13 Jul 2021 10:27:07 +0000 (15:57 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 20 Jul 2021 08:32:05 +0000 (10:32 +0200)
commit87e1160c2c40cc4f7c1c7de61bd14f237cd8df29
tree738828ba50fd76cc62a91823c8fd3bd7ec5c5e2d
parent40beec4bf4e37327437dbcf0e9991a48ed369848
net/octeontx2: add lock for inline IPsec tables

Add locking for IPsec table updates.

Fixed error handling to clear SA entry if the SA
population functions encounters any error.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/net/octeontx2/otx2_ethdev.h
drivers/net/octeontx2/otx2_ethdev_sec.c