]> git.baikalelectronics.ru Git - kernel.git/commit
IB/rxe: Fix resid update
authorEyal Itkin <eyal.itkin@gmail.com>
Tue, 7 Feb 2017 13:43:05 +0000 (16:43 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 8 Feb 2017 17:28:30 +0000 (12:28 -0500)
commitb6175be60440e244c00600a89e5b488adf7cff97
treec228c66498f9a4562093fbbf80a41bcede0c06f2
parent2222ecf541a1a8f8e379ffb769731b4e9b152569
IB/rxe: Fix resid update

Update the response's resid field when larger than MTU, instead of only
updating the local resid variable.

Fixes: c4397c211d7d ("Soft RoCE driver")
Signed-off-by: Eyal Itkin <eyal.itkin@gmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe_resp.c