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
3368
3368
/** Packets trimmed due to failed shared buffer admission [uint64_t] */
3369
3369
SAI_PORT_STAT_TRIM_PACKETS ,
3370
3370
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
+
3371
3377
/** Port stat in drop reasons range start */
3372
3378
SAI_PORT_STAT_IN_DROP_REASON_RANGE_BASE = 0x00001000 ,
3373
3379
Original file line number Diff line number Diff line change @@ -433,6 +433,12 @@ typedef enum _sai_queue_stat_t
433
433
/** Get watermark queue shared occupancy in cells [uint64_t] */
434
434
SAI_QUEUE_STAT_SHARED_WATERMARK_CELLS = 0x0000002c ,
435
435
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
+
436
442
/** Custom range base value */
437
443
SAI_QUEUE_STAT_CUSTOM_RANGE_BASE = 0x10000000
438
444
Original file line number Diff line number Diff line change @@ -3518,6 +3518,15 @@ typedef enum _sai_switch_asic_sdk_health_category_t
3518
3518
*/
3519
3519
typedef enum _sai_switch_stat_t
3520
3520
{
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
+
3521
3530
/** Switch stat in drop reasons range start */
3522
3531
SAI_SWITCH_STAT_IN_DROP_REASON_RANGE_BASE = 0x00001000 ,
3523
3532
@@ -3599,6 +3608,9 @@ typedef enum _sai_switch_stat_t
3599
3608
/** Switch stat fabric drop reasons range end */
3600
3609
SAI_SWITCH_STAT_FABRIC_DROP_REASON_RANGE_END = 0x00003fff ,
3601
3610
3611
+ /** Switch stat range end */
3612
+ SAI_SWITCH_STAT_END ,
3613
+
3602
3614
} sai_switch_stat_t ;
3603
3615
3604
3616
/**
You can’t perform that action at this time.
0 commit comments