mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 02:38:22 +07:00
qed: remove unused SQ error state
The internal RoCE SQE QP state isn't being used. Instead we mark the QP as in regular error state. Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
793ea8a9c7
commit
ba0154e964
@ -2191,8 +2191,7 @@ static int qed_roce_modify_qp(struct qed_hwfn *p_hwfn,
|
||||
params->modify_flags);
|
||||
|
||||
return rc;
|
||||
} else if (qp->cur_state == QED_ROCE_QP_STATE_ERR ||
|
||||
qp->cur_state == QED_ROCE_QP_STATE_SQE) {
|
||||
} else if (qp->cur_state == QED_ROCE_QP_STATE_ERR) {
|
||||
/* ->ERR */
|
||||
rc = qed_roce_sp_modify_responder(p_hwfn, qp, true,
|
||||
params->modify_flags);
|
||||
|
Loading…
Reference in New Issue
Block a user