RDMA/rxe: Check the last packet by RXE_END_MASK
[ Upstream commit
04d71f8cb889f5e0991f6d62717a283889e85ae7 ]
It's wrong to check the last packet by RXE_COMP_MASK because the flag is
to indicate if responder needs to generate a completion.
Fixes: d68145d5253d ("IB/rxe: increment msn only when completing a request")
Fixes: c4397c211d7d ("Soft RoCE driver")
Link: https://lore.kernel.org/r/20211229034438.1854908-1-yangx.jy@fujitsu.com
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>