[dpdk-users] dpdk vmxnet3 clear stats missing (?) implementation
Ke Xu
ke.xu at ericsson.com
Wed Aug 1 11:43:55 CEST 2018
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 at dpdk.org> On Behalf Of yogev ch
Sent: 2018年7月30日 19:01
To: users at 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.
More information about the users
mailing list