nvethernet: remove dev_set_rx_mode() from resume path

Issue: TOT build breaks if nvethernet driver build as loadable
kernel module. dev_set_rx_mode() API is not having EXPORT_SYMBOL
declaration.

Fix: remove calling dev_set_rx_mode() form resume path.

Bug 2715384

Change-Id: Iac0d0555c699d2bc13d61cc680f44e5ee6dc4d2d
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2231329
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Rakesh Goyal
2019-11-04 12:05:13 +05:30
committed by Revanth Kumar Uppala
parent c45ba21f05
commit 2bf3b730d8

View File

@@ -3715,8 +3715,6 @@ static int ether_resume(struct ether_priv_data *pdata)
osi_start_mac(osi_core); osi_start_mac(osi_core);
/* start phy */ /* start phy */
phy_start(pdata->phydev); phy_start(pdata->phydev);
/* call dev_set_rx_mode so it will be serialized and avoid race*/
dev_set_rx_mode(ndev);
/* start network queues */ /* start network queues */
netif_tx_start_all_queues(ndev); netif_tx_start_all_queues(ndev);
/* re-start workqueue */ /* re-start workqueue */