Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
providers/irdma: Explicitly set QP modify attributes for reflush
[ Upstream commit 1ffbbce ] irdma issues a reflush via a modify QP to ERROR op to report completions for WR's posted once the QP is in error state. However, this reflush modify attributes is incorrectly keyed off the last QP QP attributes by an application which might or might not be a modify to error. In the later case, a flush WQE is missed. Explicitly set the attr.qp_state and attr_mask during a reflush modify to move the QP to error state once its in error state. Remove ibv_qp attributes from irdma_uqp struct Fixes: 14a0fc8 ("rdma-core/irdma: Implement device supported verb APIs") Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com> Signed-off-by: Sindhu-Devale <sindhu.devale@intel.com> Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
- Loading branch information