]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libnetmap: add support for the offset features
authorVincenzo Maffione <vmaffione@FreeBSD.org>
Mon, 29 Mar 2021 16:38:37 +0000 (16:38 +0000)
committerVincenzo Maffione <vmaffione@FreeBSD.org>
Mon, 29 Mar 2021 16:38:37 +0000 (16:38 +0000)
commitf8113f0a65ada9367bcbfa6e0d5d8a8451dd8ac2
tree0d956a6900b762f54bd129a636b8468d59e5159b
parent660a47cb991d5a7ca69cd8dd9c09a5288d49e405
libnetmap: add support for the offset features

The companion libnetmap changes for the "offsets" kernel support added
in a6d768d845c173823785c. This includes code to parse the "@offset=NNN"
option that can be appended to the port name by any nmport_* application.
Example:
   # pkt-gen -i 'netmap:em0@offset=16'
lib/libnetmap/libnetmap.h
lib/libnetmap/nmctx.c
lib/libnetmap/nmport.c
lib/libnetmap/nmreq.c