Re: [RFC 0/2] hv_netvsc shutdown redo

2018-01-27 Thread Stephen Hemminger
On Sat, 27 Jan 2018 21:00:12 + Haiyang Zhang wrote: > In the functions, set_channels and change_mtu, we used to call netvsc_close > which has a wait for ring buffers to drain. Now, we call rndis_filter_close() > directly without the wait for rings to drain. Could this be a problem? > rndi

Re: [RFC 0/2] hv_netvsc shutdown redo

2018-01-27 Thread Vitaly Kuznetsov
Stephen Hemminger writes: > These patches change how teardown of Hyper-V network devices > is done. These are tested on WS2012 and WS2016. > > It moves the tx/rx shutdown into the rndis close handling, > and that makes earlier gpadl changes unnecsssary. > Thank you Stephen, I gave these a try a

[RFC 0/2] hv_netvsc shutdown redo

2018-01-26 Thread Stephen Hemminger
These patches change how teardown of Hyper-V network devices is done. These are tested on WS2012 and WS2016. It moves the tx/rx shutdown into the rndis close handling, and that makes earlier gpadl changes unnecsssary. Stephen Hemminger (2): hv_netvsc: make sure device is idle before changes R