diff options
| author | Eric Biggers <ebiggers@google.com> | 2025-05-19 20:50:11 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-22 01:40:17 +0300 |
| commit | 427fff9aff295e2c117ed26237d1f4e3d87750a3 (patch) | |
| tree | 7be67d3c0bd16fe4347580b2c3d154b68ca4d002 /lib/crypto/mpi/mpi-add.c | |
| parent | ea6342d98928e243f2024fb97a9b4d42ee55dfba (diff) | |
| download | linux-427fff9aff295e2c117ed26237d1f4e3d87750a3.tar.xz | |
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 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
