File tree 2 files changed +2
-2
lines changed
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)
245
245
attribs.push_back (attr);
246
246
247
247
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);
249
249
attribs.push_back (attr);
250
250
}
251
251
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
593
593
attribs.push_back (attr);
594
594
595
595
attr.id = SAI_BUFFER_PROFILE_ATTR_SHARED_DYNAMIC_TH;
596
- attr.value .u32 = -8 ; // ALPHA_0
596
+ attr.value .s8 = -8 ; // ALPHA_0
597
597
attribs.push_back (attr);
598
598
599
599
status = sai_buffer_api->create_buffer_profile (
You can’t perform that action at this time.
0 commit comments