net/hns3: remove unused macros
[dpdk.git] / drivers / net / hns3 / hns3_stats.h
index 70a9c5b..de5c40d 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_
@@ -112,6 +112,7 @@ struct hns3_mac_stats {
 
 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 */
@@ -164,7 +165,6 @@ int hns3_dev_xstats_get_names_by_id(struct rte_eth_dev *dev,
                                    const uint64_t *ids,
                                    uint32_t size);
 int hns3_stats_reset(struct rte_eth_dev *dev);
-void hns3_error_int_stats_add(struct hns3_adapter *hns, const char *err);
 int hns3_tqp_stats_init(struct hns3_hw *hw);
 void hns3_tqp_stats_uninit(struct hns3_hw *hw);
 int hns3_update_imissed_stats(struct hns3_hw *hw, bool is_clear);