Skip to content

Commit 6d745da

Browse files
Ivan Vecerasmb49
Ivan Vecera
authored andcommitted
i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
BugLink: https://bugs.launchpad.net/bugs/2049417 [ Upstream commit 77a8c98 ] 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 <[email protected]> Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel) Signed-off-by: Jacob Keller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Roxana Nicolescu <[email protected]> Signed-off-by: Stefan Bader <[email protected]>
1 parent 0224b08 commit 6d745da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2759,7 +2759,7 @@ int i40e_napi_poll(struct napi_struct *napi, int budget)
27592759
return budget;
27602760
}
27612761

2762-
if (vsi->back->flags & I40E_TXR_FLAGS_WB_ON_ITR)
2762+
if (q_vector->tx.ring[0].flags & I40E_TXR_FLAGS_WB_ON_ITR)
27632763
q_vector->arm_wb_state = false;
27642764

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

0 commit comments

Comments
 (0)