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 <email@example.com>
Reviewed-by: Moni Shoua <firstname.lastname@example.org>
Signed-off-by: Leon Romanovsky <email@example.com>
Signed-off-by: Doug Ledford <firstname.lastname@example.org>
3 files changed