From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Yogev Chaimovich <yogev@cgstowernetworks.com>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] vmxnet3: stats_reset implementation
Date: Fri, 21 Sep 2018 02:21:41 +0100 [thread overview]
Message-ID: <a4ba81c6-9c6f-2e3f-19ac-a13bd42dc471@intel.com> (raw)
In-Reply-To: <1537425577-86337-1-git-send-email-yogev@cgstowernetworks.com>
On 9/20/2018 7:37 AM, Yogev Chaimovich wrote:
> 'stats_reset()' callback was missing because the device backend doesn’t support it.
> This commit adds a workaround to this and implements the callback by taking a snapshot of the stats (SNAPSHOT) each time 'stats_reset()' is called.
> When getting stats with 'stats_get()', hw stats which always increase reduce SNAPSHOT stats. That's how we get the "real" stats since the last 'stats_reset()'.
>
> Signed-off-by: yogev ch <yogev@cgstowernetworks.com>
Acked-by: Yong Wang <yongwang@vmware.com>
Applied to dpdk-next-net/master, thanks.
next prev parent reply other threads:[~2018-09-21 1:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-22 7:40 yogev ch
2018-09-13 21:26 ` Yong Wang
2018-09-16 5:55 ` Yogev Chaimovich
2018-09-17 7:48 ` yogev ch
2018-09-17 17:21 ` Yong Wang
2018-09-20 6:36 ` Yogev Chaimovich
2018-09-20 6:37 ` Yogev Chaimovich
2018-09-21 1:21 ` Ferruh Yigit [this message]
2018-09-20 17:49 Yong Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a4ba81c6-9c6f-2e3f-19ac-a13bd42dc471@intel.com \
--to=ferruh.yigit@intel.com \
--cc=dev@dpdk.org \
--cc=yogev@cgstowernetworks.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).