#ifndef MAC_STATS_H
#define MAC_STATS_H
struct emac_stats {
};
struct bmac1_stats {
};
struct bmac2_stats {
};
struct mstat_stats {
struct {
/* OTE MSTAT on E3 has a bug where this register's contents are
* actually tx_gtxpok + tx_gtxpf + (possibly)tx_gtxpp
*/
} stats_tx;
struct {
} stats_rx;
};
union mac_stats {
};
struct mac_stx {
/* in_bad_octets */
/* out_bad_octets */
/* crc_receive_errors */
/* alignment_errors */
/* carrier_sense_errors */
/* false_carrier_detections */
/* runt_packets_received */
/* jabber_packets_received */
/* error_runt_packets_received */
/* error_jabber_packets_received */
/* control_frames_received */
/* xoff_state_entered */
/* pause_xon_frames_received */
/* pause_xoff_frames_received */
/* pause_xon_frames_transmitted */
/* pause_xoff_frames_transmitted */
/* flow_control_done */
/* ether_stats_collisions */
/* single_collision_transmit_frames */
/* multiple_collision_transmit_frames */
/* deferred_transmissions */
/* excessive_collision_frames */
/* late_collision_frames */
/* frames_transmitted_64_bytes */
/* frames_transmitted_65_127_bytes */
/* frames_transmitted_128_255_bytes */
/* frames_transmitted_256_511_bytes */
/* frames_transmitted_512_1023_bytes */
/* frames_transmitted_1024_1522_bytes */
/* frames_transmitted_1523_9022_bytes */
/* internal_mac_transmit_errors */
/* if_out_discards */
};
struct host_port_stats {
};
struct host_func_stats {
};
/* VIC definitions */
/*
* stats collected for afex.
* NOTE: structure is exactly as expected to be received by the switch.
* order must remain exactly as is unless protocol changes !
*/
struct afex_stats {
};
/* To maintain backward compatibility between FW and drivers, new elements */
/* should be added to the end of the structure. */
/* Per Port Statistics */
struct port_info {
This is flagged by Consumer as an error. */
1:1 bit for link good,
2:1 Set if link changed between last poll. */
};
#endif /* MAC_STATS_H */