X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fbnxt%2Fbnxt_stats.h;h=3cf2a1b822d9ae5c0d3ddc18c4251272468e288c;hb=ac2df046a0cabd68e520fafbeaccd35e3e1b86ef;hp=b0f135a5af2519d6fbc7e3a6572ff306e7d0fee4;hpb=fd710bb1f6e015a190bae5276dff9792064d8008;p=dpdk.git diff --git a/drivers/net/bnxt/bnxt_stats.h b/drivers/net/bnxt/bnxt_stats.h index b0f135a5af..3cf2a1b822 100644 --- a/drivers/net/bnxt/bnxt_stats.h +++ b/drivers/net/bnxt/bnxt_stats.h @@ -11,13 +11,13 @@ void bnxt_free_stats(struct bnxt *bp); int bnxt_stats_get_op(struct rte_eth_dev *eth_dev, struct rte_eth_stats *bnxt_stats); -void bnxt_stats_reset_op(struct rte_eth_dev *eth_dev); +int bnxt_stats_reset_op(struct rte_eth_dev *eth_dev); int bnxt_dev_xstats_get_names_op(__rte_unused struct rte_eth_dev *eth_dev, struct rte_eth_xstat_name *xstats_names, __rte_unused unsigned int limit); int bnxt_dev_xstats_get_op(struct rte_eth_dev *eth_dev, struct rte_eth_xstat *xstats, unsigned int n); -void bnxt_dev_xstats_reset_op(struct rte_eth_dev *eth_dev); +int bnxt_dev_xstats_reset_op(struct rte_eth_dev *eth_dev); int bnxt_dev_xstats_get_by_id_op(struct rte_eth_dev *dev, const uint64_t *ids, uint64_t *values, unsigned int limit); int bnxt_dev_xstats_get_names_by_id_op(struct rte_eth_dev *dev,