Skip to content

Commit 51e0d40

Browse files
committed
Enable aclfield.data for SAI_DTEL_ATTR_INT_L4_DSCP
Signed-off-by: Guohan Lu <gulv@microsoft.com>
1 parent 9290950 commit 51e0d40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

orchagent/dtelorch.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ DTelOrch::DTelOrch(DBConnector *db, vector<string> tableNames, PortsOrch *portOr
4040

4141
attr.id = SAI_DTEL_ATTR_INT_L4_DSCP;
4242

43+
attr.value.aclfield.enable = true;
4344
attr.value.aclfield.data.u8 = 0x11;
4445
attr.value.aclfield.mask.u8 = 0x3f;
4546

@@ -661,6 +662,8 @@ void DTelOrch::doDtelTableTask(Consumer &consumer)
661662
goto dtel_table_continue;
662663
}
663664

665+
attr.value.aclfield.enable = true;
666+
664667
status = sai_dtel_api->set_dtel_attribute(dtelId, &attr);
665668
if (status != SAI_STATUS_SUCCESS)
666669
{

0 commit comments

Comments
 (0)