git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/qede: free packets in bulk
[dpdk.git]
/
drivers
/
net
/
nfb
/
nfb_stats.c
diff --git
a/drivers/net/nfb/nfb_stats.c
b/drivers/net/nfb/nfb_stats.c
index
5aa4d00
..
e107dff
100644
(file)
--- a/
drivers/net/nfb/nfb_stats.c
+++ b/
drivers/net/nfb/nfb_stats.c
@@
-52,7
+52,7
@@
nfb_eth_stats_get(struct rte_eth_dev *dev,
return 0;
}
-void
+int
nfb_eth_stats_reset(struct rte_eth_dev *dev)
{
uint16_t i;
@@
-74,4
+74,6
@@
nfb_eth_stats_reset(struct rte_eth_dev *dev)
tx_queue[i].tx_bytes = 0;
tx_queue[i].err_pkts = 0;
}
+
+ return 0;
}