]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: iscsi_tcp: Switch to using the crc32c library
authorEric Biggers <ebiggers@google.com>
Fri, 7 Feb 2025 04:17:24 +0000 (20:17 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 13 Feb 2025 03:05:10 +0000 (22:05 -0500)
commit92186c1455a2d3563dcea58a6f4729d518b5be50
tree810616f0a08ed6943308dd0fd2d85be8ba53dc7e
parent035b9fa023fb4645e9cf104e0f1b4641b1938d08
scsi: iscsi_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>
Link: https://lore.kernel.org/r/20250207041724.70733-1-ebiggers@kernel.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/Kconfig
drivers/scsi/iscsi_tcp.c
drivers/scsi/iscsi_tcp.h
drivers/scsi/libiscsi_tcp.c
include/scsi/libiscsi_tcp.h