Skip to content

RDKB-65961 : MACVLAN#39

Open
PalakshaOS wants to merge 1 commit into
rdkcentral:mainfrom
PalakshaOS:macvlan
Open

RDKB-65961 : MACVLAN#39
PalakshaOS wants to merge 1 commit into
rdkcentral:mainfrom
PalakshaOS:macvlan

Conversation

@PalakshaOS

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 9, 2026 12:57
@PalakshaOS
PalakshaOS requested a review from a team as a code owner July 9, 2026 12:57

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

This PR introduces a new TR-181 VLAN parameter (MACVLAN) and begins integrating it into untagged interface creation/deletion logic to support MACVLAN-based “truly untagged” traffic handling.

Changes:

  • Added MACVLAN to the VLAN data model (XML + DML get/set) and DML_VLAN struct storage.
  • Loaded macvlan configuration from PSM during VLAN termination initialization.
  • Added MACVLAN-based creation/deletion branches in ethernet_apis.c for untagged interface handling.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
source/TR-181/middle_layer_src/vlan_internal.c Reads MACVLAN value from PSM into the VLAN termination config structure.
source/TR-181/middle_layer_src/vlan_dml.c Exposes MACVLAN via TR-181 get/set handlers.
source/TR-181/middle_layer_src/ethernet_apis.c Adds MACVLAN/bridge branching for untagged interface create/delete (currently has compile/API issues).
source/TR-181/include/vlan_apis.h Extends DML_VLAN with a macvlan field.
config/RdkVlanManager.xml Adds MACVLAN parameter definition to the data model.

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

Comment on lines 875 to 876
if (pEntry->MACVLAN) {
// Create untagged interface using MACVLAN for truly untagged traffic
Comment on lines +919 to +920
else if (pEntry->VLANId == -1)
{
return ANSC_STATUS_FAILURE;
}

if(Entry->MACVLAN) {
Comment on lines +967 to +968
CcspTraceInfo(("%s-%d: Deleting untagged without MACVLAN %s/n",
__FUNCTION__, __LINE__, pEntry->Name));
Copilot AI review requested due to automatic review settings July 13, 2026 11:54

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 6 out of 6 changed files in this pull request and generated 3 comments.

Comments suppressed due to low confidence (1)

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

  • EthLink_DeleteUnTaggedInterface() references undefined/invalid fields (Entry->MACVLAN and pEntry->VLANId). PDML_ETHERNET has no MACVLAN or VLANId members, so this won’t compile, and it also diverges from the current create path (which always creates an untagged MACVLAN interface when both HALs are disabled).
   if(Entry->MACVLAN) {
    CcspTraceInfo(("%s-%d: Deleting untagged VLAN interface %s\n", 
                   __FUNCTION__, __LINE__, pEntry->Name));
    
    v_secure_system("ip link set %s down", pEntry->Name);

Comment on lines 362 to 366
pthread_mutex_lock(&vlan_access_mutex);
//Set EthLink to False. it will take care UnTagged Created Vlan Interface
if (Vlan_SetEthLink(pEntry, FALSE, FALSE) == ANSC_STATUS_FAILURE)
if (pEntry->macvlan == 0 && Vlan_SetEthLink(pEntry, FALSE, FALSE) == ANSC_STATUS_FAILURE)
{
CcspTraceError(("%s-%d: Failed to Enable EthLink\n", __FUNCTION__, __LINE__));
Comment on lines +405 to +409
else if (pEntry->VLANId == -1)
{
/* If the VLANID = -1, the VLAN is a bridge, delete the bridge and delete the interface from the bridge */
if(strcmp(pEntry->BaseInterface, pEntry->Name))
{
Comment thread source/TR-181/middle_layer_src/vlan_apis.c Outdated
Copilot AI review requested due to automatic review settings July 13, 2026 12:00

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 6 out of 6 changed files in this pull request and generated 2 comments.

Comments suppressed due to low confidence (1)

source/TR-181/include/vlan_apis.h:95

  • DML_VLAN_INIT does not initialize the newly added macvlan member. Some call sites (e.g., rollback/new entry paths) call DML_VLAN_INIT without necessarily zeroing the whole struct first, which can make macvlan indeterminate and affect enable/disable branching. Initialize it explicitly to a known default (0).
    UINT                 macvlan;
    CHAR                 Path[1024];
}
DML_VLAN,  *PDML_VLAN;

Comment on lines 362 to 366
pthread_mutex_lock(&vlan_access_mutex);
//Set EthLink to False. it will take care UnTagged Created Vlan Interface
if (Vlan_SetEthLink(pEntry, FALSE, FALSE) == ANSC_STATUS_FAILURE)
if (pEntry->macvlan == 0 && Vlan_SetEthLink(pEntry, FALSE, FALSE) == ANSC_STATUS_FAILURE)
{
CcspTraceError(("%s-%d: Failed to Enable EthLink\n", __FUNCTION__, __LINE__));
Comment on lines +405 to +409
else if (pEntry->VLANId == -1)
{
/* If the VLANID = -1, the VLAN is a bridge, delete the bridge and delete the interface from the bridge */
if(strcmp(pEntry->BaseInterface, pEntry->Name))
{
Copilot AI review requested due to automatic review settings July 13, 2026 20:58

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 6 out of 6 changed files in this pull request and generated 6 comments.

Comment on lines 603 to 607
void * Vlan_Enable(void *Arg)
{
CcspTraceError(("%s-%d: PALAKSHA MAIN VLAN_ENABLE VLAN ID -1 CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
ANSC_STATUS returnStatus = ANSC_STATUS_SUCCESS;
vlan_link_status_e status;
Comment on lines 363 to 367
//Set EthLink to False. it will take care UnTagged Created Vlan Interface
if (Vlan_SetEthLink(pEntry, FALSE, FALSE) == ANSC_STATUS_FAILURE)
if (pEntry->macvlan == 0 && Vlan_SetEthLink(pEntry, FALSE, FALSE) == ANSC_STATUS_FAILURE)
{
CcspTraceError(("%s-%d: Failed to Enable EthLink\n", __FUNCTION__, __LINE__));
}
Comment on lines +405 to +409
else if (pEntry->VLANId == -1)
{
/* If the VLANID = -1, the VLAN is a bridge, delete the bridge and delete the interface from the bridge */
if(strcmp(pEntry->BaseInterface, pEntry->Name))
{
Comment thread source/TR-181/middle_layer_src/vlan_apis.c Outdated
Comment thread source/TR-181/middle_layer_src/vlan_apis.c
Comment on lines 86 to 92
UINT LastChange;
CHAR LowerLayers[1024];
CHAR BaseInterface[64];
INT VLANId;
UINT TPId;
UINT macvlan;
CHAR Path[1024];
Copilot AI review requested due to automatic review settings July 14, 2026 08:36

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 6 out of 6 changed files in this pull request and generated 8 comments.

Comment on lines 363 to 367
//Set EthLink to False. it will take care UnTagged Created Vlan Interface
if (Vlan_SetEthLink(pEntry, FALSE, FALSE) == ANSC_STATUS_FAILURE)
if (pEntry->macvlan == 0 && Vlan_SetEthLink(pEntry, FALSE, FALSE) == ANSC_STATUS_FAILURE)
{
CcspTraceError(("%s-%d: Failed to Enable EthLink\n", __FUNCTION__, __LINE__));
}
Comment thread source/TR-181/middle_layer_src/vlan_apis.c Outdated
pthread_exit(NULL);
}

CcspTraceError(("%s-%d: PALAKSHA MAIN VLAN_ENABLE VLAN ID CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
pthread_mutex_lock(&vlan_access_mutex);
//Create Vlan Tagged Interface
if(pEntry->VLANId > 0) {
CcspTraceError(("%s-%d: PALAKSHA MAIN VLAN_ENABLE VLAN ID GREATER CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
Comment thread source/TR-181/middle_layer_src/vlan_apis.c
Comment on lines +363 to +367
if (strcmp(ParamName, "MACVLAN") == 0)
{
*puLong = p_Vlan->macvlan;
return TRUE;
}
Comment on lines +635 to +639
if (strcmp(ParamName, "MACVLAN") == 0)
{
p_Vlan->macvlan = uValue;
return TRUE;
}
Comment on lines 88 to 92
CHAR BaseInterface[64];
INT VLANId;
UINT TPId;
UINT macvlan;
CHAR Path[1024];
Copilot AI review requested due to automatic review settings July 14, 2026 15:40

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 6 out of 6 changed files in this pull request and generated 3 comments.

Comment on lines 363 to 367
//Set EthLink to False. it will take care UnTagged Created Vlan Interface
if (Vlan_SetEthLink(pEntry, FALSE, FALSE) == ANSC_STATUS_FAILURE)
if (pEntry->macvlan == 0 && Vlan_SetEthLink(pEntry, FALSE, FALSE) == ANSC_STATUS_FAILURE)
{
CcspTraceError(("%s-%d: Failed to Enable EthLink\n", __FUNCTION__, __LINE__));
}
Comment on lines +405 to +417
else if (pEntry->VLANId == -1)
{
/* If the VLANID = -1, the VLAN is a bridge, delete the bridge and delete the interface from the bridge */
if(strcmp(pEntry->BaseInterface, pEntry->Name))
{
//v_secure_system("ifconfig %s down", pEntry->Name);
//v_secure_system("brctl delif %s %s", pEntry->Name, pEntry->BaseInterface);
//v_secure_system("brctl delbr %s", pEntry->Name);
v_secure_system("ip link set %s down", pEntry->Name);
v_secure_system("ip link set %s nomaster", pEntry->BaseInterface);
v_secure_system("ip link delete %s type bridge", pEntry->Name);
}
}
Comment on lines 90 to 93
INT VLANId;
UINT TPId;
UINT macvlan;
CHAR Path[1024];
Copilot AI review requested due to automatic review settings July 15, 2026 11:16

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 6 out of 6 changed files in this pull request and generated 3 comments.

Comment on lines 363 to 367
//Set EthLink to False. it will take care UnTagged Created Vlan Interface
if (Vlan_SetEthLink(pEntry, FALSE, FALSE) == ANSC_STATUS_FAILURE)
if (pEntry->macvlan == 1 && Vlan_SetEthLink(pEntry, FALSE, FALSE) == ANSC_STATUS_FAILURE)
{
CcspTraceError(("%s-%d: Failed to Enable EthLink\n", __FUNCTION__, __LINE__));
}
Comment on lines +405 to +418
else if (pEntry->VLANId == -1)
{
/* If the VLANID = -1, the VLAN is a bridge, delete the bridge and delete the interface from the bridge */
if(strcmp(pEntry->BaseInterface, pEntry->Name))
{
/* Remove interface from bridge */
v_secure_system("ovs-vsctl --if-exists del-port %s",
pEntry->BaseInterface);

/* Delete bridge */
v_secure_system("ovs-vsctl --if-exists del-br %s",
pEntry->Name);
}
}
Comment on lines 90 to 93
INT VLANId;
UINT TPId;
UINT macvlan;
CHAR Path[1024];
Copilot AI review requested due to automatic review settings July 15, 2026 11:24

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 6 out of 6 changed files in this pull request and generated 5 comments.

Vlan_DeleteInterface(pEntry);
#endif
}
else if (pEntry->VLANId == -1)
{
/* If the VLANID = -1 and if MACVLAN config set to zero, the VLAN is a bridge, create the bridge and add the interface to the bridge */
CcspTraceError(("%s-%d: PALAKSHA INSIDE VLAN ID -1 CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
#define MAX_BR_RETRIES 10
Comment on lines +692 to +696
v_secure_system("ovs-vsctl --may-exist add-br %s >>/tmp/ovs.log 2>>/tmp/ovs.log", pEntry->Name);

/* Check whether the bridge exists */
if (v_secure_system("ovs-vsctl br-exists %s >>/tmp/ovs.log 2>>/tmp/ovs.log", pEntry->Name) == 0)
{
else
{
v_secure_system("ovs-vsctl --may-exist add-port %s %s",pEntry->Name,pEntry->BaseInterface);
v_secure_system("ifconfig %s up", pEntry->Name);
Comment on lines +678 to +680
else if (pEntry->VLANId == -1 && pEntry->macvlan == 0)
{
/* If the VLANID = -1 and if MACVLAN config set to zero, the VLAN is a bridge, create the bridge and add the interface to the bridge */
Copilot AI review requested due to automatic review settings July 16, 2026 12: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 6 out of 6 changed files in this pull request and generated 8 comments.

pthread_exit(NULL);
}

CcspTraceError(("%s-%d: PALAKSHA MAIN VLAN_ENABLE VLAN ID CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
pthread_mutex_lock(&vlan_access_mutex);
//Create Vlan Tagged Interface
if(pEntry->VLANId > 0) {
CcspTraceError(("%s-%d: PALAKSHA MAIN VLAN_ENABLE VLAN ID GREATER CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
Vlan_DeleteInterface(pEntry);
#endif
}
else if (pEntry->VLANId == -1)
{
/* If the VLANID = -1 and if MACVLAN config set to zero, the VLAN is a bridge, create the bridge and add the interface to the bridge */
CcspTraceError(("%s-%d: PALAKSHA INSIDE VLAN ID -1 CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
#define MAX_BR_RETRIES 10
Comment on lines +693 to +695
snprintf(buffer, 1028,"ovs-vsctl --may-exist add-br %s >>/tmp/ovs.log 2>>/tmp/ovs.log", pEntry->Name);
system(buffer);
//v_secure_system("ovs-vsctl --may-exist add-br %s >>/tmp/ovs.log 2>>/tmp/ovs.log", pEntry->Name);
Comment on lines +698 to +699
if (v_secure_system("ovs-vsctl br-exists %s >>/tmp/ovs.log 2>>/tmp/ovs.log", pEntry->Name) == 0)
{
else
{
v_secure_system("ovs-vsctl --may-exist add-port %s %s",pEntry->Name,pEntry->BaseInterface);
v_secure_system("ifconfig %s up", pEntry->Name);
CHAR BaseInterface[64];
INT VLANId;
UINT TPId;
UINT macvlan;
Copilot AI review requested due to automatic review settings July 16, 2026 13:34

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 6 out of 6 changed files in this pull request and generated 3 comments.

Comment on lines +618 to +621
v_secure_system("ip link add link %s name %s type vlan id -1", pEntry->Alias , pEntry->Name);

v_secure_system("ip link set %s up", pEntry->Name);

Comment on lines +411 to +412
v_secure_system("ovs-vsctl --if-exists del-port %s",
pEntry->BaseInterface);
Comment on lines 728 to 729
if (Vlan_SetEthLink(pEntry, TRUE, FALSE) == ANSC_STATUS_FAILURE)
{
Copilot AI review requested due to automatic review settings July 16, 2026 13:46

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 6 out of 6 changed files in this pull request and generated 6 comments.

Comment on lines +390 to +395
/* get cfg macvlan from psm */
snprintf( acPSMQuery, sizeof( acPSMQuery ), PSM_VLANMANAGER_MACVLAN, nIndex + 1 );
if ( CCSP_SUCCESS == DmlVlanGetPSMRecordValue( acPSMQuery, acPSMValue ) )
{
pVlan[nIndex].macvlan = atoi(acPSMValue) ;
}
return ANSC_STATUS_FAILURE;
}

v_secure_system("ip link add link %s name %s type vlan id -1", pEntry->Alias , pEntry->Name);
Comment on lines +405 to +410
#if !defined(VLAN_MANAGER_HAL_ENABLED)
else if(pEntry->VLANId == -1)
{
Vlan_DeleteInterface(pEntry);
}
#endif
pthread_exit(NULL);
}

CcspTraceError(("%s-%d: PALAKSHA MAIN VLAN_ENABLE VLAN ID CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
#else
if(pEntry->VLANId > 0 || (pEntry->VLANId == -1 && pEntry->macvlan == 0)) {
#endif
CcspTraceError(("%s-%d: PALAKSHA MAIN VLAN_ENABLE VLAN ID GREATER CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
}
else
{
CcspTraceError(("%s-%d: PALAKSHA INSIDE FULL ELSE CASE calling Vlan_SetEthLink\n", __FUNCTION__, __LINE__));

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 6 out of 6 changed files in this pull request and generated 4 comments.

if(pEntry->VLANId > 0 || (pEntry->VLANId == -1 && pEntry->macvlan == 0)) {
#endif
CcspTraceError(("%s-%d: PALAKSHA MAIN VLAN_ENABLE VLAN ID GREATER CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
if (Vlan_SetEthLink(pEntry, TRUE, TRUE) == ANSC_STATUS_FAILURE)
return ANSC_STATUS_FAILURE;
}

v_secure_system("ip link add link %s name %s type ipvlan mode l2", pEntry->Alias , pEntry->Name);
pVlan[nIndex].TPId = atoi(acPSMValue) ;
}

/* get cfg macvlan from psm */
{
CcspTraceError(("%s-%d: PALAKSHA INSIDE FULL ELSE CASE calling Vlan_SetEthLink\n", __FUNCTION__, __LINE__));
//Enable EthLink and it will take care Creation of UnTagged Vlan Interface.
if (Vlan_SetEthLink(pEntry, TRUE, FALSE) == ANSC_STATUS_FAILURE)
Copilot AI review requested due to automatic review settings July 16, 2026 14:09

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 6 out of 6 changed files in this pull request and generated 6 comments.

pthread_exit(NULL);
}

CcspTraceError(("%s-%d: PALAKSHA MAIN VLAN_ENABLE VLAN ID CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
#else
if(pEntry->VLANId > 0 || (pEntry->VLANId == -1 && pEntry->macvlan == 0)) {
#endif
CcspTraceError(("%s-%d: PALAKSHA MAIN VLAN_ENABLE VLAN ID GREATER CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
}
else
{
CcspTraceError(("%s-%d: PALAKSHA INSIDE FULL ELSE CASE calling Vlan_SetEthLink\n", __FUNCTION__, __LINE__));
if(pEntry->VLANId > 0 || (pEntry->VLANId == -1 && pEntry->macvlan == 0)) {
#endif
CcspTraceError(("%s-%d: PALAKSHA MAIN VLAN_ENABLE VLAN ID GREATER CASE %d %d %s %s\n", __FUNCTION__, __LINE__, pEntry->VLANId,pEntry->macvlan, pEntry->BaseInterface, pEntry->Name));
if (Vlan_SetEthLink(pEntry, TRUE, TRUE) == ANSC_STATUS_FAILURE)
return ANSC_STATUS_FAILURE;
}

v_secure_system("ip link add link %s name %s type ipvlan mode l2", pEntry->Alias , pEntry->Name);
pVlan[nIndex].TPId = atoi(acPSMValue) ;
}

/* get cfg macvlan from psm */
Copilot AI review requested due to automatic review settings July 16, 2026 16:38

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 6 out of 6 changed files in this pull request and generated 2 comments.

Comment on lines +609 to +612

v_secure_system("ip link add link %s name %s type type vlan id 0", pEntry->Alias , pEntry->Name);

v_secure_system("ip link set %s up", pEntry->Name);
}
else
{
CcspTraceError(("%s-%d: PALAKSHA INSIDE FULL ELSE CASE calling Vlan_SetEthLink\n", __FUNCTION__, __LINE__));
Signed-off-by: Palaksha Gowda <palaksha.gowda@sky.uk>
Copilot AI review requested due to automatic review settings July 17, 2026 06:38

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 6 out of 6 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

source/TR-181/middle_layer_src/vlan_apis.c:729

  • When interface creation fails, this function sets pEntry->Status = VLAN_IF_ERROR above, but later it unconditionally sets pEntry->Status = VLAN_IF_UP (a few lines below this hunk), which overwrites the error state. Gate the final UP assignment on successful operations (or on pEntry->Status not already being VLAN_IF_ERROR).
        CcspTraceError(("%s-%d: PALAKSHA INSIDE FULL ELSE CASE calling Vlan_SetEthLink\n", __FUNCTION__, __LINE__));
        //Enable EthLink and it will take care Creation of UnTagged Vlan Interface.
        if (Vlan_SetEthLink(pEntry, TRUE, FALSE) == ANSC_STATUS_FAILURE)
        {
            CcspTraceError(("%s-%d: Failed to Enable EthLink\n", __FUNCTION__, __LINE__));

Comment on lines 89 to 93
CHAR BaseInterface[64];
INT VLANId;
UINT TPId;
UINT macvlan;
CHAR Path[1024];
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