net/mlx5e: Add get IPsec offload stats for uplink representor
authorJianbo Liu <jianbol@nvidia.com>
Mon, 31 Jul 2023 11:28:23 +0000 (14:28 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 3 Aug 2023 01:37:30 +0000 (18:37 -0700)
commit6e56ab1c90593630d5e8799831e9dea4850128ea
tree508d41a69bc82c448e6bb18a12ebfd40876c9d09
parentd1569537a837d66620aa7ffc2bddf918e902f227
net/mlx5e: Add get IPsec offload stats for uplink representor

As IPsec offload is supported in switchdev mode, HW stats can be can be
obtained from uplink rep.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/b43c91c452f1db9c35c10639a029aa10fd8b7895.1690802064.git.leon@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c