Browse Source

qcacmn: Change data type for byte count to uint64_t in cdp_dev_stats

Change data type for byte count to uint64_t in cdp_dev_stats.

Change-Id: I917df55f3c816351b6689d39c28ea9a01f76deb3
CRs-Fixed: 3166358
Harsh Kumar Bijlani 3 năm trước cách đây
mục cha
commit
91fbf6db50
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      dp/inc/cdp_txrx_cmn_struct.h

+ 4 - 4
dp/inc/cdp_txrx_cmn_struct.h

@@ -2175,23 +2175,23 @@ struct cdp_tx_completion_ppdu {
 /**
  * struct cdp_dev_stats - Network device stats structure
  * @tx_packets: Tx total packets transmitted
- * @tx_bytes  : Tx total bytes transmitted
  * @tx_errors : Tx error due to FW tx failure, Ring failure DMA etc
  * @tx_dropped: Tx dropped is same as tx errors as above
  * @rx_packets: Rx total packets transmitted
- * @rx_bytes  : Rx total bytes transmitted
  * @rx_errors : Rx erros
  * @rx_dropped: Rx dropped stats
+ * @tx_bytes  : Tx total bytes transmitted
+ * @rx_bytes  : Rx total bytes transmitted
  */
 struct cdp_dev_stats {
 	uint32_t tx_packets;
-	uint32_t tx_bytes;
 	uint32_t tx_errors;
 	uint32_t tx_dropped;
 	uint32_t rx_packets;
-	uint32_t rx_bytes;
 	uint32_t rx_errors;
 	uint32_t rx_dropped;
+	uint64_t tx_bytes;
+	uint64_t rx_bytes;
 };
 
 /**