numam-dpdk/drivers/net/vmxnet3
Yogev Chaimovich 30f77abecd net/vmxnet3: support stats reset
'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>
2018-09-28 01:41:02 +02:00
..
base net/vmxnet3: complete Rx offloads support 2018-04-27 17:34:41 +01:00
Makefile net/vmxnet3: guess MSS if not provided in LRO mode 2018-04-27 17:34:41 +01:00
meson.build net/vmxnet3: add in meson build 2018-09-18 22:53:35 +02:00
rte_pmd_vmxnet3_version.map vmxnet3: move to drivers/net/ 2015-05-22 16:06:23 +02:00
vmxnet3_ethdev.c net/vmxnet3: support stats reset 2018-09-28 01:41:02 +02:00
vmxnet3_ethdev.h net/vmxnet3: support stats reset 2018-09-28 01:41:02 +02:00
vmxnet3_logs.h net/vmxnet3: implement dynamic logging 2018-01-16 18:47:49 +01:00
vmxnet3_ring.h net/vmxnet3: increase Rx data ring descriptor size 2018-04-27 15:54:56 +01:00
vmxnet3_rxtx.c ethdev: new Rx/Tx offloads API 2018-05-14 22:31:51 +01:00