Skip to content

Commit 1078134

Browse files
Alexander DuyckJeff Kirsher
authored andcommitted
i40e: Fix incorrect use of tx_itr_setting when checking for Rx ITR setup
It looks like there was either a copy/paste error or just a typo that resulted in the Tx ITR setting being used to determine if we were using adaptive Rx interrupt moderation or not. This patch fixes the typo. Fixes: 65e87c0 ("i40evf: support queue-specific settings for interrupt moderation") Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
1 parent 069db9c commit 1078134

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/net/ethernet/intel/i40e/i40e_txrx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2269,7 +2269,7 @@ static inline void i40e_update_enable_itr(struct i40e_vsi *vsi,
22692269
goto enable_int;
22702270
}
22712271

2272-
if (ITR_IS_DYNAMIC(tx_itr_setting)) {
2272+
if (ITR_IS_DYNAMIC(rx_itr_setting)) {
22732273
rx = i40e_set_new_dynamic_itr(&q_vector->rx);
22742274
rxval = i40e_buildreg_itr(I40E_RX_ITR, q_vector->rx.itr);
22752275
}

0 commit comments

Comments
 (0)