1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2014-2021 Broadcom
9 #include <ethdev_driver.h>
11 void bnxt_free_stats(struct bnxt *bp);
12 int bnxt_stats_get_op(struct rte_eth_dev *eth_dev,
13 struct rte_eth_stats *bnxt_stats);
14 int bnxt_stats_reset_op(struct rte_eth_dev *eth_dev);
15 int bnxt_dev_xstats_get_names_op(struct rte_eth_dev *eth_dev,
16 struct rte_eth_xstat_name *xstats_names,
17 __rte_unused unsigned int limit);
18 int bnxt_dev_xstats_get_op(struct rte_eth_dev *eth_dev,
19 struct rte_eth_xstat *xstats, unsigned int n);
20 int bnxt_dev_xstats_reset_op(struct rte_eth_dev *eth_dev);
22 struct bnxt_xstats_name_off {
23 char name[RTE_ETH_XSTATS_NAME_SIZE];