-#define HNS3_TX_ERROR_STATS_FIELD_OFFSET(f) \
- (offsetof(struct hns3_tx_queue, f))
+#define HNS3_RXQ_DFX_STATS_FIELD_OFFSET(f) \
+ (offsetof(struct hns3_rx_dfx_stats, f))
+
+#define HNS3_TXQ_DFX_STATS_FIELD_OFFSET(f) \
+ (offsetof(struct hns3_tx_dfx_stats, f))
+
+#define HNS3_RXQ_BASIC_STATS_FIELD_OFFSET(f) \
+ (offsetof(struct hns3_rx_basic_stats, f))
+
+#define HNS3_TXQ_BASIC_STATS_FIELD_OFFSET(f) \
+ (offsetof(struct hns3_tx_basic_stats, f))
+
+#define HNS3_IMISSED_STATS_FIELD_OFFSET(f) \
+ (offsetof(struct hns3_rx_missed_stats, f))