From: yogev ch <yogevch@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] dpdk vmxnet3 clear stats missing (?) implementation
Date: Mon, 30 Jul 2018 14:01:08 +0300 [thread overview]
Message-ID: <CACPz_s=WE8At9DVM4RCrPbgiTqEO6R1EWud1XSdnC-8fTmrqyQ@mail.gmail.com> (raw)
dpdk PMDs implement stats_reset of rte_ethdev.h:struct eth_dev_ops in order
to reset port statistics.
PMD vmxnet3 doesn't register it under
static const struct eth_dev_ops vmxnet3_eth_dev_ops = {
...
.stats_get = vmxnet3_dev_stats_get,
.xstats_get_names = vmxnet3_dev_xstats_get_names,
.xstats_get = vmxnet3_dev_xstats_get,
...
There are only get functions, but no reset.
· Does it mean vmxnet3 cannot clear port statistics?
· Is there a way to implement it?
I saw it over dpdk versions 17.11.1, dpdk-stable-18.02.2.
Thanks,
Yogev.
next reply other threads:[~2018-07-30 11:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-30 11:01 yogev ch [this message]
2018-08-01 9:43 ` Ke Xu
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='CACPz_s=WE8At9DVM4RCrPbgiTqEO6R1EWud1XSdnC-8fTmrqyQ@mail.gmail.com' \
--to=yogevch@gmail.com \
--cc=users@dpdk.org \
/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).