[Intel-wired-lan] [PATCH net v2] iavf: Fix cached head and tail value for iavf_get_tx_pending
Jankowski, Konrad0
konrad0.jankowski at intel.com
Wed Sep 7 09:37:31 UTC 2022
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Mateusz Palczewski
> Sent: Thursday, September 1, 2022 4:35 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Brett Creeley <brett.creeley at intel.com>; Zulinski, NorbertX
> <norbertx.zulinski at intel.com>
> Subject: [Intel-wired-lan] [PATCH net v2] iavf: Fix cached head and tail value
> for iavf_get_tx_pending
>
> From: Brett Creeley <brett.creeley at intel.com>
>
> The underlying hardware may or may not allow reading of the head or tail
> registers and it really makes no difference if we use the software cached
> values. So, always used the software cached values.
>
> Fixes: 9c6c12595b73 ("i40e: Detection and recovery of TX queue hung logic
> moved to service_task from tx_timeout")
> Signed-off-by: Brett Creeley <brett.creeley at intel.com>
> Co-developed-by: Norbert Zulinski <norbertx.zulinski at intel.com>
> Signed-off-by: Norbert Zulinski <norbertx.zulinski at intel.com>
> Signed-off-by: Mateusz Palczewski <mateusz.palczewski at intel.com>
> ---
> v2: Added missing sign-off tag
> ---
> drivers/net/ethernet/intel/iavf/iavf_txrx.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/intel/iavf/iavf_txrx.c
> b/drivers/net/ethernet/intel/iavf/iavf_txrx.c
> index 06d18797d25a..4c3f3f419110 100644
> --- a/drivers/net/ethernet/intel/iavf/iavf_txrx.c
> +++ b/drivers/net/ethernet/intel/iavf/iavf_txrx.c
Tested-by: Konrad Jankowski <konrad0.jankowski at intel.com>
More information about the Intel-wired-lan
mailing list