Message ID | 20231023212714.178032-1-jacob.e.keller@intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 77a8c982ff0d4c3a14022c6fe9e3dbfb327552ec |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net] i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR | expand |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <kuba@kernel.org>: On Mon, 23 Oct 2023 14:27:14 -0700 you wrote: > From: Ivan Vecera <ivecera@redhat.com> > > The I40E_TXR_FLAGS_WB_ON_ITR is i40e_ring flag and not i40e_pf one. > > Fixes: 8e0764b4d6be42 ("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> > > [...] Here is the summary with links: - [net] i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR https://git.kernel.org/netdev/net/c/77a8c982ff0d You are awesome, thank you!
diff --git a/drivers/net/ethernet/intel/i40e/i40e_txrx.c b/drivers/net/ethernet/intel/i40e/i40e_txrx.c index 50c70a8e470a..b047c587629b 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_txrx.c +++ b/drivers/net/ethernet/intel/i40e/i40e_txrx.c @@ -2854,7 +2854,7 @@ int i40e_napi_poll(struct napi_struct *napi, int budget) return budget; } - if (vsi->back->flags & I40E_TXR_FLAGS_WB_ON_ITR) + if (q_vector->tx.ring[0].flags & I40E_TXR_FLAGS_WB_ON_ITR) q_vector->arm_wb_state = false; /* Exit the polling mode, but don't re-enable interrupts if stack might