]> www.infradead.org Git - users/hch/misc.git/commit
nvmet-tcp: switch to using the crc32c library
authorEric Biggers <ebiggers@google.com>
Wed, 26 Feb 2025 06:28:40 +0000 (22:28 -0800)
committerChristoph Hellwig <hch@lst.de>
Fri, 9 May 2025 05:03:42 +0000 (07:03 +0200)
commit532da47b22ffadfbfbf4da851b3ae0a3a3e9bc33
treecb834eccd8908c753cb8d0b470c2d957eb8c4d19
parentec7931f326b90598af573e96de979fc2afd85d11
nvmet-tcp: switch to using the crc32c library

Now that the crc32c() library function directly takes advantage of
architecture-specific optimizations, it is unnecessary to go through the
crypto API.  Just use crc32c().  This is much simpler, and it improves
performance due to eliminating the crypto API overhead.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/tcp.c