mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 10:42:21 +03:00
nvethernet: T264 Enable 20 VDMA channel support
Ported from - https://git-master.nvidia.com/r/c/nvethernet-docs/+/2940794 Bug 4043836 Change-Id: I763bfdaa78082de035219e10ef1c131bdbba5e35 Signed-off-by: Mahesh Patil <maheshp@nvidia.com>
This commit is contained in:
committed by
Bhadram Varka
parent
e44802987e
commit
5edac49a28
@@ -562,9 +562,11 @@ static int ether_config_l2_filters(struct net_device *dev,
|
||||
return ret;
|
||||
}
|
||||
|
||||
if (osi_core->use_virtualization == OSI_DISABLE) {
|
||||
dev_err(pdata->dev, "%s Ethernet virualization is not enabled\n", __func__);
|
||||
return ret;
|
||||
if (osi_core->pre_sil != OSI_ENABLE) {
|
||||
if (osi_core->use_virtualization == OSI_DISABLE) {
|
||||
dev_err(pdata->dev, "%s Ethernet virualization is not enabled\n", __func__);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
if (copy_from_user(&u_l2_filter, (void __user *)ifdata->ptr,
|
||||
sizeof(struct ether_l2_filter)) != 0U) {
|
||||
|
||||
Reference in New Issue
Block a user