public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] RDMA: switch to using CRC32 library functions
@ 2025-01-27 22:38 Eric Biggers
  2025-01-27 22:38 ` [PATCH 1/6] RDMA/rxe: handle ICRC correctly on big endian systems Eric Biggers
                   ` (5 more replies)
  0 siblings, 6 replies; 28+ messages in thread
From: Eric Biggers @ 2025-01-27 22:38 UTC (permalink / raw)
  To: linux-rdma, Mustafa Ismail, Tatyana Nikolova, Jason Gunthorpe,
	Leon Romanovsky, Zhu Yanjun, Bernard Metzler
  Cc: linux-kernel

Starting in 6.14, the crc32() and crc32c() library functions are
directly optimized for each architecture (see
https://git.kernel.org/linus/37b33c68b00089a5), and there is no longer
any need to go through the crypto API.  Therefore uses of the "crc32"
and "crc32c" crypto_shash or crypto_ahash algorithms are being replaced
with straightforward calls to crc32() and crc32c() kernel-wide.  This
patchset does this conversion in drivers/infiniband/.

Compile-tested only.

Eric Biggers (6):
  RDMA/rxe: handle ICRC correctly on big endian systems
  RDMA/rxe: consolidate code for calculating ICRC of packets
  RDMA/rxe: switch to using the crc32 library
  RDMA/irdma: switch to using the crc32c library
  RDMA/siw: fix type of CRC field
  RDMA/siw: switch to using the crc32c library

 drivers/infiniband/hw/irdma/Kconfig   |   1 +
 drivers/infiniband/hw/irdma/main.h    |   1 -
 drivers/infiniband/hw/irdma/osdep.h   |   6 +-
 drivers/infiniband/hw/irdma/puda.c    |  19 ++---
 drivers/infiniband/hw/irdma/puda.h    |   5 +-
 drivers/infiniband/hw/irdma/utils.c   |  47 +----------
 drivers/infiniband/sw/rxe/Kconfig     |   3 +-
 drivers/infiniband/sw/rxe/rxe.c       |   3 -
 drivers/infiniband/sw/rxe/rxe.h       |   1 -
 drivers/infiniband/sw/rxe/rxe_icrc.c  | 114 +++++++-------------------
 drivers/infiniband/sw/rxe/rxe_loc.h   |   1 -
 drivers/infiniband/sw/rxe/rxe_req.c   |   1 -
 drivers/infiniband/sw/rxe/rxe_verbs.c |   4 -
 drivers/infiniband/sw/rxe/rxe_verbs.h |   1 -
 drivers/infiniband/sw/siw/Kconfig     |   4 +-
 drivers/infiniband/sw/siw/iwarp.h     |   2 +-
 drivers/infiniband/sw/siw/siw.h       |  46 ++++++++---
 drivers/infiniband/sw/siw/siw_main.c  |  22 +----
 drivers/infiniband/sw/siw/siw_qp.c    |  56 +++----------
 drivers/infiniband/sw/siw/siw_qp_rx.c |  42 +++++-----
 drivers/infiniband/sw/siw/siw_qp_tx.c |  47 +++++------
 drivers/infiniband/sw/siw/siw_verbs.c |   3 -
 22 files changed, 134 insertions(+), 295 deletions(-)


base-commit: 805ba04cb7ccfc7d72e834ebd796e043142156ba
-- 
2.48.1


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2025-01-31 14:17 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-27 22:38 [PATCH 0/6] RDMA: switch to using CRC32 library functions Eric Biggers
2025-01-27 22:38 ` [PATCH 1/6] RDMA/rxe: handle ICRC correctly on big endian systems Eric Biggers
2025-01-29  9:44   ` Zhu Yanjun
2025-01-29 18:30     ` Jason Gunthorpe
2025-01-29 18:51       ` Eric Biggers
2025-01-29 19:43         ` Jason Gunthorpe
2025-01-29 20:25           ` Eric Biggers
2025-01-29 21:16             ` Jason Gunthorpe
2025-01-29 22:21               ` Eric Biggers
2025-01-30  1:29                 ` Jason Gunthorpe
2025-01-30  2:04                   ` Eric Biggers
2025-01-30 13:52                     ` Jason Gunthorpe
2025-01-30  9:17           ` Zhu Yanjun
2025-01-30  7:27       ` Zhu Yanjun
2025-01-29 18:27   ` Zhu Yanjun
2025-01-29 19:02     ` Eric Biggers
2025-01-27 22:38 ` [PATCH 2/6] RDMA/rxe: consolidate code for calculating ICRC of packets Eric Biggers
2025-01-29 18:11   ` Zhu Yanjun
2025-01-30  2:15     ` Eric Biggers
2025-01-30  7:24       ` Zhu Yanjun
2025-01-31  2:42         ` Eric Biggers
2025-01-27 22:38 ` [PATCH 3/6] RDMA/rxe: switch to using the crc32 library Eric Biggers
2025-01-29 18:30   ` Zhu Yanjun
2025-01-27 22:38 ` [PATCH 4/6] RDMA/irdma: switch to using the crc32c library Eric Biggers
2025-01-27 22:38 ` [PATCH 5/6] RDMA/siw: fix type of CRC field Eric Biggers
2025-01-31 12:24   ` Bernard Metzler
2025-01-27 22:38 ` [PATCH 6/6] RDMA/siw: switch to using the crc32c library Eric Biggers
2025-01-31 14:17   ` Bernard Metzler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox