]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/rxe: switch to using the crc32 library
authorEric Biggers <ebiggers@google.com>
Fri, 7 Feb 2025 03:23:16 +0000 (19:23 -0800)
committerLeon Romanovsky <leon@kernel.org>
Sun, 9 Feb 2025 09:20:10 +0000 (04:20 -0500)
commitccca5e8aa14572315dc9b9dadb3a06a6a6a607f7
tree8b9552f73cc992652dcd283346e61f40c4b80686
parent79bccd746132afe12b8bc3785e7b74b90440060d
RDMA/rxe: switch to using the crc32 library

Now that the crc32_le() library function takes advantage of
architecture-specific optimizations, it is unnecessary to go through the
crypto API.  Just use crc32_le().  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://patch.msgid.link/20250207032316.53941-1-ebiggers@kernel.org
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/rxe/Kconfig
drivers/infiniband/sw/rxe/rxe.c
drivers/infiniband/sw/rxe/rxe.h
drivers/infiniband/sw/rxe/rxe_icrc.c
drivers/infiniband/sw/rxe/rxe_loc.h
drivers/infiniband/sw/rxe/rxe_req.c
drivers/infiniband/sw/rxe/rxe_verbs.c
drivers/infiniband/sw/rxe/rxe_verbs.h