Skip to content

Commit 327605a

Browse files
authored
[bufferorch] Fixed SAI_BUFFER_PROFILE_ATTR_BUFFER_SIZE to uint64_t (#1255)
as per SAI 1.5
1 parent 148a220 commit 327605a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orchagent/bufferorch.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ task_process_status BufferOrch::processBufferProfile(Consumer &consumer)
433433
else if (field == buffer_size_field_name)
434434
{
435435
attr.id = SAI_BUFFER_PROFILE_ATTR_BUFFER_SIZE;
436-
attr.value.u32 = (uint32_t)stoul(value);
436+
attr.value.u64 = (uint64_t)stoul(value);
437437
attribs.push_back(attr);
438438
}
439439
else if (field == buffer_dynamic_th_field_name)

0 commit comments

Comments
 (0)