File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ task_process_status BufferOrch::processBufferProfile(Consumer &consumer)
245245 attribs.push_back (attr);
246246
247247 attr.id = SAI_BUFFER_PROFILE_ATTR_SHARED_DYNAMIC_TH;
248- attr.value .u32 = (uint32_t ) stoul (value);
248+ attr.value .s8 = (sai_int8_t ) stol (value);
249249 attribs.push_back (attr);
250250 }
251251 else if (field == buffer_static_th_field_name)
Original file line number Diff line number Diff line change @@ -593,7 +593,7 @@ void PfcWdZeroBufferHandler::ZeroBufferProfile::createZeroBufferProfile(bool ing
593593 attribs.push_back (attr);
594594
595595 attr.id = SAI_BUFFER_PROFILE_ATTR_SHARED_DYNAMIC_TH;
596- attr.value .u32 = -8 ; // ALPHA_0
596+ attr.value .s8 = -8 ; // ALPHA_0
597597 attribs.push_back (attr);
598598
599599 status = sai_buffer_api->create_buffer_profile (
You can’t perform that action at this time.
0 commit comments