Skip to content

Commit 6e56ab1

Browse files
Jianbo Liukuba-moo
authored andcommitted
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 <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Link: https://lore.kernel.org/r/b43c91c452f1db9c35c10639a029aa10fd8b7895.1690802064.git.leon@kernel.org Signed-off-by: Jakub Kicinski <[email protected]>
1 parent d156953 commit 6e56ab1

File tree

1 file changed

+1
-0
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core

1 file changed

+1
-0
lines changed

drivers/net/ethernet/mellanox/mlx5/core/en_rep.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,7 @@ static mlx5e_stats_grp_t mlx5e_ul_rep_stats_grps[] = {
13381338
&MLX5E_STATS_GRP(channels),
13391339
&MLX5E_STATS_GRP(per_port_buff_congest),
13401340
#ifdef CONFIG_MLX5_EN_IPSEC
1341+
&MLX5E_STATS_GRP(ipsec_hw),
13411342
&MLX5E_STATS_GRP(ipsec_sw),
13421343
#endif
13431344
&MLX5E_STATS_GRP(ptp),

0 commit comments

Comments
 (0)