xfrm: get global statistics from the offloaded device
authorLeon Romanovsky <leonro@nvidia.com>
Wed, 4 Oct 2023 11:11:48 +0000 (14:11 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 6 Feb 2024 00:45:49 +0000 (16:45 -0800)
commitf9f221c98fd83df518fbb2f5ad33980cfedfe1bf
tree628cc3e65fa3fda51edc9267a1695667b7dfbbf9
parentfd2bc4195d5107f88c1b90e1ec935888ccbfc5c0
xfrm: get global statistics from the offloaded device

Iterate over all SAs in order to fill global IPsec statistics.

Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c
include/net/xfrm.h
net/xfrm/xfrm_proc.c
net/xfrm/xfrm_state.c