summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSubbaraya Sundeep <sbhatta@marvell.com>2023-04-26 09:25:27 +0300
committerPaolo Abeni <pabeni@redhat.com>2023-04-27 13:38:11 +0300
commit9bdfe61054fb2b989eb58df20bf99c0cf67e3038 (patch)
tree79adda268783406f2cb469a3f4a9a5c10ac23600 /tools/perf/scripts/python/syscall-counts.py
parent815debbbf7b52026462c37eea3be70d6377a7a9a (diff)
downloadlinux-9bdfe61054fb2b989eb58df20bf99c0cf67e3038.tar.xz
octeontx2-pf: mcs: Fix shared counters logic
Macsec stats like InPktsLate and InPktsDelayed share same counter in hardware. If SecY replay_protect is true then counter represents InPktsLate otherwise InPktsDelayed. This mode change was tracked based on protect_frames instead of replay_protect mistakenly. Similarly InPktsUnchecked and InPktsOk share same counter and mode change was tracked based on validate_check instead of validate_disabled. This patch fixes those problems. Fixes: c54ffc73601c ("octeontx2-pf: mcs: Introduce MACSEC hardware offloading") Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: Geetha sowjanya <gakula@marvell.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions