[dpdk-stable] [dpdk-dev] [PATCH] event/sw: fix xstats reset value assignment bug

Van Haaren, Harry harry.van.haaren at intel.com
Fri Sep 13 12:31:35 CEST 2019


> -----Original Message-----
> From: Jerin Jacob [mailto:jerinjacobk at gmail.com]
> Sent: Friday, September 13, 2019 11:30 AM
> To: Eads, Gage <gage.eads at intel.com>
> Cc: dev at dpdk.org; Richardson, Bruce <bruce.richardson at intel.com>; Van Haaren,
> Harry <harry.van.haaren at intel.com>; stable at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] event/sw: fix xstats reset value assignment
> bug
> 
> On Wed, Aug 28, 2019 at 3:06 AM Gage Eads <gage.eads at intel.com> wrote:
> >
> > The sw PMD implements xstats reset by having the xstat get operations
> > return a value to the statistic's value at the last reset. The value at the
> > last reset is maintained in the per-xstat reset_value field, but the PMD
> > was setting reset_value = current - reset_value instead of reset_value =
> > current.
> >
> > Fixes: c1ad03df7ad5 ("event/sw: support xstats")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Gage Eads <gage.eads at intel.com>
> 
> Harry,
> 
> Could you review this patch?

Yes - thanks for the ping. It's on my TODO, will prioritize.



More information about the stable mailing list