HomeFreeBSD

netmap: add kernel support for the "offsets" feature

Description

netmap: add kernel support for the "offsets" feature

This feature enables applications to ask netmap to transmit or
receive packets starting at a user-specified offset from the
beginning of the netmap buffer. This is meant to ease those
packet manipulation operations such as pushing or popping packet
headers, that may be useful to implement software switches,
routers and other packet processors.
To use the feature, drivers (e.g., iflib, vtnet, etc.) must have
explicit support. This change does not add support for any driver,
but introduces the necessary kernel changes. However, offsets support
is already included for VALE ports and pipes.

Details

Provenance
vmaffioneAuthored on Mar 29 2021, 4:22 PM
Parents
rG9d81dd5404b3: ddb: replace watchpoint set/clear functions
Branches
Unknown
Tags
Unknown