]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Update IPsec per SA packets/bytes count
authorRaed Salem <raeds@nvidia.com>
Tue, 14 Mar 2023 08:58:44 +0000 (10:58 +0200)
committerLeon Romanovsky <leon@kernel.org>
Mon, 20 Mar 2023 09:29:52 +0000 (11:29 +0200)
commit5a6cddb89b51d99a7702e63829644a5860dd9c41
treec253bb8509484d4de3c7f694762ccbdac0f0c73b
parentd0c19a310e77d25e860d1543b5967fe6be6f5fe0
net/mlx5e: Update IPsec per SA packets/bytes count

Providing per SA packets/bytes statistics mandates creating unique
counter per SA flow for Rx/Tx, whenever offloaded SA statistics is
desired query the specific SA counter to provide the stack with the
needed data.

Signed-off-by: Raed Salem <raeds@nvidia.com>
Link: https://lore.kernel.org/r/7d5ce20ac495f3054afb633128700e7b7eeeb3cd.1678714336.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.c