diff options
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_lib.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c index a64db22e6ba4..bf0160b6d6ac 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_lib.c | |||
@@ -1820,7 +1820,6 @@ ice_cfg_itr(struct ice_hw *hw, struct ice_q_vector *q_vector, u16 vector) | |||
1820 | rc->target_itr = ITR_TO_REG(rc->itr_setting); | 1820 | rc->target_itr = ITR_TO_REG(rc->itr_setting); |
1821 | rc->next_update = jiffies + 1; | 1821 | rc->next_update = jiffies + 1; |
1822 | rc->current_itr = rc->target_itr; | 1822 | rc->current_itr = rc->target_itr; |
1823 | rc->latency_range = ICE_LOW_LATENCY; | ||
1824 | wr32(hw, GLINT_ITR(rc->itr_idx, vector), | 1823 | wr32(hw, GLINT_ITR(rc->itr_idx, vector), |
1825 | ITR_REG_ALIGN(rc->current_itr) >> ICE_ITR_GRAN_S); | 1824 | ITR_REG_ALIGN(rc->current_itr) >> ICE_ITR_GRAN_S); |
1826 | } | 1825 | } |
@@ -1835,7 +1834,6 @@ ice_cfg_itr(struct ice_hw *hw, struct ice_q_vector *q_vector, u16 vector) | |||
1835 | rc->target_itr = ITR_TO_REG(rc->itr_setting); | 1834 | rc->target_itr = ITR_TO_REG(rc->itr_setting); |
1836 | rc->next_update = jiffies + 1; | 1835 | rc->next_update = jiffies + 1; |
1837 | rc->current_itr = rc->target_itr; | 1836 | rc->current_itr = rc->target_itr; |
1838 | rc->latency_range = ICE_LOW_LATENCY; | ||
1839 | wr32(hw, GLINT_ITR(rc->itr_idx, vector), | 1837 | wr32(hw, GLINT_ITR(rc->itr_idx, vector), |
1840 | ITR_REG_ALIGN(rc->current_itr) >> ICE_ITR_GRAN_S); | 1838 | ITR_REG_ALIGN(rc->current_itr) >> ICE_ITR_GRAN_S); |
1841 | } | 1839 | } |