[dpdk-stable] patch 'net/ipn3ke: fix line side statistics register read' has been queued to stable release 19.11.1
Xu, Rosen
rosen.xu at intel.com
Tue Feb 11 14:12:04 CET 2020
Hi Luca,
Thanks a lot.
> -----Original Message-----
> From: luca.boccassi at gmail.com <luca.boccassi at gmail.com>
> Sent: Tuesday, February 11, 2020 19:20
> To: Pei, Andy <andy.pei at intel.com>
> Cc: Xu, Rosen <rosen.xu at intel.com>; dpdk stable <stable at dpdk.org>
> Subject: patch 'net/ipn3ke: fix line side statistics register read' has been
> queued to stable release 19.11.1
>
> Hi,
>
> FYI, your patch has been queued to stable release 19.11.1
>
> Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
> It will be pushed if I get no objections before 02/13/20. So please shout if
> anyone has objections.
>
> Also note that after the patch there's a diff of the upstream commit vs the
> patch applied to the branch. This will indicate if there was any rebasing
> needed to apply to the stable branch. If there were code changes for
> rebasing
> (ie: not only metadata diffs), please double check that the rebase was
> correctly done.
>
> Thanks.
>
> Luca Boccassi
>
> ---
> From aa6b3a7622f6f713c9eb13d573f4bd1108a4518f Mon Sep 17 00:00:00
> 2001
> From: Andy Pei <andy.pei at intel.com>
> Date: Tue, 31 Dec 2019 14:53:47 +0800
> Subject: [PATCH] net/ipn3ke: fix line side statistics register read
>
> [ upstream commit eeb1497641cb6d7945abf62a4ea65f514df807e7 ]
>
> To read line side statistics register, eth_group_sel args in function
> ipn3ke_indirect_mac_read should be 0.
> When eth_group_sel is 1, the nic side register is read.
>
> Fixes: 5a6d883878db ("net/ipn3ke: implement statistics")
>
> Signed-off-by: Andy Pei <andy.pei at intel.com>
> Acked-by: Rosen Xu <rosen.xu at intel.com>
> ---
> drivers/net/ipn3ke/ipn3ke_representor.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ipn3ke/ipn3ke_representor.c
> b/drivers/net/ipn3ke/ipn3ke_representor.c
> index 8d9ebef915..80122e3fc5 100644
> --- a/drivers/net/ipn3ke/ipn3ke_representor.c
> +++ b/drivers/net/ipn3ke/ipn3ke_representor.c
> @@ -701,7 +701,7 @@ struct ipn3ke_rpst_hw_port_stats *hw_stats)
> &tmp,
> IPN3KE_25G_TX_STATISTICS_STATUS,
> port_id,
> - 1);
> + 0);
> if (tmp &
> IPN3KE_25G_TX_STATISTICS_STATUS_SHADOW_REQUEST_MASK) {
> tmp = 0x00000000;
> (*hw->f_mac_read)(hw,
> --
> 2.20.1
>
> ---
> Diff of the applied patch vs upstream commit (please double-check if non-
> empty:
> ---
> --- - 2020-02-11 11:17:40.729794725 +0000
> +++ 0047-net-ipn3ke-fix-line-side-statistics-register-read.patch 2020-
> 02-11 11:17:38.400001347 +0000
> @@ -1,14 +1,15 @@
> -From eeb1497641cb6d7945abf62a4ea65f514df807e7 Mon Sep 17 00:00:00
> 2001
> +From aa6b3a7622f6f713c9eb13d573f4bd1108a4518f Mon Sep 17 00:00:00
> 2001
> From: Andy Pei <andy.pei at intel.com>
> Date: Tue, 31 Dec 2019 14:53:47 +0800
> Subject: [PATCH] net/ipn3ke: fix line side statistics register read
>
> +[ upstream commit eeb1497641cb6d7945abf62a4ea65f514df807e7 ]
> +
> To read line side statistics register, eth_group_sel args in function
> ipn3ke_indirect_mac_read should be 0.
> When eth_group_sel is 1, the nic side register is read.
>
> Fixes: 5a6d883878db ("net/ipn3ke: implement statistics")
> -Cc: stable at dpdk.org
>
> Signed-off-by: Andy Pei <andy.pei at intel.com>
> Acked-by: Rosen Xu <rosen.xu at intel.com>
More information about the stable
mailing list