From 8cc56068ae58d09b5be290f537fad4148dbb7af7 Mon Sep 17 00:00:00 2001 From: Rajkumar P R Date: Fri, 26 Apr 2024 09:46:52 +0000 Subject: [PATCH] Updated comments Signed-off-by: Rajkumar P R --- doc/SAI-Counter-enhancement-hld.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/SAI-Counter-enhancement-hld.md b/doc/SAI-Counter-enhancement-hld.md index 30087cb7e..362ce96e0 100644 --- a/doc/SAI-Counter-enhancement-hld.md +++ b/doc/SAI-Counter-enhancement-hld.md @@ -20,6 +20,7 @@ When some SAI objects are created, the default statistics enum defined in each t ## Options 1. A new SAI attribute introduced in each of these object to determine counting mode. 2. In parallel to existing design, introduce a new counter ID attribute per statistics type to count packet, byte. +3. Using saicounter ## SAI Spec Enhancement ### Option 1 @@ -477,9 +478,13 @@ typedef enum _sai_counter_type_t } sai_counter_type_t; ``` + ``` typedef enum _sai_counter_attr_t { + : + : + /** * @brief Enable/disable packet count * @@ -512,14 +517,13 @@ typedef enum _sai_counter_attr_t * * List of statistics enum mapped to this counter * - * @type sai_stat_id_list_t + * @type sai_s32_list_t * @flags CREATE_AND_SET * @default empty * @validonly SAI_COUNTER_ATTR_TYPE == SAI_COUNTER_TYPE_SELECTIVE */ SAI_COUNTER_ATTR_STAT_ID_LIST, - /** * @brief End of attributes */