OPNSense/src 63bafd8sys/dev/netmap netmap.c netmap_kern.h

MFC r342300

netmap: move buf_size validation code to its own function

This code validates the netmap buf_size against the interface MTU
and maximum descriptor size, to make sure the values are consistent.
Moving this functionality to its own function is needed because this
function is also called by Linux-specific code.
DeltaFile
+52-42sys/dev/netmap/netmap.c
+1-0sys/dev/netmap/netmap_kern.h
+53-422 files

UnifiedSplitRaw