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

Jerin Jacob jerinjacobk at gmail.com
Mon Sep 23 17:51:55 CEST 2019


On Mon, Sep 23, 2019 at 7:47 PM Van Haaren, Harry
<harry.van.haaren at intel.com> wrote:
>
> > -----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>
>
> Acked-by: Harry van Haaren <harry.van.haaren at intel.com>

Applied to dpdk-next-eventdev/master. Thanks.



>
>


More information about the dev mailing list