net/ngbe: fix packet statistics
[dpdk.git] / drivers / net / hns3 / hns3_ethdev.h
index 1dd3886..ef028a7 100644 (file)
@@ -155,7 +155,6 @@ struct hns3_tc_queue_info {
 
 struct hns3_cfg {
        uint8_t tc_num;
-       uint16_t tqp_desc_num;
        uint16_t rss_size_max;
        uint8_t phy_addr;
        uint8_t media_type;
@@ -501,6 +500,7 @@ struct hns3_hw {
        struct hns3_tqp_stats tqp_stats;
        /* Include Mac stats | Rx stats | Tx stats */
        struct hns3_mac_stats mac_stats;
+       uint32_t mac_stats_reg_num;
        struct hns3_rx_missed_stats imissed_stats;
        uint64_t oerror_stats;
        uint32_t fw_version;
@@ -512,8 +512,6 @@ struct hns3_hw {
        uint16_t intr_tqps_num;     /* num queue pairs mapping interrupt */
        uint16_t rss_size_max;      /* HW defined max RSS task queue */
        uint16_t rx_buf_len;        /* hold min hardware rx buf len */
-       uint16_t num_tx_desc;       /* desc num of per tx queue */
-       uint16_t num_rx_desc;       /* desc num of per rx queue */
        uint32_t mng_entry_num;     /* number of manager table entry */
        uint32_t mac_entry_num;     /* number of mac-vlan table entry */