commit | ae6935ed7d424ffa74d634da00767e7b03c98fd3 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Fri Sep 14 09:10:17 2018 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 25 20:33:24 2018 +0200 |
tree | d26a4096301a8555277b50eb9741bcb978a308b2 | |
parent | 52a42c2a90226dc61c99bbd0cb096deeb52c334b [diff] |
vmbus: split ring buffer allocation from open The UIO driver needs the ring buffer to be persistent(reused) across open/close. Split the allocation and setup of ring buffer out of vmbus_open. For normal usage vmbus_open/vmbus_close there are no changes; only impacts uio_hv_generic which needs to keep ring buffer memory and reuse when application restarts. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>