aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <[email protected]>2020-11-25 13:52:36 +0200
committerSaeed Mahameed <[email protected]>2021-01-26 15:38:46 -0800
commit45c9a30835d84009dfe711f5c8836720767c286e (patch)
treed72b83bc1ce51b5e5009e6c440d78ea39cc48c40 /tools/perf/scripts/python
parent48470a90a42a64dd2f70743a149894a292b356e0 (diff)
net/mlx5e: Fix IPSEC stats
When IPSEC offload isn't active, the number of stats is not zero, but the strings are not filled, leading to exposing stats with empty names. Fix this by using the same condition for NUM_STATS and FILL_STRS. Fixes: 0aab3e1b04ae ("net/mlx5e: IPSec, Expose IPsec HW stat only for supporting HW") Signed-off-by: Maxim Mikityanskiy <[email protected]> Reviewed-by: Raed Salem <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions