OPNSense/src f2eb6a6sys/dev/vmware/vmxnet3 vmx_netmap.h if_vmx.c

vmx(4): add native netmap support

This change adds native netmap support for the vmx(4) adapter
(vmxnet3). Native support comes for free in 12, since the driver has been
ported to iflib. To make it minimally intrusive, the native support is
only enabled if vmxnet3.netmap_native is set at boot (e.g., in loader.conf).

Tested on stable/11 running inside vmplayer.

Submitted by:   Giuseppe Lettieri <g.lettieri at iet.unipi.it>
Reviewed by:    vmaffione, bryanv
Sponsored by:   Sunny Valley Networks
Differential Revision:  https://reviews.freebsd.org/D19104
DeltaFile
+376-0sys/dev/vmware/vmxnet3/vmx_netmap.h
+57-0sys/dev/vmware/vmxnet3/if_vmx.c
+433-02 files

UnifiedSplitRaw