Skip to content

Commit 958fbed

Browse files
committed
Add queue PFC DLR deleted packets and bytes
Signed-off-by: Mohamed S. Mahmoud <mmahmoud2201@gmail.com>
1 parent bb8df17 commit 958fbed

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

inc/saiqueue.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,12 @@ typedef enum _sai_queue_stat_t
465465
/** Packets trimmed and successfully transmitted on a trim queue. Counted on the original trimming-eligible queue [uint64_t] */
466466
SAI_QUEUE_STAT_TX_TRIM_PACKETS = 0x0000002e,
467467

468+
/** Get packets deleted from a queue when PFC Deadlock Recovery is triggered with SAI_PACKET_ACTION_DROP [uint64_t] */
469+
SAI_QUEUE_STAT_PFC_DLR_DELETED_PACKETS = 0x0000002f,
470+
471+
/** Get bytes deleted from a queue when PFC Deadlock Recovery is triggered with SAI_PACKET_ACTION_DROP [uint64_t] */
472+
SAI_QUEUE_STAT_PFC_DLR_DELETED_BYTES = 0x00000030,
473+
468474
/** Custom range base value */
469475
SAI_QUEUE_STAT_CUSTOM_RANGE_BASE = 0x10000000
470476

0 commit comments

Comments
 (0)