Commit 60512346 authored by Tim Gardner's avatar Tim Gardner Committed by Kamal Mostafa

Revert "i40e: fix: do not sleep in netdev_ops"

BugLink: http://bugs.launchpad.net/bugs/1624037

This reverts commit 81739df8.

Misapplied duplicate.
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 607c2152
...@@ -1541,11 +1541,7 @@ static int i40e_set_mac(struct net_device *netdev, void *p) ...@@ -1541,11 +1541,7 @@ static int i40e_set_mac(struct net_device *netdev, void *p)
ether_addr_copy(netdev->dev_addr, addr->sa_data); ether_addr_copy(netdev->dev_addr, addr->sa_data);
/* schedule our worker thread which will take care of return i40e_sync_vsi_filters(vsi);
* applying the new filter changes
*/
i40e_service_event_schedule(vsi->back);
return 0;
} }
/** /**
...@@ -1769,11 +1765,6 @@ static void i40e_set_rx_mode(struct net_device *netdev) ...@@ -1769,11 +1765,6 @@ static void i40e_set_rx_mode(struct net_device *netdev)
vsi->flags |= I40E_VSI_FLAG_FILTER_CHANGED; vsi->flags |= I40E_VSI_FLAG_FILTER_CHANGED;
vsi->back->flags |= I40E_FLAG_FILTER_SYNC; vsi->back->flags |= I40E_FLAG_FILTER_SYNC;
} }
/* schedule our worker thread which will take care of
* applying the new filter changes
*/
i40e_service_event_schedule(vsi->back);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment