summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorYonatan Nachum <ynachum@amazon.com>2025-12-10 13:06:13 +0000
committerLeon Romanovsky <leon@kernel.org>2025-12-18 10:12:38 -0500
commit4b01ec0f133b3fe1038dc538d6bfcbd72462d2f0 (patch)
tree0b559b5e40a609ba9feac0231df0ddc0ce8a9c15 /tools/perf/scripts/python/bin/stackcollapse-record
parent80351761facb63d6fab1e42c77d7565047bc10ad (diff)
downloadlinux-4b01ec0f133b3fe1038dc538d6bfcbd72462d2f0.tar.gz
linux-4b01ec0f133b3fe1038dc538d6bfcbd72462d2f0.zip
RDMA/efa: Check stored completion CTX command ID with received one
In admin command completion, we receive a CQE with the command ID which is constructed from context index and entropy bits from the admin queue producer counter. To try to detect memory corruptions in the received CQE, validate the full command ID of the fetched context with the CQE command ID. If there is a mismatch, complete the CQE with error. Also use LSBs of the admin queue producer counter to better detect entropy mismatch between smaller number of commands. Reviewed-by: Daniel Kranzdorf <dkkranzd@amazon.com> Reviewed-by: Michael Margolin <mrgolin@amazon.com> Signed-off-by: Yonatan Nachum <ynachum@amazon.com> Link: https://patch.msgid.link/20251210130614.36460-2-ynachum@amazon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions