aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorBob Pearson <[email protected]>2021-06-17 23:57:39 -0500
committerJason Gunthorpe <[email protected]>2021-06-22 15:38:52 -0300
commit230bb836ee88683052b01e3bff3885c440a785b1 (patch)
tree3057fabf5c695cd992aeb4fa276bdecc485e0830 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentfceb24a73eec7bbc717e516d5420ae786c514d38 (diff)
RDMA/rxe: Fix redundant call to ip_send_check
For IPV4 packets sent on the wire the rxe driver calls ip_local_out() which immediately calls __ip_local_out() which sets iph->tot_len and calls ip_send_check(). This code is duplicated in prepare4(). On the loopback path the IP header checksum and tot_len fields are not used so they do not need to be set. Remove this redundant code. Fixes: 8700e3e7c485 ("Soft RoCE driver") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bob Pearson <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions