From 958fbedca323caaff338722832619af98f0f0dac Mon Sep 17 00:00:00 2001 From: "Mohamed S. Mahmoud" Date: Mon, 27 Apr 2026 17:23:14 -0400 Subject: [PATCH] Add queue PFC DLR deleted packets and bytes Signed-off-by: Mohamed S. Mahmoud --- inc/saiqueue.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/inc/saiqueue.h b/inc/saiqueue.h index 437ff0a59..4b8d1aa5d 100644 --- a/inc/saiqueue.h +++ b/inc/saiqueue.h @@ -465,6 +465,12 @@ typedef enum _sai_queue_stat_t /** Packets trimmed and successfully transmitted on a trim queue. Counted on the original trimming-eligible queue [uint64_t] */ SAI_QUEUE_STAT_TX_TRIM_PACKETS = 0x0000002e, + /** Get packets deleted from a queue when PFC Deadlock Recovery is triggered with SAI_PACKET_ACTION_DROP [uint64_t] */ + SAI_QUEUE_STAT_PFC_DLR_DELETED_PACKETS = 0x0000002f, + + /** Get bytes deleted from a queue when PFC Deadlock Recovery is triggered with SAI_PACKET_ACTION_DROP [uint64_t] */ + SAI_QUEUE_STAT_PFC_DLR_DELETED_BYTES = 0x00000030, + /** Custom range base value */ SAI_QUEUE_STAT_CUSTOM_RANGE_BASE = 0x10000000