From 317d6b0761a6228008906b3dda043c3fcfec0ef7 Mon Sep 17 00:00:00 2001 From: "Mohamed S. Mahmoud" Date: Mon, 27 Apr 2026 17:23:14 -0400 Subject: [PATCH] Add queue flush packets and bytes stats 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..c0073870c 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, + /** Packets flushed from the queue [uint64_t] */ + SAI_QUEUE_STAT_FLUSHED_PACKETS = 0x0000002f, + + /** Bytes flushed from the queue [uint64_t] */ + SAI_QUEUE_STAT_FLUSHED_BYTES = 0x00000030, + /** Custom range base value */ SAI_QUEUE_STAT_CUSTOM_RANGE_BASE = 0x10000000