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

Commit 98c95a6b authored by Catherine Sullivan's avatar Catherine Sullivan Committed by Jeff Kirsher
Browse files

i40e: Remove a FW workaround



Remove the FW workaround to increment the number of msix vectors.

Signed-off-by: default avatarCatherine Sullivan <catherine.sullivan@intel.com>
Acked-by: default avatarShannon Nelson <shannon.nelson@intel.com>
Tested-by: default avatarKavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent acb3676b
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -5223,9 +5223,6 @@ static int i40e_get_capabilities(struct i40e_pf *pf)
		}
	} while (err);

	/* increment MSI-X count because current FW skips one */
	pf->hw.func_caps.num_msix_vectors++;

	if (((pf->hw.aq.fw_maj_ver == 2) && (pf->hw.aq.fw_min_ver < 22)) ||
	    (pf->hw.aq.fw_maj_ver < 2)) {
		pf->hw.func_caps.num_msix_vectors++;