File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -3368,6 +3368,12 @@ typedef enum _sai_port_stat_t
33683368 /** Packets trimmed due to failed shared buffer admission [uint64_t] */
33693369 SAI_PORT_STAT_TRIM_PACKETS ,
33703370
3371+ /** Packets trimmed but dropped due to failed shared buffer admission on a trim queue */
3372+ SAI_PORT_STAT_DROPPED_TRIM_PACKETS ,
3373+
3374+ /** Packets trimmed and successfully transmitted on port */
3375+ SAI_PORT_STAT_TX_TRIM_PACKETS ,
3376+
33713377 /** Port stat in drop reasons range start */
33723378 SAI_PORT_STAT_IN_DROP_REASON_RANGE_BASE = 0x00001000 ,
33733379
Original file line number Diff line number Diff line change @@ -433,6 +433,12 @@ typedef enum _sai_queue_stat_t
433433 /** Get watermark queue shared occupancy in cells [uint64_t] */
434434 SAI_QUEUE_STAT_SHARED_WATERMARK_CELLS = 0x0000002c ,
435435
436+ /** Packets trimmed but failed to be admitted on a trim queue due to congestion. Counted on the original trimming-eligible queue [uint64_t] */
437+ SAI_QUEUE_STAT_DROPPED_TRIM_PACKETS = 0x0000002d ,
438+
439+ /** Packets trimmed and successfully transmitted on a trim queue. Counted on the original trimming-eligible queue [uint64_t] */
440+ SAI_QUEUE_STAT_TX_TRIM_PACKETS = 0x0000002e ,
441+
436442 /** Custom range base value */
437443 SAI_QUEUE_STAT_CUSTOM_RANGE_BASE = 0x10000000
438444
Original file line number Diff line number Diff line change @@ -3518,6 +3518,15 @@ typedef enum _sai_switch_asic_sdk_health_category_t
35183518 */
35193519typedef enum _sai_switch_stat_t
35203520{
3521+ /** Switch stat range start */
3522+ SAI_SWITCH_STAT_START ,
3523+
3524+ /** Global (switch-wise) counter of packets trimmed but dropped due to failed shared buffer admission on a trim queue */
3525+ SAI_SWITCH_STAT_DROPPED_TRIM_PACKETS = SAI_SWITCH_STAT_START ,
3526+
3527+ /** Global (switch-wise) counter of packets trimmed and successfully sent on a trim queue */
3528+ SAI_SWITCH_STAT_TX_TRIM_PACKETS ,
3529+
35213530 /** Switch stat in drop reasons range start */
35223531 SAI_SWITCH_STAT_IN_DROP_REASON_RANGE_BASE = 0x00001000 ,
35233532
@@ -3599,6 +3608,9 @@ typedef enum _sai_switch_stat_t
35993608 /** Switch stat fabric drop reasons range end */
36003609 SAI_SWITCH_STAT_FABRIC_DROP_REASON_RANGE_END = 0x00003fff ,
36013610
3611+ /** Switch stat range end */
3612+ SAI_SWITCH_STAT_END ,
3613+
36023614} sai_switch_stat_t ;
36033615
36043616/**
You can’t perform that action at this time.
0 commit comments