Skip to content

Commit

Permalink
[sairedis] Add WRED attribute (sonic-net#47)
Browse files Browse the repository at this point in the history
Added missing attribute SAI_WRED_ATTR_ECN_MARK_MODE
  • Loading branch information
hrachyam authored and stcheng committed Jul 25, 2016
1 parent 4c3706f commit f2e19a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/saiserialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ sai_serialization_map_t sai_get_serialization_map()
map[SAI_OBJECT_TYPE_WRED][SAI_WRED_ATTR_RED_MIN_THRESHOLD] = SAI_SERIALIZATION_TYPE_UINT32;
map[SAI_OBJECT_TYPE_WRED][SAI_WRED_ATTR_RED_MAX_THRESHOLD] = SAI_SERIALIZATION_TYPE_UINT32;
map[SAI_OBJECT_TYPE_WRED][SAI_WRED_ATTR_RED_DROP_PROBABILITY] = SAI_SERIALIZATION_TYPE_UINT32;
map[SAI_OBJECT_TYPE_WRED][SAI_WRED_ATTR_WEIGHT] = SAI_SERIALIZATION_TYPE_UINT8;
map[SAI_OBJECT_TYPE_WRED][SAI_WRED_ATTR_WEIGHT] = SAI_SERIALIZATION_TYPE_UINT8;
map[SAI_OBJECT_TYPE_WRED][SAI_WRED_ATTR_ECN_MARK_MODE] = SAI_SERIALIZATION_TYPE_INT32;

map[SAI_OBJECT_TYPE_PORT][SAI_PORT_ATTR_SPEED] = SAI_SERIALIZATION_TYPE_UINT32;
map[SAI_OBJECT_TYPE_PORT][SAI_PORT_ATTR_ADMIN_STATE] = SAI_SERIALIZATION_TYPE_BOOL;
Expand Down

0 comments on commit f2e19a8

Please sign in to comment.