Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
vxge_hw_xmac_port_stats Struct Reference

#include <vxge-traffic.h>

Data Fields

u64 tx_ttl_frms
 
u64 tx_ttl_octets
 
u64 tx_data_octets
 
u64 tx_mcast_frms
 
u64 tx_bcast_frms
 
u64 tx_ucast_frms
 
u64 tx_tagged_frms
 
u64 tx_vld_ip
 
u64 tx_vld_ip_octets
 
u64 tx_icmp
 
u64 tx_tcp
 
u64 tx_rst_tcp
 
u64 tx_udp
 
u32 tx_parse_error
 
u32 tx_unknown_protocol
 
u64 tx_pause_ctrl_frms
 
u32 tx_marker_pdu_frms
 
u32 tx_lacpdu_frms
 
u32 tx_drop_ip
 
u32 tx_marker_resp_pdu_frms
 
u32 tx_xgmii_char2_match
 
u32 tx_xgmii_char1_match
 
u32 tx_xgmii_column2_match
 
u32 tx_xgmii_column1_match
 
u32 unused1
 
u16 tx_any_err_frms
 
u16 tx_drop_frms
 
u64 rx_ttl_frms
 
u64 rx_vld_frms
 
u64 rx_offload_frms
 
u64 rx_ttl_octets
 
u64 rx_data_octets
 
u64 rx_offload_octets
 
u64 rx_vld_mcast_frms
 
u64 rx_vld_bcast_frms
 
u64 rx_accepted_ucast_frms
 
u64 rx_accepted_nucast_frms
 
u64 rx_tagged_frms
 
u64 rx_long_frms
 
u64 rx_usized_frms
 
u64 rx_osized_frms
 
u64 rx_frag_frms
 
u64 rx_jabber_frms
 
u64 rx_ttl_64_frms
 
u64 rx_ttl_65_127_frms
 
u64 rx_ttl_128_255_frms
 
u64 rx_ttl_256_511_frms
 
u64 rx_ttl_512_1023_frms
 
u64 rx_ttl_1024_1518_frms
 
u64 rx_ttl_1519_4095_frms
 
u64 rx_ttl_4096_8191_frms
 
u64 rx_ttl_8192_max_frms
 
u64 rx_ttl_gt_max_frms
 
u64 rx_ip
 
u64 rx_accepted_ip
 
u64 rx_ip_octets
 
u64 rx_err_ip
 
u64 rx_icmp
 
u64 rx_tcp
 
u64 rx_udp
 
u64 rx_err_tcp
 
u64 rx_pause_count
 
u64 rx_pause_ctrl_frms
 
u64 rx_unsup_ctrl_frms
 
u64 rx_fcs_err_frms
 
u64 rx_in_rng_len_err_frms
 
u64 rx_out_rng_len_err_frms
 
u64 rx_drop_frms
 
u64 rx_discarded_frms
 
u64 rx_drop_ip
 
u64 rx_drop_udp
 
u32 rx_marker_pdu_frms
 
u32 rx_lacpdu_frms
 
u32 rx_unknown_pdu_frms
 
u32 rx_marker_resp_pdu_frms
 
u32 rx_fcs_discard
 
u32 rx_illegal_pdu_frms
 
u32 rx_switch_discard
 
u32 rx_len_discard
 
u32 rx_rpa_discard
 
u32 rx_l2_mgmt_discard
 
u32 rx_rts_discard
 
u32 rx_trash_discard
 
u32 rx_buff_full_discard
 
u32 rx_red_discard
 
u32 rx_xgmii_ctrl_err_cnt
 
u32 rx_xgmii_data_err_cnt
 
u32 rx_xgmii_char1_match
 
u32 rx_xgmii_err_sym
 
u32 rx_xgmii_column1_match
 
u32 rx_xgmii_char2_match
 
u32 rx_local_fault
 
u32 rx_xgmii_column2_match
 
u32 rx_jettison
 
u32 rx_remote_fault
 

Detailed Description

struct vxge_hw_xmac_port_stats - XMAC Port Statistics

: Count of successfully transmitted MAC frames : Count of total octets of transmitted frames, not including framing characters (i.e. less framing bits). To determine the total octets of transmitted frames, including framing characters, multiply PORTn_TX_TTL_FRMS by 8 and add it to this stat (unless otherwise configured, this stat only counts frames that have 8 bytes of preamble for each frame). This stat can be configured (see XMAC_STATS_GLOBAL_CFG.TTL_FRMS_HANDLING) to count everything including the preamble octets. : Count of data and padding octets of successfully transmitted frames. : Count of successfully transmitted frames to a group address other than the broadcast address. : Count of successfully transmitted frames to the broadcast group address. : Count of transmitted frames containing a unicast address. Includes discarded frames that are not sent to the network. : Count of transmitted frames containing a VLAN tag. : Count of transmitted IP datagrams that are passed to the network. : Count of total octets of transmitted IP datagrams that are passed to the network. : Count of transmitted ICMP messages. Includes messages not sent due to problems within ICMP. : Count of transmitted TCP segments. Does not include segments containing retransmitted octets. : Count of transmitted TCP segments containing the RST flag. : Count of transmitted UDP datagrams. : Increments when the TPA is unable to parse a packet. This generally occurs when a packet is corrupt somehow, including packets that have IP version mismatches, invalid Layer 2 control fields, etc. L3/L4 checksums are not offloaded, but the packet is still be transmitted. : Increments when the TPA encounters an unknown protocol, such as a new IPv6 extension header, or an unsupported Routing Type. The packet still has a checksum calculated but it may be incorrect. : Count of MAC PAUSE control frames that are transmitted. Since, the only control frames supported by this device are PAUSE frames, this register is a count of all transmitted MAC control frames. : Count of Marker PDUs transmitted on this Aggregation port. : Count of LACPDUs transmitted on this Aggregation port. : Count of transmitted IP datagrams that could not be passed to the network. Increments because of: 1) An internal processing error (such as an uncorrectable ECC error). 2) A frame parsing error during IP checksum calculation. : Count of Marker Response PDUs transmitted on this Aggregation port. : Maintains a count of the number of transmitted XGMII characters that match a pattern that is programmable through register XMAC_STATS_TX_XGMII_CHAR_PORTn. By default, the pattern is set to /T/ (i.e. the terminate character), thus the statistic tracks the number of transmitted Terminate characters. : Maintains a count of the number of transmitted XGMII characters that match a pattern that is programmable through register XMAC_STATS_TX_XGMII_CHAR_PORTn. By default, the pattern is set to /S/ (i.e. the start character), thus the statistic tracks the number of transmitted Start characters. : Maintains a count of the number of transmitted XGMII columns that match a pattern that is programmable through register XMAC_STATS_TX_XGMII_COLUMN2_PORTn. By default, the pattern is set to 4 x /E/ (i.e. a column containing all error characters), thus the statistic tracks the number of Error columns transmitted at any time. If XMAC_STATS_TX_XGMII_BEHAV_COLUMN2_PORTn.NEAR_COL1 is set to 1, then this stat increments when COLUMN2 is found within 'n' clocks after COLUMN1. Here, 'n' is defined by XMAC_STATS_TX_XGMII_BEHAV_COLUMN2_PORTn.NUM_COL (if 'n' is set to 0, then it means to search anywhere for COLUMN2). : Maintains a count of the number of transmitted XGMII columns that match a pattern that is programmable through register XMAC_STATS_TX_XGMII_COLUMN1_PORTn. By default, the pattern is set to 4 x /I/ (i.e. a column containing all idle characters), thus the statistic tracks the number of transmitted Idle columns. : Count of transmitted frames containing any error that prevents them from being passed to the network. Increments if there is an ECC while reading the frame out of the transmit buffer. Also increments if the transmit protocol assist (TPA) block determines that the frame should not be sent. : Count of frames that could not be sent for no other reason than internal MAC processing. Increments once whenever the transmit buffer is flushed (due to an ECC error on a memory descriptor). : Count of total received MAC frames, including frames received with frame-too-long, FCS, or length errors. This stat can be configured (see XMAC_STATS_GLOBAL_CFG.TTL_FRMS_HANDLING) to count everything, even "frames" as small one byte of preamble. : Count of successfully received MAC frames. Does not include frames received with frame-too-long, FCS, or length errors. : Count of offloaded received frames that are passed to the host. : Count of total octets of received frames, not including framing characters (i.e. less framing bits). To determine the total octets of received frames, including framing characters, multiply PORTn_RX_TTL_FRMS by 8 and add it to this stat (unless otherwise configured, this stat only counts frames that have 8 bytes of preamble for each frame). This stat can be configured (see XMAC_STATS_GLOBAL_CFG.TTL_FRMS_HANDLING) to count everything, even the preamble octets of "frames" as small one byte of preamble : Count of data and padding octets of successfully received frames. Does not include frames received with frame-too-long, FCS, or length errors. : Count of total octets, not including framing characters, of offloaded received frames that are passed to the host. : Count of successfully received MAC frames containing a nonbroadcast group address. Does not include frames received with frame-too-long, FCS, or length errors. : Count of successfully received MAC frames containing the broadcast group address. Does not include frames received with frame-too-long, FCS, or length errors. : Count of successfully received frames containing a unicast address. Only includes frames that are passed to the system. : Count of successfully received frames containing a non-unicast (broadcast or multicast) address. Only includes frames that are passed to the system. Could include, for instance, non-unicast frames that contain FCS errors if the MAC_ERROR_CFG register is set to pass FCS-errored frames to the host. : Count of received frames containing a VLAN tag. : Count of received frames that are longer than RX_MAX_PYLD_LEN

XMAC Port Statistics.

Definition at line 739 of file vxge-traffic.h.

Field Documentation

u64 rx_accepted_ip

Definition at line 794 of file vxge-traffic.h.

u64 rx_accepted_nucast_frms

Definition at line 776 of file vxge-traffic.h.

u64 rx_accepted_ucast_frms

Definition at line 775 of file vxge-traffic.h.

u32 rx_buff_full_discard

Definition at line 823 of file vxge-traffic.h.

u64 rx_data_octets

Definition at line 771 of file vxge-traffic.h.

u64 rx_discarded_frms

Definition at line 808 of file vxge-traffic.h.

u64 rx_drop_frms

Definition at line 807 of file vxge-traffic.h.

u64 rx_drop_ip

Definition at line 809 of file vxge-traffic.h.

u64 rx_drop_udp

Definition at line 810 of file vxge-traffic.h.

u64 rx_err_ip

Definition at line 796 of file vxge-traffic.h.

u64 rx_err_tcp

Definition at line 800 of file vxge-traffic.h.

u32 rx_fcs_discard

Definition at line 815 of file vxge-traffic.h.

u64 rx_fcs_err_frms

Definition at line 804 of file vxge-traffic.h.

u64 rx_frag_frms

Definition at line 781 of file vxge-traffic.h.

u64 rx_icmp

Definition at line 797 of file vxge-traffic.h.

u32 rx_illegal_pdu_frms

Definition at line 816 of file vxge-traffic.h.

u64 rx_in_rng_len_err_frms

Definition at line 805 of file vxge-traffic.h.

u64 rx_ip

Definition at line 793 of file vxge-traffic.h.

u64 rx_ip_octets

Definition at line 795 of file vxge-traffic.h.

u64 rx_jabber_frms

Definition at line 782 of file vxge-traffic.h.

u32 rx_jettison

Definition at line 833 of file vxge-traffic.h.

u32 rx_l2_mgmt_discard

Definition at line 820 of file vxge-traffic.h.

u32 rx_lacpdu_frms

Definition at line 812 of file vxge-traffic.h.

u32 rx_len_discard

Definition at line 818 of file vxge-traffic.h.

u32 rx_local_fault

Definition at line 831 of file vxge-traffic.h.

u64 rx_long_frms

Definition at line 778 of file vxge-traffic.h.

u32 rx_marker_pdu_frms

Definition at line 811 of file vxge-traffic.h.

u32 rx_marker_resp_pdu_frms

Definition at line 814 of file vxge-traffic.h.

u64 rx_offload_frms

Definition at line 769 of file vxge-traffic.h.

u64 rx_offload_octets

Definition at line 772 of file vxge-traffic.h.

u64 rx_osized_frms

Definition at line 780 of file vxge-traffic.h.

u64 rx_out_rng_len_err_frms

Definition at line 806 of file vxge-traffic.h.

u64 rx_pause_count

Definition at line 801 of file vxge-traffic.h.

u64 rx_pause_ctrl_frms

Definition at line 802 of file vxge-traffic.h.

u32 rx_red_discard

Definition at line 824 of file vxge-traffic.h.

u32 rx_remote_fault

Definition at line 834 of file vxge-traffic.h.

u32 rx_rpa_discard

Definition at line 819 of file vxge-traffic.h.

u32 rx_rts_discard

Definition at line 821 of file vxge-traffic.h.

u32 rx_switch_discard

Definition at line 817 of file vxge-traffic.h.

u64 rx_tagged_frms

Definition at line 777 of file vxge-traffic.h.

u64 rx_tcp

Definition at line 798 of file vxge-traffic.h.

u32 rx_trash_discard

Definition at line 822 of file vxge-traffic.h.

u64 rx_ttl_1024_1518_frms

Definition at line 788 of file vxge-traffic.h.

u64 rx_ttl_128_255_frms

Definition at line 785 of file vxge-traffic.h.

u64 rx_ttl_1519_4095_frms

Definition at line 789 of file vxge-traffic.h.

u64 rx_ttl_256_511_frms

Definition at line 786 of file vxge-traffic.h.

u64 rx_ttl_4096_8191_frms

Definition at line 790 of file vxge-traffic.h.

u64 rx_ttl_512_1023_frms

Definition at line 787 of file vxge-traffic.h.

u64 rx_ttl_64_frms

Definition at line 783 of file vxge-traffic.h.

u64 rx_ttl_65_127_frms

Definition at line 784 of file vxge-traffic.h.

u64 rx_ttl_8192_max_frms

Definition at line 791 of file vxge-traffic.h.

u64 rx_ttl_frms

Definition at line 767 of file vxge-traffic.h.

u64 rx_ttl_gt_max_frms

Definition at line 792 of file vxge-traffic.h.

u64 rx_ttl_octets

Definition at line 770 of file vxge-traffic.h.

u64 rx_udp

Definition at line 799 of file vxge-traffic.h.

u32 rx_unknown_pdu_frms

Definition at line 813 of file vxge-traffic.h.

u64 rx_unsup_ctrl_frms

Definition at line 803 of file vxge-traffic.h.

u64 rx_usized_frms

Definition at line 779 of file vxge-traffic.h.

u64 rx_vld_bcast_frms

Definition at line 774 of file vxge-traffic.h.

u64 rx_vld_frms

Definition at line 768 of file vxge-traffic.h.

u64 rx_vld_mcast_frms

Definition at line 773 of file vxge-traffic.h.

u32 rx_xgmii_char1_match

Definition at line 827 of file vxge-traffic.h.

u32 rx_xgmii_char2_match

Definition at line 830 of file vxge-traffic.h.

u32 rx_xgmii_column1_match

Definition at line 829 of file vxge-traffic.h.

u32 rx_xgmii_column2_match

Definition at line 832 of file vxge-traffic.h.

u32 rx_xgmii_ctrl_err_cnt

Definition at line 825 of file vxge-traffic.h.

u32 rx_xgmii_data_err_cnt

Definition at line 826 of file vxge-traffic.h.

u32 rx_xgmii_err_sym

Definition at line 828 of file vxge-traffic.h.

u16 tx_any_err_frms

Definition at line 765 of file vxge-traffic.h.

u64 tx_bcast_frms

Definition at line 744 of file vxge-traffic.h.

u64 tx_data_octets

Definition at line 742 of file vxge-traffic.h.

u16 tx_drop_frms

Definition at line 766 of file vxge-traffic.h.

u32 tx_drop_ip

Definition at line 758 of file vxge-traffic.h.

u64 tx_icmp

Definition at line 749 of file vxge-traffic.h.

u32 tx_lacpdu_frms

Definition at line 757 of file vxge-traffic.h.

u32 tx_marker_pdu_frms

Definition at line 756 of file vxge-traffic.h.

u32 tx_marker_resp_pdu_frms

Definition at line 759 of file vxge-traffic.h.

u64 tx_mcast_frms

Definition at line 743 of file vxge-traffic.h.

u32 tx_parse_error

Definition at line 753 of file vxge-traffic.h.

u64 tx_pause_ctrl_frms

Definition at line 755 of file vxge-traffic.h.

u64 tx_rst_tcp

Definition at line 751 of file vxge-traffic.h.

u64 tx_tagged_frms

Definition at line 746 of file vxge-traffic.h.

u64 tx_tcp

Definition at line 750 of file vxge-traffic.h.

u64 tx_ttl_frms

Definition at line 740 of file vxge-traffic.h.

u64 tx_ttl_octets

Definition at line 741 of file vxge-traffic.h.

u64 tx_ucast_frms

Definition at line 745 of file vxge-traffic.h.

u64 tx_udp

Definition at line 752 of file vxge-traffic.h.

u32 tx_unknown_protocol

Definition at line 754 of file vxge-traffic.h.

u64 tx_vld_ip

Definition at line 747 of file vxge-traffic.h.

u64 tx_vld_ip_octets

Definition at line 748 of file vxge-traffic.h.

u32 tx_xgmii_char1_match

Definition at line 761 of file vxge-traffic.h.

u32 tx_xgmii_char2_match

Definition at line 760 of file vxge-traffic.h.

u32 tx_xgmii_column1_match

Definition at line 763 of file vxge-traffic.h.

u32 tx_xgmii_column2_match

Definition at line 762 of file vxge-traffic.h.

u32 unused1

Definition at line 764 of file vxge-traffic.h.


The documentation for this struct was generated from the following file: