Skip to content

RDKCOM-5619: RDKBNETWOR-99 Implement Dynamic L2/L3 Packet Marking Framework - #41

Open
sherik-sensin wants to merge 1 commit into
rdkcentral:mainfrom
sherik-sensin:RDKBNETWOR-99_qos
Open

RDKCOM-5619: RDKBNETWOR-99 Implement Dynamic L2/L3 Packet Marking Framework#41
sherik-sensin wants to merge 1 commit into
rdkcentral:mainfrom
sherik-sensin:RDKBNETWOR-99_qos

Conversation

@sherik-sensin

Copy link
Copy Markdown

Reason for change: Marking table should be created dynamically based on the virtual interface marking entry from WanManager.

Test Procedure: Performed VLANManager Sanity test.
Risks: None.

Copilot AI review requested due to automatic review settings July 29, 2026 10:17
@sherik-sensin
sherik-sensin requested a review from a team as a code owner July 29, 2026 10:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Implements conditional compilation support for delegating L2 marking responsibilities to WanManager, aiming to keep VLANManager from applying QoS/marking configuration when FEATURE_WANMGR_L2_MARKING is enabled.

Changes:

  • Skips calling EthLink_SetEgressQoSMap() during VLAN refresh when FEATURE_WANMGR_L2_MARKING is enabled.
  • Skips creating/populating VLANManager’s internal marking table when FEATURE_WANMGR_L2_MARKING is enabled.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/TR-181/middle_layer_src/ethernet_apis.c
Comment on lines +1015 to +1020
#ifndef FEATURE_WANMGR_L2_MARKING /* WanManager owns L2 Marking */
if ( EthLink_SetEgressQoSMap(&VlanCfg) != ANSC_STATUS_FAILURE)
{
CcspTraceInfo(("%s - Successfully Set QoS Marking \n",__FUNCTION__));
}
#endif //FEATURE_WANMGR_L2_MARKING
@pradeeptakdas pradeeptakdas changed the title RDKBNETWOR-99 : Implement Dynamic L2/L3 Packet Marking Framework RDKCOM-5619: RDKBNETWOR-99 Implement Dynamic L2/L3 Packet Marking Framework Jul 29, 2026
Reason for change: Marking table should be created dynamically based on the virtual interface marking entry from WanManager.

Test Procedure: Performed VLANManager Sanity test.
Risks: None.

Signed-off-by: Sherik Sensin A <sherik.a@telekom-digital.com>
Copilot AI review requested due to automatic review settings July 30, 2026 10:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

source/TR-181/middle_layer_src/ethernet_apis.c:1082

  • When FEATURE_WANMGR_L2_MARKING is enabled, the function currently skips all logic that clears/initializes pEntry->pstDataModelMarking and NumberofMarkingEntries, but still returns success. This can leave stale marking entries from previous runs/config and contradicts the intent of keeping VLANManager’s marking table empty when WanManager owns L2 marking.
#ifndef FEATURE_WANMGR_L2_MARKING /* WanManager owns L2 Marking */
    /* 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                                       */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants