DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/ixgbe: fix rx multicst count isn't clear
@ 2021-08-30  3:31 Qiming Chen
  2021-08-30  4:32 ` Wang, Haiyue
  0 siblings, 1 reply; 3+ messages in thread
From: Qiming Chen @ 2021-08-30  3:31 UTC (permalink / raw)
  To: dev; +Cc: haiyue.wang, Qiming Chen, stable

In the implementation of the vf driver ixgbevf_update_stats to obtain
statistics, the multicast count hw_stats->vfmprc has been obtained,
but it is not cleared in the corresponding ixgbevf_dev_stats_reset
interface.

Fixes: abf7275bbaa2 ("ixgbe: move to drivers/net/")
Cc: stable@dpdk.org

Signed-off-by: Qiming Chen <chenqiming_huawei@163.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index b5371568b5..ccb01ed344 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -3798,6 +3798,7 @@ ixgbevf_dev_stats_reset(struct rte_eth_dev *dev)
 	hw_stats->vfgorc = 0;
 	hw_stats->vfgptc = 0;
 	hw_stats->vfgotc = 0;
+	hw_stats->vfmprc = 0;
 
 	return 0;
 }
-- 
2.30.1.windows.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/ixgbe: fix rx multicst count isn't clear
  2021-08-30  3:31 [dpdk-dev] [PATCH] net/ixgbe: fix rx multicst count isn't clear Qiming Chen
@ 2021-08-30  4:32 ` Wang, Haiyue
  2021-09-01  6:17   ` Zhang, Qi Z
  0 siblings, 1 reply; 3+ messages in thread
From: Wang, Haiyue @ 2021-08-30  4:32 UTC (permalink / raw)
  To: Qiming Chen, dev; +Cc: stable

> -----Original Message-----
> From: Qiming Chen <chenqiming_huawei@163.com>
> Sent: Monday, August 30, 2021 11:32
> To: dev@dpdk.org
> Cc: Wang, Haiyue <haiyue.wang@intel.com>; Qiming Chen <chenqiming_huawei@163.com>; stable@dpdk.org
> Subject: [PATCH] net/ixgbe: fix rx multicst count isn't clear
> 
> In the implementation of the vf driver ixgbevf_update_stats to obtain
> statistics, the multicast count hw_stats->vfmprc has been obtained,
> but it is not cleared in the corresponding ixgbevf_dev_stats_reset
> interface.
> 
> Fixes: abf7275bbaa2 ("ixgbe: move to drivers/net/")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Qiming Chen <chenqiming_huawei@163.com>
> ---
>  drivers/net/ixgbe/ixgbe_ethdev.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Thanks!

Acked-by: Haiyue Wang <haiyue.wang@intel.com>

> --
> 2.30.1.windows.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/ixgbe: fix rx multicst count isn't clear
  2021-08-30  4:32 ` Wang, Haiyue
@ 2021-09-01  6:17   ` Zhang, Qi Z
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang, Qi Z @ 2021-09-01  6:17 UTC (permalink / raw)
  To: Wang, Haiyue, Qiming Chen, dev; +Cc: stable



> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Wang, Haiyue
> Sent: Monday, August 30, 2021 12:32 PM
> To: Qiming Chen <chenqiming_huawei@163.com>; dev@dpdk.org
> Cc: stable@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: fix rx multicst count isn't clear
> 
> > -----Original Message-----
> > From: Qiming Chen <chenqiming_huawei@163.com>
> > Sent: Monday, August 30, 2021 11:32
> > To: dev@dpdk.org
> > Cc: Wang, Haiyue <haiyue.wang@intel.com>; Qiming Chen
> > <chenqiming_huawei@163.com>; stable@dpdk.org
> > Subject: [PATCH] net/ixgbe: fix rx multicst count isn't clear
> >
> > In the implementation of the vf driver ixgbevf_update_stats to obtain
> > statistics, the multicast count hw_stats->vfmprc has been obtained,
> > but it is not cleared in the corresponding ixgbevf_dev_stats_reset
> > interface.
> >
> > Fixes: abf7275bbaa2 ("ixgbe: move to drivers/net/")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Qiming Chen <chenqiming_huawei@163.com>
> > ---
> >  drivers/net/ixgbe/ixgbe_ethdev.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> 
> Thanks!
> 
> Acked-by: Haiyue Wang <haiyue.wang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi
> 
> > --
> > 2.30.1.windows.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-01  6:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-30  3:31 [dpdk-dev] [PATCH] net/ixgbe: fix rx multicst count isn't clear Qiming Chen
2021-08-30  4:32 ` Wang, Haiyue
2021-09-01  6:17   ` Zhang, Qi Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).