0001-net-mlx5-fix-transceiver-warning-when-not-exist.patch
Description: 0001-net-mlx5-fix-transceiver-warning-when-not-exist.patch
Coverity issue: 323479
Fixes: 30f77abe net/vmxnet3: support stats reset
Cc: sta...@dpdk.org
Signed-off-by: yogev ch
---
drivers/net/vmxnet3/vmxnet3_ethdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c
b/drivers/net/vmxnet3/vmxnet3
I'll add it.
Actually I didn't know why it wasn't implemented. Thanks.
-Original Message-
From: Yong Wang
Sent: Monday, September 17, 2018 8:21 PM
To: Yogev Chaimovich
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] vmxnet3: stats_reset implementation
> On Sep 17,
'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 incr
alled.
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 ch
"
-Original Message-
From: Yong Wang
Sent: Friday, Sept
5 matches
Mail list logo