Skip to content

Commit

Permalink
Updated comments
Browse files Browse the repository at this point in the history
Signed-off-by: Rajkumar P R <[email protected]>
  • Loading branch information
rajkumar38 committed Apr 26, 2024
1 parent 6fae13a commit 8cc5606
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doc/SAI-Counter-enhancement-hld.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
*
Expand Down Expand Up @@ -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
*/
Expand Down

0 comments on commit 8cc5606

Please sign in to comment.