Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion inc/saiacl.h
Original file line number Diff line number Diff line change
Expand Up @@ -3436,7 +3436,7 @@ typedef enum _sai_acl_counter_attr_t
*
* @type bool
* @flags CREATE_ONLY
* @default false
* @default true
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it makes more sense to change default to true on packet count (or both), and fix the comment.
What does this comment mean? "Only Byte count used which is set to disable". I think it should be changed to "Only Byte count used". Meaning it is illegal to create a counter which counts only bytes and not packets.

*/
SAI_ACL_COUNTER_ATTR_ENABLE_BYTE_COUNT,

Expand Down