This series of patches cleans up the code in the rdma_rxe driver that handles computing and checking of the ICRC checksum in RoCE packets. All the ICRC related code is isolated in the file rxe_icrc.c. The overall performance is modestly improved. (ib_write_bw loopback performance is increased from 2.7GB/sec to 2.8GB/sec.) There is no change required to the user space provider. Bob Pearson (5): RDMA/rxe: Move ICRC checking to a subroutine RDMA/rxe: Move rxe_xmit_packet to a subroutine RDMA/rxe: Move ICRC generation to a subroutine RDMA/rxe: Move rxe_crc32 to a subroutine RDMA/rxe: Move crc32 init code to rxe_icrc.c drivers/infiniband/sw/rxe/rxe.h | 22 ----- drivers/infiniband/sw/rxe/rxe_comp.c | 4 +- drivers/infiniband/sw/rxe/rxe_icrc.c | 136 +++++++++++++++++++++++--- drivers/infiniband/sw/rxe/rxe_loc.h | 61 ++---------- drivers/infiniband/sw/rxe/rxe_mr.c | 47 ++++----- drivers/infiniband/sw/rxe/rxe_net.c | 62 ++++++++++-- drivers/infiniband/sw/rxe/rxe_recv.c | 23 +---- drivers/infiniband/sw/rxe/rxe_req.c | 13 +-- drivers/infiniband/sw/rxe/rxe_resp.c | 33 ++----- drivers/infiniband/sw/rxe/rxe_verbs.c | 11 +-- 10 files changed, 225 insertions(+), 187 deletions(-) -- 2.30.2