Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d572c430 authored by Yuval Mintz's avatar Yuval Mintz Committed by David S. Miller
Browse files

qed: Correct min bandwidth for 100g



Driver uses reverse logic when checking if minimum
bandwidth configuration applied, causing it to
configure the guarantee only on the first hw-function.

Fixes: a0d26d5a ("qed*: Don't reset statistics on inner reload")
Signed-off-by: default avatarYuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7f7a144f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2539,7 +2539,7 @@ int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate)

		rc = __qed_configure_vport_wfq(p_hwfn, p_ptt, vp_id, rate);

		if (!rc) {
		if (rc) {
			qed_ptt_release(p_hwfn, p_ptt);
			return rc;
		}