Skip to content

Commit

Permalink
[bufferorch] Fixed SAI_BUFFER_PROFILE_ATTR_BUFFER_SIZE to uint64_t (#…
Browse files Browse the repository at this point in the history
…1255)

as per  SAI 1.5
  • Loading branch information
abdosi authored Apr 11, 2020
1 parent 148a220 commit 327605a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/bufferorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ task_process_status BufferOrch::processBufferProfile(Consumer &consumer)
else if (field == buffer_size_field_name)
{
attr.id = SAI_BUFFER_PROFILE_ATTR_BUFFER_SIZE;
attr.value.u32 = (uint32_t)stoul(value);
attr.value.u64 = (uint64_t)stoul(value);
attribs.push_back(attr);
}
else if (field == buffer_dynamic_th_field_name)
Expand Down

0 comments on commit 327605a

Please sign in to comment.