Unverified Commit 95a4fa64 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!12737 r8169: add tally counter fields added with RTL8125

parents 77b923cb 087bdace
Loading
Loading
Loading
Loading
+27 −0
Original line number Diff line number Diff line
@@ -570,6 +570,33 @@ struct rtl8169_counters {
	__le32	rx_multicast;
	__le16	tx_aborted;
	__le16	tx_underun;
	/* new since RTL8125 */
	__le64 tx_octets;
	__le64 rx_octets;
	__le64 rx_multicast64;
	__le64 tx_unicast64;
	__le64 tx_broadcast64;
	__le64 tx_multicast64;
	__le32 tx_pause_on;
	__le32 tx_pause_off;
	__le32 tx_pause_all;
	__le32 tx_deferred;
	__le32 tx_late_collision;
	__le32 tx_all_collision;
	__le32 tx_aborted32;
	__le32 align_errors32;
	__le32 rx_frame_too_long;
	__le32 rx_runt;
	__le32 rx_pause_on;
	__le32 rx_pause_off;
	__le32 rx_pause_all;
	__le32 rx_unknown_opcode;
	__le32 rx_mac_error;
	__le32 tx_underrun32;
	__le32 rx_mac_missed;
	__le32 rx_tcam_dropped;
	__le32 tdu;
	__le32 rdu;
};

struct rtl8169_tc_offsets {