Skip to content

RDKB-63242 : Support for iproute2 to create macvlan.#33

Merged
LakshminarayananShenbagaraj merged 2 commits into
mainfrom
Vlan-Error
Mar 12, 2026
Merged

RDKB-63242 : Support for iproute2 to create macvlan.#33
LakshminarayananShenbagaraj merged 2 commits into
mainfrom
Vlan-Error

Conversation

@LakshminarayananShenbagaraj
Copy link
Copy Markdown
Contributor

Resolving compilation error as below,
"error: 'EthLink_DeleteUnTaggedInterface' defined but not used"

Resolving compilation error as below,
"error: 'EthLink_DeleteUnTaggedInterface' defined but not used"

Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Copilot AI review requested due to automatic review settings March 12, 2026 13:43
@LakshminarayananShenbagaraj LakshminarayananShenbagaraj requested a review from a team as a code owner March 12, 2026 13:43
@LakshminarayananShenbagaraj LakshminarayananShenbagaraj added the bug Something isn't working label Mar 12, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR resolves a build warning/error about EthLink_DeleteUnTaggedInterface being defined but unused by compiling that helper only in configurations where it is actually referenced (i.e., when both VLAN HAL options are disabled). This aligns the compilation units with the iproute2/macvlan fallback path used when no VLAN HAL is present.

Changes:

  • Wrap the EthLink_DeleteUnTaggedInterface forward declaration with #if !defined(VLAN_MANAGER_HAL_ENABLED) && !defined(COMCAST_VLAN_HAL_ENABLED).
  • Wrap the EthLink_DeleteUnTaggedInterface function definition with the same compile-time guard to avoid unused-function diagnostics in HAL-enabled builds.

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

Resolving compilation error as below,
"error: 'EthLink_DeleteUnTaggedInterface' defined but not used"

Signed-off-by: LakshminarayananShenbagaraj <lakshminarayanan.shenbagaraj2@sky.uk>
Copy link
Copy Markdown

@vysakhav vysakhav left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@LakshminarayananShenbagaraj LakshminarayananShenbagaraj merged commit 0671dfa into main Mar 12, 2026
7 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants