]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/hns3/hns3_stats.h
net/hns3: fix mailbox communication with HW
[dpdk.git] / drivers / net / hns3 / hns3_stats.h
index 273be4246fc0bfbe492acdb5bd2e24c94dfef4f9..d1230f94cb869573ae23cf18647a86dce9ccd2ad 100644 (file)
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2018-2019 Hisilicon Limited.
+ * Copyright(c) 2018-2021 HiSilicon Limited.
  */
 
 #ifndef _HNS3_STATS_H_
@@ -161,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,
-                                   struct rte_eth_xstat_name *xstats_names,
                                    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);