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/hns3: fix mailbox communication with HW
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_stats.h
diff --git
a/drivers/net/hns3/hns3_stats.h
b/drivers/net/hns3/hns3_stats.h
index
8ea69b4
..
d1230f9
100644
(file)
--- a/
drivers/net/hns3/hns3_stats.h
+++ b/
drivers/net/hns3/hns3_stats.h
@@
-1,5
+1,5
@@
/* SPDX-License-Identifier: BSD-3-Clause
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2018-20
19 His
ilicon Limited.
+ * Copyright(c) 2018-20
21 HiS
ilicon Limited.
*/
#ifndef _HNS3_STATS_H_
*/
#ifndef _HNS3_STATS_H_
@@
-112,6
+112,7
@@
struct hns3_mac_stats {
struct hns3_rx_missed_stats {
uint64_t rpu_rx_drop_cnt;
struct hns3_rx_missed_stats {
uint64_t rpu_rx_drop_cnt;
+ uint64_t ssu_rx_drop_cnt;
};
/* store statistics names and its offset in stats structure */
};
/* store statistics names and its offset in stats structure */
@@
-160,8
+161,8
@@
int hns3_dev_xstats_get_by_id(struct rte_eth_dev *dev,
uint64_t *values,
uint32_t size);
int hns3_dev_xstats_get_names_by_id(struct rte_eth_dev *dev,
uint64_t *values,
uint32_t size);
int hns3_dev_xstats_get_names_by_id(struct rte_eth_dev *dev,
- struct rte_eth_xstat_name *xstats_names,
const uint64_t *ids,
const uint64_t *ids,
+ struct rte_eth_xstat_name *xstats_names,
uint32_t size);
int hns3_stats_reset(struct rte_eth_dev *dev);
int hns3_tqp_stats_init(struct hns3_hw *hw);
uint32_t size);
int hns3_stats_reset(struct rte_eth_dev *dev);
int hns3_tqp_stats_init(struct hns3_hw *hw);