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/mlx5: add C++ include guard to public header
[dpdk.git]
/
drivers
/
net
/
bnxt
/
bnxt_stats.c
diff --git
a/drivers/net/bnxt/bnxt_stats.c
b/drivers/net/bnxt/bnxt_stats.c
index
197fd7c
..
208aa56
100644
(file)
--- a/
drivers/net/bnxt/bnxt_stats.c
+++ b/
drivers/net/bnxt/bnxt_stats.c
@@
-741,7
+741,7
@@
int bnxt_dev_xstats_get_op(struct rte_eth_dev *eth_dev,
(bp->fw_tx_port_stats_ext_size /
stat_size));
- memset(xstats, 0, sizeof(*xstats));
+ memset(xstats, 0, sizeof(*xstats)
* n
);
count = 0;
for (i = 0; i < RTE_DIM(bnxt_rx_stats_strings); i++) {