summaryrefslogtreecommitdiff
path: root/Documentation/perf
diff options
context:
space:
mode:
authorSteve Wise <larrystevenwise@gmail.com>2019-12-03 05:03:20 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-09 12:17:51 +0300
commit5083f6c6acb213b8319a61de2e33402887a067dc (patch)
tree1fe65fb7bb6c9236e4a4ee2500f82fa38b327b72 /Documentation/perf
parente47a078195d365e883a7dc36e0701552e383a47c (diff)
downloadlinux-5083f6c6acb213b8319a61de2e33402887a067dc.tar.xz
rxe: correctly calculate iCRC for unaligned payloads
[ Upstream commit 2030abddec6884aaf5892f5724c48fc340e6826f ] 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: 8700e3e7c485 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/perf')
0 files changed, 0 insertions, 0 deletions