mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
nvethernet: support for ethtool
Adds support for basic ethtool operations - o get link propeties o change speed/duplex Bug 200512251 Change-Id: I1c754deff7c399db215f3803468c4c1513bf0988 Signed-off-by: Bhadram Varka <vbhadram@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2080716 GVS: Gerrit_Virtual_Submit Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com> Reviewed-by: Ashutosh Jha <ajha@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
ec95665467
commit
6e9c58de03
@@ -2036,6 +2036,8 @@ static int ether_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
ndev->netdev_ops = ðer_netdev_ops;
|
||||
ether_set_ethtool_ops(ndev);
|
||||
|
||||
ndev->hw_features |= NETIF_F_HW_VLAN_CTAG_RX;
|
||||
if (pdata->hw_feat.sa_vlan_ins) {
|
||||
ndev->hw_features |= NETIF_F_HW_VLAN_CTAG_TX;
|
||||
|
||||
Reference in New Issue
Block a user