diff options
| author | 2017-07-19 11:53:15 -0700 | |
|---|---|---|
| committer | 2017-07-19 22:20:05 -0700 | |
| commit | ea383bf146be1e190f1d696e7db060afa8c93c31 (patch) | |
| tree | a5b3d3109f2435c0a3bc67ae3b4837360cf6f58e /drivers/net/hyperv/hyperv_net.h | |
| parent | netvsc: change order of steps in setting queues (diff) | |
| download | linux-dev-ea383bf146be1e190f1d696e7db060afa8c93c31.tar.xz linux-dev-ea383bf146be1e190f1d696e7db060afa8c93c31.zip | |
netvsc: change logic for change mtu and set_queues
Use device detach/attach to ensure that no packets are handed
to device during state changes. Call rndis_filter_open/close
directly as part of later VF related changes.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv/hyperv_net.h')
| -rw-r--r-- | drivers/net/hyperv/hyperv_net.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index d6c25580f8dd..5d541a1462c2 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -200,6 +200,7 @@ int netvsc_recv_callback(struct net_device *net, const struct ndis_pkt_8021q_info *vlan); void netvsc_channel_cb(void *context); int netvsc_poll(struct napi_struct *napi, int budget); +bool rndis_filter_opened(const struct netvsc_device *nvdev); int rndis_filter_open(struct netvsc_device *nvdev); int rndis_filter_close(struct netvsc_device *nvdev); int rndis_filter_device_add(struct hv_device *dev, |
