30f77abecd
'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 Chaimovich <yogev@cgstowernetworks.com> Acked-by: Yong Wang <yongwang@vmware.com> |
||
---|---|---|
.. | ||
base | ||
Makefile | ||
meson.build | ||
rte_pmd_vmxnet3_version.map | ||
vmxnet3_ethdev.c | ||
vmxnet3_ethdev.h | ||
vmxnet3_logs.h | ||
vmxnet3_ring.h | ||
vmxnet3_rxtx.c |