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: Rajendra Kumar Thirumurthi <rajendrat@gmail.com>
Signed-off-by: rajendrat <rajendrat@gmail.com>
  • Loading branch information
rajendrat committed Apr 22, 2024
1 parent ca6b08f commit 26f2dc8
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/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 26f2dc8

Please sign in to comment.