HomeFreeBSD

hyperv/hn: Make # of rings configurable

Description

hyperv/hn: Make # of rings configurable

And since the host may not being able to allocate the # of rings
requested by us, save the # of rings allocated by the host in the
ring_inuse counters; use ring_inuse counters for run time operation.

This paves the way for the upcoming vRSS support.

MFC after: 1 week
Sponsored by: Microsoft OSTC

Details

Provenance
sepheAuthored on
Parents
rS296304: Use m_catpkt(9) to ensure that pkthdr fields are updated properly.
Branches
Unknown
Tags
Unknown