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 19, 2024
1 parent ca6b08f commit 6d58942
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 @@ -2803,6 +2803,24 @@ typedef enum _sai_port_stat_t
/** SAI port stat ether out pkts 9217 to 16383 octets */
SAI_PORT_STAT_ETHER_OUT_PKTS_9217_TO_16383_OCTETS,

/** 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,

/** Get in port current occupancy in bytes [uint64_t] */
SAI_PORT_STAT_IN_CURR_OCCUPANCY_BYTES,

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

LogError "wrong initializer on $enumName $enumValue" if not $enumValue =~ /^0x[0-9a-f]{8}$/;

Expand Down

0 comments on commit 6d58942

Please sign in to comment.