]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix missing IPsec statistics on uplink representor
authorRaed Salem <raeds@nvidia.com>
Thu, 8 Jul 2021 09:48:24 +0000 (12:48 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 1 Dec 2021 06:35:02 +0000 (22:35 -0800)
commited20502fdd607a7cad99f5ef31ba5c4375b06f8a
treec5b2562879060c67c6298d869aba876ab2f16aba
parent1f41aaa585eec4fe4c465e6cca6e33db0a9b6711
net/mlx5e: Fix missing IPsec statistics on uplink representor

The cited patch added the IPsec support to uplink representor, however
as uplink representors have his private statistics where IPsec stats
is not part of it, that effectively makes IPsec stats hidden when uplink
representor stats queried.

Resolve by adding IPsec stats to uplink representor private statistics.

Fixes: b9faaa0f5b6c ("net/mlx5e: Add IPsec support to uplink representor")
Signed-off-by: Raed Salem <raeds@nvidia.com>
Reviewed-by: Alaa Hleihel <alaa@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c