]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: target: iscsi: switch to using the crc32c library
authorEric Biggers <ebiggers@google.com>
Mon, 2 Dec 2024 01:08:44 +0000 (17:08 -0800)
committerEric Biggers <ebiggers@google.com>
Mon, 2 Dec 2024 01:23:02 +0000 (17:23 -0800)
commit31e4cdde4d8b4bc358f3e6b44647ead3cba13aba
tree0556a7132785a189dba878c050cbe87f21acd447
parent3ca4bec40ee211cd5d907c8e98b66c92f6a1b1e1
scsi: target: iscsi: 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.

Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20241202010844.144356-20-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
drivers/target/iscsi/Kconfig
drivers/target/iscsi/iscsi_target.c
drivers/target/iscsi/iscsi_target_login.c
drivers/target/iscsi/iscsi_target_login.h
drivers/target/iscsi/iscsi_target_nego.c
include/target/iscsi/iscsi_target_core.h