DPDK usage discussions
 help / color / mirror / Atom feed
From: Ke Xu <ke.xu@ericsson.com>
To: yogev ch <yogevch@gmail.com>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] dpdk vmxnet3 clear stats missing (?) implementation
Date: Wed, 1 Aug 2018 09:43:55 +0000	[thread overview]
Message-ID: <AM0PR07MB38764A7C9C7E343D86C0F717842D0@AM0PR07MB3876.eurprd07.prod.outlook.com> (raw)
In-Reply-To: <CACPz_s=WE8At9DVM4RCrPbgiTqEO6R1EWud1XSdnC-8fTmrqyQ@mail.gmail.com>

I think upt1 does not support reset port statistics.
VMXNET3 linux kernel driver does not support it neither.

BRs//kxu

-----Original Message-----
From: users <users-bounces@dpdk.org> On Behalf Of yogev ch
Sent: 2018年7月30日 19:01
To: users@dpdk.org
Subject: [dpdk-users] dpdk vmxnet3 clear stats missing (?) implementation

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.

      reply	other threads:[~2018-08-01  9:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-30 11:01 yogev ch
2018-08-01  9:43 ` Ke Xu [this message]

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=AM0PR07MB38764A7C9C7E343D86C0F717842D0@AM0PR07MB3876.eurprd07.prod.outlook.com \
    --to=ke.xu@ericsson.com \
    --cc=users@dpdk.org \
    --cc=yogevch@gmail.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).