Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions source/TR-181/middle_layer_src/ethernet_apis.c
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,11 @@ static ANSC_STATUS EthLink_CreateMarkingTable( PDML_ETHERNET pEntry, vlan_config
return ANSC_STATUS_FAILURE;
}

#ifndef FEATURE_WANMGR_L2_MARKING /* WanManager owns L2 Marking */

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep this code if it is not causing any issue?
this will just mirror the value from the WanManager as what is applied currently to the Vlan

/* Marking table should be created dynamically based on the virtual interface marking entry from WanManager. */
/* But this is difficult, because the VlanManager's marking table is a static table. So keeping VlanManager's */
/* marking table as empty and WanManager handles the QoS egress setting */

Comment on lines +1177 to +1181
PDML_ETHERNET p_EthLink = NULL;
int iLoopCount = 0;

Expand Down Expand Up @@ -1213,6 +1218,9 @@ static ANSC_STATUS EthLink_CreateMarkingTable( PDML_ETHERNET pEntry, vlan_config
}

CcspTraceInfo(("%s : Successfully Created EthLinkTable\n", __FUNCTION__));

#endif //FEATURE_WANMGR_L2_MARKING

return ANSC_STATUS_SUCCESS;
}

Expand Down