mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
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>
This commit is contained in:
parent
d1569537a8
commit
6e56ab1c90
|
|
@ -1338,6 +1338,7 @@ static mlx5e_stats_grp_t mlx5e_ul_rep_stats_grps[] = {
|
|||
&MLX5E_STATS_GRP(channels),
|
||||
&MLX5E_STATS_GRP(per_port_buff_congest),
|
||||
#ifdef CONFIG_MLX5_EN_IPSEC
|
||||
&MLX5E_STATS_GRP(ipsec_hw),
|
||||
&MLX5E_STATS_GRP(ipsec_sw),
|
||||
#endif
|
||||
&MLX5E_STATS_GRP(ptp),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user