Skip to content

Commit 4b6f3ec

Browse files
bcreeley13Jeff Kirsher
authored andcommitted
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: Brett Creeley <[email protected]> Signed-off-by: Anirudh Venkataramanan <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 1aec6e1 commit 4b6f3ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/ethernet/intel/ice/ice_lib.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,8 @@ void ice_vsi_cfg_msix(struct ice_vsi *vsi)
18561856
struct ice_q_vector *q_vector = vsi->q_vectors[i];
18571857
u16 reg_idx = q_vector->reg_idx;
18581858

1859-
ice_cfg_itr(hw, q_vector);
1859+
if (vsi->type != ICE_VSI_VF)
1860+
ice_cfg_itr(hw, q_vector);
18601861

18611862
wr32(hw, GLINT_RATE(reg_idx),
18621863
ice_intrl_usec_to_reg(q_vector->intrl, hw->intrl_gran));

0 commit comments

Comments
 (0)