HomeFreeBSD

hyperv/hn: Allocate bufrings in attach DEVMETHOD.

Description

hyperv/hn: Allocate bufrings in attach DEVMETHOD.

So that reinitialization, e.g. MTU change, will not fail when the system
memory is excessively fragmented.

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

Details

Provenance
sepheAuthored on
Differential Revision
D7961: hyperv/hn: Allocate bufrings in attach DEVMETHOD.
Parents
rS306072: hyperv/vmbus: Allow bufrings preallocation.
Branches
Unknown
Tags
Unknown