IB/rxe: Clear queue buffer when modifying QP to reset
RXE resets the send-q only once in rxe_qp_init_req() when
QP is created, but when the QP is reused after QP reset, the send-q
holds previous garbage data.
This garbage data wrongly fails CQEs that otherwise
should have completed successfully.
Fixes: 8700e3e7c485 ("Soft RoCE driver")
Signed-off-by: Yonatan Cohen <firstname.lastname@example.org>
Reviewed-by: Moni Shoua <email@example.com>
Signed-off-by: Leon Romanovsky <firstname.lastname@example.org>
Signed-off-by: Doug Ledford <email@example.com>
3 files changed