HomeFreeBSD

hyperv/hn: Move RXBUF to hn_softc

Description

hyperv/hn: Move RXBUF to hn_softc

And don't recreate RXBUF for each primary channel open, it is now
created in device_attach DEVMETHOD and destroyed in device_detach
DEVMETHOD.

MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7556

Details

Provenance
sepheAuthored on
Differential Revision
D7556: hyperv/hn: Move RXBUF to hn_softc
Parents
rS304446: hyperv/hn: Remove the useless num_channel
Branches
Unknown
Tags
Unknown