diff options
author | 2025-05-19 10:50:11 -0700 | |
---|---|---|
committer | 2025-05-21 15:40:17 -0700 | |
commit | 427fff9aff295e2c117ed26237d1f4e3d87750a3 (patch) | |
tree | 7be67d3c0bd16fe4347580b2c3d154b68ca4d002 /scripts/generate_rust_analyzer.py | |
parent | net: add skb_copy_and_crc32c_datagram_iter() (diff) | |
download | wireguard-linux-427fff9aff295e2c117ed26237d1f4e3d87750a3.tar.xz wireguard-linux-427fff9aff295e2c117ed26237d1f4e3d87750a3.zip |
nvme-tcp: use crc32c() and skb_copy_and_crc32c_datagram_iter()
Now that the crc32c() library function directly takes advantage of
architecture-specific optimizations and there also now exists a function
skb_copy_and_crc32c_datagram_iter(), it is unnecessary to go through the
crypto_ahash API. Just use those functions. This is much simpler, and
it also improves performance due to eliminating the crypto API overhead.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://patch.msgid.link/20250519175012.36581-10-ebiggers@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions