Skip to content

Commit

Permalink
Adding additional Ether pkts stats ranges for Cisco Platforms
Browse files Browse the repository at this point in the history
Signed-off-by: rajendrat <[email protected]>
  • Loading branch information
rajendrat committed Apr 23, 2024
1 parent ca6b08f commit 636fdcd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions inc/saiport.h
Original file line number Diff line number Diff line change
Expand Up @@ -3242,6 +3242,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 */
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 @@ -194,6 +194,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";

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

0 comments on commit 636fdcd

Please sign in to comment.