HomeFreeBSD

netmap: iflib: add nm_config callback

Description

netmap: iflib: add nm_config callback

This per-driver callback is invoked by netmap when it wants
to align the number of TX/RX netmap rings and/or the number of
TX/RX netmap slots to the actual state configured in the hardware.
The alignment happens when netmap mode is switched on (with no
active netmap file descriptors for that netmap port), or when
collecting netmap port information.

MFC after: 1 week

Details

Provenance
you@x <you@x>Authored on Mar 29 2021, 9:26 AM
vmaffioneCommitted on Mar 29 2021, 9:31 AM
Parents
rGb315a7296d2a: sh(1): autocomplete commands
Branches
Unknown
Tags
Unknown