Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding additional Ether pkts stats ranges for Cisco Platforms #1997

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions inc/saiport.h
Original file line number Diff line number Diff line change
Expand Up @@ -2626,6 +2626,16 @@ typedef enum _sai_port_attr_t
*/
SAI_PORT_ATTR_SELECTIVE_COUNTER_LIST,

/**
* @brief Read supported port stat list
*
* @type sai_object_list_t
* @flags READ_ONLY
* @objects SAI_OBJECT_TYPE_COUNTER
*/
SAI_PORT_ATTR_PORT_STAT_EXTENDED,


/**
* @brief End of attributes
*/
Expand Down Expand Up @@ -3370,6 +3380,24 @@ typedef enum _sai_port_stat_t
/** Port stat out drop reasons range end */
SAI_PORT_STAT_OUT_DROP_REASON_RANGE_END = 0x00002fff,

/** SAI port stat ether in pkts 1519 to 2500 octets */
rajendrat marked this conversation as resolved.
Show resolved Hide resolved
SAI_PORT_STAT_ETHER_IN_PKTS_1519_TO_2500_OCTETS,

/** SAI port stat ether in pkts 2501 to 9000 octets */
SAI_PORT_STAT_ETHER_IN_PKTS_2501_TO_9000_OCTETS,

/** SAI port stat ether in pkts 9001 to 16383 octets */
SAI_PORT_STAT_ETHER_IN_PKTS_9001_TO_16383_OCTETS,

/** SAI port stat ether out pkts 1519 to 2500 octets */
SAI_PORT_STAT_ETHER_OUT_PKTS_1519_TO_2500_OCTETS,

/** SAI port stat ether out pkts 2501 to 9000 octets */
SAI_PORT_STAT_ETHER_OUT_PKTS_2501_TO_9000_OCTETS,

/** SAI port stat ether out pkts 9001 to 16383 octets */
SAI_PORT_STAT_ETHER_OUT_PKTS_9001_TO_16383_OCTETS,

/** Port stat range end */
SAI_PORT_STAT_END,

Expand Down
1 change: 1 addition & 0 deletions meta/checkheaders.pl
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ sub CheckHash
next if $key eq "SAI_OBJECT_TYPE_MAX";
next if $key eq "SAI_API_MAX";
next if $key eq "SAI_PORT_INTERFACE_TYPE_MAX";
next if $key eq "SAI_PORT_STAT_END";
next if $key eq "SAI_PORT_BREAKOUT_MODE_TYPE_MAX";

# NOTE: some other attributes/enum with END range could be added
Expand Down
Loading