linux_dsm_epyc7002/drivers/infiniband/sw/rxe
Steve Wise 2030abddec rxe: correctly calculate iCRC for unaligned payloads
If RoCE PDUs being sent or received contain pad bytes, then the iCRC
is miscalculated, resulting in PDUs being emitted by RXE with an incorrect
iCRC, as well as ingress PDUs being dropped due to erroneously detecting
a bad iCRC in the PDU.  The fix is to include the pad bytes, if any,
in iCRC computations.

Note: This bug has caused broken on-the-wire compatibility with actual
hardware RoCE devices since the soft-RoCE driver was first put into the
mainstream kernel.  Fixing it will create an incompatibility with the
original soft-RoCE devices, but is necessary to be compatible with real
hardware devices.

Fixes: 8700e3e7c4 ("Soft RoCE driver")
Signed-off-by: Steve Wise <larrystevenwise@gmail.com>
Link: https://lore.kernel.org/r/20191203020319.15036-2-larrystevenwise@gmail.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
2019-12-09 13:55:26 -05:00
..
Kconfig
Makefile
rxe_av.c
rxe_comp.c
rxe_cq.c
rxe_hdr.h
rxe_hw_counters.c
rxe_hw_counters.h
rxe_icrc.c
rxe_loc.h
rxe_mcast.c
rxe_mmap.c
rxe_mr.c IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
rxe_net.c net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup 2019-12-04 12:27:13 -08:00
rxe_net.h
rxe_opcode.c
rxe_opcode.h
rxe_param.h RDMA/rxe: Remove useless rxe_init_device_param assignments 2019-10-24 15:20:18 -03:00
rxe_pool.c
rxe_pool.h
rxe_qp.c
rxe_queue.c
rxe_queue.h
rxe_recv.c rxe: correctly calculate iCRC for unaligned payloads 2019-12-09 13:55:26 -05:00
rxe_req.c rxe: correctly calculate iCRC for unaligned payloads 2019-12-09 13:55:26 -05:00
rxe_resp.c rxe: correctly calculate iCRC for unaligned payloads 2019-12-09 13:55:26 -05:00
rxe_srq.c
rxe_sysfs.c
rxe_task.c
rxe_task.h
rxe_verbs.c RDMA/rxe: Increase DMA max_segment_size parameter 2019-10-28 14:52:03 -03:00
rxe_verbs.h RDMA/rxe: Increase DMA max_segment_size parameter 2019-10-28 14:52:03 -03:00
rxe.c RDMA/rxe: Remove useless rxe_init_device_param assignments 2019-10-24 15:20:18 -03:00
rxe.h