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

Commit 4b6f3eca authored by Brett Creeley's avatar Brett Creeley Committed by Jeff Kirsher
Browse files

ice: Don't call ice_cfg_itr() for SR-IOV



ice_cfg_itr() sets the ITR granularity and default ITR values for the
PF's interrupt vectors. For VF's this will be done in the AVF driver
flow. Fix this by not calling ice_cfg_itr() for SR-IOV.

Signed-off-by: default avatarBrett Creeley <brett.creeley@intel.com>
Signed-off-by: default avatarAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 1aec6e1b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1856,6 +1856,7 @@ void ice_vsi_cfg_msix(struct ice_vsi *vsi)
		struct ice_q_vector *q_vector = vsi->q_vectors[i];
		u16 reg_idx = q_vector->reg_idx;

		if (vsi->type != ICE_VSI_VF)
			ice_cfg_itr(hw, q_vector);

		wr32(hw, GLINT_RATE(reg_idx),