diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2025-08-23 21:36:43 -0400 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-26 18:11:29 -0700 |
| commit | 095928e7d80186c524013a5b5d54889fa2ec1eaa (patch) | |
| tree | 894ac3ad95444d9e029b735e6726eac1f334390a /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | f19434dd414e3a1d08ccfbc8f73b5201023aad9d (diff) | |
ipv6: sr: Use HMAC-SHA1 and HMAC-SHA256 library functions
Use the HMAC-SHA1 and HMAC-SHA256 library functions instead of
crypto_shash. This is simpler and faster. Pre-allocating per-CPU hash
transformation objects and descriptors is no longer needed, and a
microbenchmark on x86_64 shows seg6_hmac_compute() (with HMAC-SHA256)
dropping from ~2494 cycles to ~1978 cycles, a 20% improvement.
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Link: https://patch.msgid.link/20250824013644.71928-2-ebiggers@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions
