From 51e0d40bf8162a2502547380ab50836eaa795e0d Mon Sep 17 00:00:00 2001 From: Guohan Lu Date: Mon, 22 Oct 2018 00:24:32 +0000 Subject: [PATCH] Enable aclfield.data for SAI_DTEL_ATTR_INT_L4_DSCP Signed-off-by: Guohan Lu --- orchagent/dtelorch.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/orchagent/dtelorch.cpp b/orchagent/dtelorch.cpp index 52b55cd841fd..9a77dc726806 100644 --- a/orchagent/dtelorch.cpp +++ b/orchagent/dtelorch.cpp @@ -40,6 +40,7 @@ DTelOrch::DTelOrch(DBConnector *db, vector tableNames, PortsOrch *portOr attr.id = SAI_DTEL_ATTR_INT_L4_DSCP; + attr.value.aclfield.enable = true; attr.value.aclfield.data.u8 = 0x11; attr.value.aclfield.mask.u8 = 0x3f; @@ -661,6 +662,8 @@ void DTelOrch::doDtelTableTask(Consumer &consumer) goto dtel_table_continue; } + attr.value.aclfield.enable = true; + status = sai_dtel_api->set_dtel_attribute(dtelId, &attr); if (status != SAI_STATUS_SUCCESS) {