Skip to content

Commit 45cde66

Browse files
yangbolu1991kartben
authored andcommitted
drivers: eth_nxp_imx_netc: initialize vlan control
Initialized vlan control for ENETC. Signed-off-by: Yangbo Lu <[email protected]>
1 parent 190cde1 commit 45cde66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/ethernet/nxp_imx_netc/eth_nxp_imx_netc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ int netc_eth_init_common(const struct device *dev)
314314
ep_config.si = config->si_idx;
315315
ep_config.siConfig.txRingUse = 1;
316316
ep_config.siConfig.rxRingUse = 1;
317+
ep_config.siConfig.vlanCtrl = kNETC_ENETC_StanCVlan | kNETC_ENETC_StanSVlan;
317318
ep_config.userData = data;
318319
ep_config.reclaimCallback = NULL;
319320
ep_config.msixEntry = &msix_entry[0];

0 commit comments

Comments
 (0)