nvethernet: enable vlan tag stripping

Enable VLAN tag stripping in HW.

Bug 200549370

Change-Id: Ib476fa0ca5e7bc4f7c903d8f38e9581975697121
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2192182
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Narayan Reddy
2019-09-07 08:09:55 +05:30
committed by Revanth Kumar Uppala
parent e97dbc8de1
commit 78b4e7b720

View File

@@ -3051,6 +3051,8 @@ static int ether_parse_dt(struct ether_priv_data *pdata)
}
osi_dma->use_riwt = OSI_ENABLE;
}
/* Enable VLAN strip by default */
osi_core->strip_vlan_tag = OSI_ENABLE;
ret = ether_parse_phy_dt(pdata, np);
if (ret < 0) {