Skip to content

Commit 77a8c98

Browse files
ivecerakuba-moo
authored andcommitted
i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
The I40E_TXR_FLAGS_WB_ON_ITR is i40e_ring flag and not i40e_pf one. Fixes: 8e0764b ("i40e/i40evf: Add support for writeback on ITR feature for X722") Signed-off-by: Ivan Vecera <ivecera@redhat.com> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel) Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://lore.kernel.org/r/20231023212714.178032-1-jacob.e.keller@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 00d6709 commit 77a8c98

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
@@ -2854,7 +2854,7 @@ int i40e_napi_poll(struct napi_struct *napi, int budget)
28542854
return budget;
28552855
}
28562856

2857-
if (vsi->back->flags & I40E_TXR_FLAGS_WB_ON_ITR)
2857+
if (q_vector->tx.ring[0].flags & I40E_TXR_FLAGS_WB_ON_ITR)
28582858
q_vector->arm_wb_state = false;
28592859

28602860
/* Exit the polling mode, but don't re-enable interrupts if stack might

0 commit comments

Comments
 (0)