]> www.infradead.org Git - nvme.git/commit
nvmet-tcp: switch to using the crc32c library nvme-6.16
authorEric Biggers <ebiggers@google.com>
Wed, 26 Feb 2025 06:28:40 +0000 (22:28 -0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 22 Apr 2025 08:08:32 +0000 (10:08 +0200)
commit464a6f99943ecce4387d83a37e701be4f1864b6f
tree9642122220aae686bbbe7b4278a824bd900b324d
parent909ef21bec608f722ad16e950d68fc6787e9b00f
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