[dpdk-users] dpdk vmxnet3 clear stats missing (?) implementation

yogev ch yogevch at gmail.com
Mon Jul 30 13:01:08 CEST 2018

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.



More information about the users mailing list